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
pull/126/head
Kostya Shishkov 17 years ago
parent 5b8cc860a1
commit bb68f8a2b6
  1. 6
      libavcodec/dsputil.h

@ -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);

Loading…
Cancel
Save