aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-12-08 04:29:11 +0000
committerDiego Biurrun <diego@biurrun.de>2007-12-08 04:29:11 +0000
commitc95a3a9fbf3552a388d340fae453782bb2614f0e (patch)
tree6d0bbf1620c2cfa723065a406a43a847fc13cdf5
parent4706949c6d7a7c14c5b82bef10fcee1c0da8a9a2 (diff)
downloadffmpeg-c95a3a9fbf3552a388d340fae453782bb2614f0e.tar.gz
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’ Originally committed as revision 25319 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r--libswscale/swscale_internal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index fe14b129a6..6f15fc133f 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -183,6 +183,13 @@ typedef struct SwsContext{
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