|
|
@ -454,17 +454,17 @@ typedef struct DSPContext { |
|
|
|
/* ape functions */ |
|
|
|
/* ape functions */ |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Add contents of the second vector to the first one. |
|
|
|
* Add contents of the second vector to the first one. |
|
|
|
* @param len length of vectors, should be multiple of 8 |
|
|
|
* @param len length of vectors, should be multiple of 16 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
void (*add_int16)(int16_t *v1/*align 16*/, int16_t *v2, int len); |
|
|
|
void (*add_int16)(int16_t *v1/*align 16*/, int16_t *v2, int len); |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Add contents of the second vector to the first one. |
|
|
|
* Add contents of the second vector to the first one. |
|
|
|
* @param len length of vectors, should be multiple of 8 |
|
|
|
* @param len length of vectors, should be multiple of 16 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
void (*sub_int16)(int16_t *v1/*align 16*/, int16_t *v2, int len); |
|
|
|
void (*sub_int16)(int16_t *v1/*align 16*/, int16_t *v2, int len); |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Calculate scalar product of two vectors. |
|
|
|
* Calculate scalar product of two vectors. |
|
|
|
* @param len length of vectors, should be multiple of 8 |
|
|
|
* @param len length of vectors, should be multiple of 16 |
|
|
|
* @param shift number of bits to discard from product |
|
|
|
* @param shift number of bits to discard from product |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
int32_t (*scalarproduct_int16)(int16_t *v1, int16_t *v2/*align 16*/, int len, int shift); |
|
|
|
int32_t (*scalarproduct_int16)(int16_t *v1, int16_t *v2/*align 16*/, int len, int shift); |
|
|
|