Mercurial > mplayer.hg
comparison libswscale/swscale_internal.h @ 29174:d467f9cc89c6
Add macro to check for 16bit per sample.
author | michael |
---|---|
date | Tue, 21 Apr 2009 00:03:00 +0000 |
parents | 091f16266a60 |
children | d18426e37f13 |
comparison
equal
deleted
inserted
replaced
29173:dbf9cf2438b0 | 29174:d467f9cc89c6 |
---|---|
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 is16BPS(x) ( \ | |
295 (x)==PIX_FMT_GRAY16BE \ | |
296 || (x)==PIX_FMT_GRAY16LE \ | |
297 ) | |
294 #define isBE(x) ((x)&1) | 298 #define isBE(x) ((x)&1) |
295 #define isPlanarYUV(x) ( \ | 299 #define isPlanarYUV(x) ( \ |
296 (x)==PIX_FMT_YUV410P \ | 300 (x)==PIX_FMT_YUV410P \ |
297 || (x)==PIX_FMT_YUV420P \ | 301 || (x)==PIX_FMT_YUV420P \ |
298 || (x)==PIX_FMT_YUVA420P \ | 302 || (x)==PIX_FMT_YUVA420P \ |