comparison libswscale/swscale_internal.h @ 26151:5884743208b6

change sws_format_name to return const char*, supress many warnings
author bcoudurier
date Thu, 06 Mar 2008 11:32:25 +0000
parents 94cc4bac8cd0
children 9ca242299b22
comparison
equal deleted inserted replaced
26150:1df4a811aa9c 26151:5884743208b6
191 void altivec_yuv2packedX (SwsContext *c, 191 void altivec_yuv2packedX (SwsContext *c,
192 int16_t *lumFilter, int16_t **lumSrc, int lumFilterSize, 192 int16_t *lumFilter, int16_t **lumSrc, int lumFilterSize,
193 int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize, 193 int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize,
194 uint8_t *dest, int dstW, int dstY); 194 uint8_t *dest, int dstW, int dstY);
195 195
196 char *sws_format_name(int format); 196 const char *sws_format_name(int format);
197 197
198 //FIXME replace this with something faster 198 //FIXME replace this with something faster
199 #define isPlanarYUV(x) ( \ 199 #define isPlanarYUV(x) ( \
200 (x)==PIX_FMT_YUV410P \ 200 (x)==PIX_FMT_YUV410P \
201 || (x)==PIX_FMT_YUV420P \ 201 || (x)==PIX_FMT_YUV420P \