Commit bb68f8a2 authored by Kostya Shishkov's avatar Kostya Shishkov

Monkey's Audio decoder vector functions work on input with length

a multiple of 16. Reflect that fact in the documentation for them.

Originally committed as revision 14148 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5b8cc860
...@@ -454,17 +454,17 @@ typedef struct DSPContext { ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment