Commit d029a585 authored by michael's avatar michael

Add macro to check for 16bit per sample.


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@29215 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 63f40d2c
......@@ -291,6 +291,10 @@ void ff_yuv2packedX_altivec(SwsContext *c,
const char *sws_format_name(int format);
//FIXME replace this with something faster
#define is16BPS(x) ( \
(x)==PIX_FMT_GRAY16BE \
|| (x)==PIX_FMT_GRAY16LE \
)
#define isBE(x) ((x)&1)
#define isPlanarYUV(x) ( \
(x)==PIX_FMT_YUV410P \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment