Commit 1a5bcc45 authored by kostya's avatar kostya

Those functions input length is a multiple of 16.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14148 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 73bc5624
...@@ -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