comparison dsputil.h @ 7232:cc55dd004819 libavcodec

Monkey's Audio decoder vector functions work on input with length a multiple of 16. Reflect that fact in the documentation for them.
author kostya
date Thu, 10 Jul 2008 06:15:13 +0000
parents 7f3d6509628b
children 032a49f033e8
comparison
equal deleted inserted replaced
7231:21f5d934ccbd 7232:cc55dd004819
452 int * range, int * sum, int edges); 452 int * range, int * sum, int edges);
453 453
454 /* ape functions */ 454 /* ape functions */
455 /** 455 /**
456 * Add contents of the second vector to the first one. 456 * Add contents of the second vector to the first one.
457 * @param len length of vectors, should be multiple of 8 457 * @param len length of vectors, should be multiple of 16
458 */ 458 */
459 void (*add_int16)(int16_t *v1/*align 16*/, int16_t *v2, int len); 459 void (*add_int16)(int16_t *v1/*align 16*/, int16_t *v2, int len);
460 /** 460 /**
461 * Add contents of the second vector to the first one. 461 * Add contents of the second vector to the first one.
462 * @param len length of vectors, should be multiple of 8 462 * @param len length of vectors, should be multiple of 16
463 */ 463 */
464 void (*sub_int16)(int16_t *v1/*align 16*/, int16_t *v2, int len); 464 void (*sub_int16)(int16_t *v1/*align 16*/, int16_t *v2, int len);
465 /** 465 /**
466 * Calculate scalar product of two vectors. 466 * Calculate scalar product of two vectors.
467 * @param len length of vectors, should be multiple of 8 467 * @param len length of vectors, should be multiple of 16
468 * @param shift number of bits to discard from product 468 * @param shift number of bits to discard from product
469 */ 469 */
470 int32_t (*scalarproduct_int16)(int16_t *v1, int16_t *v2/*align 16*/, int len, int shift); 470 int32_t (*scalarproduct_int16)(int16_t *v1, int16_t *v2/*align 16*/, int len, int shift);
471 } DSPContext; 471 } DSPContext;
472 472