Revision b1159ad9 libavcodec/dsputil.h
libavcodec/dsputil.h | ||
---|---|---|
560 | 560 |
void (*x8_setup_spatial_compensation)(uint8_t *src, uint8_t *dst, int linesize, |
561 | 561 |
int * range, int * sum, int edges); |
562 | 562 |
|
563 |
/* ape functions */ |
|
564 |
/** |
|
565 |
* Add contents of the second vector to the first one. |
|
566 |
* @param len length of vectors, should be multiple of 16 |
|
567 |
*/ |
|
568 |
void (*add_int16)(int16_t *v1/*align 16*/, int16_t *v2, int len); |
|
569 |
/** |
|
570 |
* Add contents of the second vector to the first one. |
|
571 |
* @param len length of vectors, should be multiple of 16 |
|
572 |
*/ |
|
573 |
void (*sub_int16)(int16_t *v1/*align 16*/, int16_t *v2, int len); |
|
574 | 563 |
/** |
575 | 564 |
* Calculate scalar product of two vectors. |
576 | 565 |
* @param len length of vectors, should be multiple of 16 |
577 | 566 |
* @param shift number of bits to discard from product |
578 | 567 |
*/ |
579 | 568 |
int32_t (*scalarproduct_int16)(int16_t *v1, int16_t *v2/*align 16*/, int len, int shift); |
569 |
/* ape functions */ |
|
570 |
/** |
|
571 |
* Calculate scalar product of v1 and v2, |
|
572 |
* and v1[i] += v3[i] * mul |
|
573 |
* @param len length of vectors, should be multiple of 16 |
|
574 |
*/ |
|
575 |
int32_t (*scalarproduct_and_madd_int16)(int16_t *v1/*align 16*/, int16_t *v2, int16_t *v3, int len, int mul); |
|
580 | 576 |
|
581 | 577 |
/* rv30 functions */ |
582 | 578 |
qpel_mc_func put_rv30_tpel_pixels_tab[4][16]; |
Also available in: Unified diff