Mercurial > mplayer.hg
comparison libswscale/swscale_internal.h @ 25291:c48b33da31d3
Add missing declarations for AltiVec functions, fixes the warnings:
swscale_template.c:1171: warning: implicit declaration of function ¡Æaltivec_yuv2packedX¡Ç
swscale.c:1982: warning: implicit declaration of function ¡Æyuv2rgb_altivec_init_tables¡Ç
yuv2rgb.c:652: warning: implicit declaration of function ¡Æyuv2rgb_init_altivec¡Ç
author | diego |
---|---|
date | Sat, 08 Dec 2007 04:29:11 +0000 |
parents | 831fbe89f76b |
children | 0926055fe5b8 |
comparison
equal
deleted
inserted
replaced
25290:2502d1944968 | 25291:c48b33da31d3 |
---|---|
180 } SwsContext; | 180 } SwsContext; |
181 //FIXME check init (where 0) | 181 //FIXME check init (where 0) |
182 | 182 |
183 SwsFunc yuv2rgb_get_func_ptr (SwsContext *c); | 183 SwsFunc yuv2rgb_get_func_ptr (SwsContext *c); |
184 int yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation); | 184 int yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation); |
185 | |
186 void yuv2rgb_altivec_init_tables (SwsContext *c, const int inv_table[4],int brightness,int contrast, int saturation); | |
187 SwsFunc yuv2rgb_init_altivec (SwsContext *c); | |
188 void altivec_yuv2packedX (SwsContext *c, | |
189 int16_t *lumFilter, int16_t **lumSrc, int lumFilterSize, | |
190 int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize, | |
191 uint8_t *dest, int dstW, int dstY); | |
185 | 192 |
186 char *sws_format_name(int format); | 193 char *sws_format_name(int format); |
187 | 194 |
188 //FIXME replace this with something faster | 195 //FIXME replace this with something faster |
189 #define isPlanarYUV(x) ( \ | 196 #define isPlanarYUV(x) ( \ |