Mercurial > libavcodec.hg
comparison ppc/gmc_altivec.c @ 1064:b32afefe7d33 libavcodec
* UINTX -> uintx_t INTX -> intx_t
author | kabi |
---|---|
date | Tue, 11 Feb 2003 16:35:48 +0000 |
parents | b4172ff70d27 |
children | f3152eb76f1a |
comparison
equal
deleted
inserted
replaced
1063:fdeac9642346 | 1064:b32afefe7d33 |
---|---|
24 | 24 |
25 /* | 25 /* |
26 altivec-enhanced gmc1. ATM this code assume stride is a multiple of 8, | 26 altivec-enhanced gmc1. ATM this code assume stride is a multiple of 8, |
27 to preserve proper dst alignement. | 27 to preserve proper dst alignement. |
28 */ | 28 */ |
29 void gmc1_altivec(UINT8 *dst /* align 8 */, UINT8 *src /* align1 */, int stride, int h, int x16, int y16, int rounder) | 29 void gmc1_altivec(uint8_t *dst /* align 8 */, uint8_t *src /* align1 */, int stride, int h, int x16, int y16, int rounder) |
30 { | 30 { |
31 POWERPC_TBL_DECLARE(altivec_gmc1_num, h == 8); | 31 POWERPC_TBL_DECLARE(altivec_gmc1_num, h == 8); |
32 #ifdef ALTIVEC_USE_REFERENCE_C_CODE | 32 #ifdef ALTIVEC_USE_REFERENCE_C_CODE |
33 const int A=(16-x16)*(16-y16); | 33 const int A=(16-x16)*(16-y16); |
34 const int B=( x16)*(16-y16); | 34 const int B=( x16)*(16-y16); |