提交 714f32bf 编写于 作者: M Michael Niedermayer

Add macro to check for 16bit per sample.

Originally committed as revision 29215 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
上级 b87fae9f
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册