Revision 3f7bb50c postproc/swscale.c

View differences:

postproc/swscale.c
102 102
//FIXME replace this with something faster
103 103
#define isPlanarYUV(x) ((x)==IMGFMT_YV12 || (x)==IMGFMT_I420 || (x)==IMGFMT_YVU9)
104 104
#define isYUV(x)       ((x)==IMGFMT_YUY2 || isPlanarYUV(x))
105
#define isHalfChrV(x)  ((x)==IMGFMT_YV12 || (x)==IMGFMT_I420)
106
#define isHalfChrH(x)  ((x)==IMGFMT_YUY2 || (x)==IMGFMT_YV12 || (x)==IMGFMT_I420)
107 105
#define isGray(x)      ((x)==IMGFMT_Y800)
108 106
#define isSupportedIn(x)  ((x)==IMGFMT_YV12 || (x)==IMGFMT_I420 || (x)==IMGFMT_YUY2 \
109 107
			|| (x)==IMGFMT_BGR32|| (x)==IMGFMT_BGR24|| (x)==IMGFMT_BGR16|| (x)==IMGFMT_BGR15\

Also available in: Unified diff