comparison libswscale/swscale_internal.h @ 29171:091f16266a60

add isBE()
author michael
date Mon, 20 Apr 2009 21:04:55 +0000
parents cd5d58b02153
children d467f9cc89c6
comparison
equal deleted inserted replaced
29170:9d40283d9a5d 29171:091f16266a60
289 uint8_t *dest, int dstW, int dstY); 289 uint8_t *dest, int dstW, int dstY);
290 290
291 const char *sws_format_name(int format); 291 const char *sws_format_name(int format);
292 292
293 //FIXME replace this with something faster 293 //FIXME replace this with something faster
294 #define isBE(x) ((x)&1)
294 #define isPlanarYUV(x) ( \ 295 #define isPlanarYUV(x) ( \
295 (x)==PIX_FMT_YUV410P \ 296 (x)==PIX_FMT_YUV410P \
296 || (x)==PIX_FMT_YUV420P \ 297 || (x)==PIX_FMT_YUV420P \
297 || (x)==PIX_FMT_YUVA420P \ 298 || (x)==PIX_FMT_YUVA420P \
298 || (x)==PIX_FMT_YUV411P \ 299 || (x)==PIX_FMT_YUV411P \