#include <inttypes.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include <assert.h>#include "spandsp/telephony.h"#include "spandsp/logging.h"#include "spandsp/vector_int.h"Functions | |
| int32_t | vec_dot_prodi16 (const int16_t x[], const int16_t y[], int n) |
| int32_t | vec_min_maxi16 (const int16_t x[], int n, int16_t out[]) |
| Find the minimum and maximum values in a vector. | |
| int32_t vec_min_maxi16 | ( | const int16_t | x[], | |
| int | n, | |||
| int16_t | out[] | |||
| ) |
Find the minimum and maximum values in a vector.
| x | The vector to be searched. | |
| n | The number of elements in the vetor. | |
| result | A two element vector. The first will receive the maximum. The second will receive thw minimum. This parameter may be set to NULL. |
1.5.2