mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
add isBE()
Originally committed as revision 29212 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
46ff7a5f4a
commit
c3dc6c5a6b
@ -291,6 +291,7 @@ void ff_yuv2packedX_altivec(SwsContext *c,
|
||||
const char *sws_format_name(int format);
|
||||
|
||||
//FIXME replace this with something faster
|
||||
#define isBE(x) ((x)&1)
|
||||
#define isPlanarYUV(x) ( \
|
||||
(x)==PIX_FMT_YUV410P \
|
||||
|| (x)==PIX_FMT_YUV420P \
|
||||
|
Loading…
Reference in New Issue
Block a user