Browse Source

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
tags/v0.5
Kostya Shishkov 17 years ago
parent
commit
bb68f8a2b6
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavcodec/dsputil.h

+ 3
- 3
libavcodec/dsputil.h View File

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