Mercurial > mplayer.hg
changeset 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 | 2502d1944968 |
children | a6a49a7a4be0 |
files | libswscale/swscale_internal.h |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/swscale_internal.h Sat Dec 08 02:57:50 2007 +0000 +++ b/libswscale/swscale_internal.h Sat Dec 08 04:29:11 2007 +0000 @@ -183,6 +183,13 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext *c); int yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation); +void yuv2rgb_altivec_init_tables (SwsContext *c, const int inv_table[4],int brightness,int contrast, int saturation); +SwsFunc yuv2rgb_init_altivec (SwsContext *c); +void altivec_yuv2packedX (SwsContext *c, + int16_t *lumFilter, int16_t **lumSrc, int lumFilterSize, + int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize, + uint8_t *dest, int dstW, int dstY); + char *sws_format_name(int format); //FIXME replace this with something faster