Revision 6cbac7ed

View differences:

libswscale/swscale.c
116 116
			|| (x)==PIX_FMT_NV12 || (x)==PIX_FMT_NV21\
117 117
			|| (x)==PIX_FMT_GRAY16BE || (x)==PIX_FMT_GRAY16LE\
118 118
			|| (x)==PIX_FMT_GRAY8 || (x)==PIX_FMT_YUV410P)
119
#define isPacked(x)    ((x)==PIX_FMT_YUYV422 || (x)==PIX_FMT_UYVY422 ||isRGB(x) || isBGR(x))
119
#define isPacked(x)    ((x)==PIX_FMT_PAL8 || (x)==PIX_FMT_YUYV422 ||\
120
                        (x)==PIX_FMT_UYVY422 || isRGB(x) || isBGR(x))
120 121

  
121 122
#define RGB2YUV_SHIFT 16
122 123
#define BY ((int)( 0.098*(1<<RGB2YUV_SHIFT)+0.5))

Also available in: Unified diff