comparison raw.c @ 11695:2912f70b4e71 libavcodec

Make the codec tags for the yuvjXXX pixel formats the same as the corresponding ones for the yuvXXX pixel formats.
author stefano
date Sun, 09 May 2010 23:04:01 +0000
parents 5e8fdcac294e
children 9519a0e8cec6
comparison
equal deleted inserted replaced
11694:5e8fdcac294e 11695:2912f70b4e71
34 { PIX_FMT_YUV410P, MKTAG('Y', 'U', 'V', '9') }, 34 { PIX_FMT_YUV410P, MKTAG('Y', 'U', 'V', '9') },
35 { PIX_FMT_YUV410P, MKTAG('Y', 'V', 'U', '9') }, 35 { PIX_FMT_YUV410P, MKTAG('Y', 'V', 'U', '9') },
36 { PIX_FMT_YUV411P, MKTAG('Y', '4', '1', 'B') }, 36 { PIX_FMT_YUV411P, MKTAG('Y', '4', '1', 'B') },
37 { PIX_FMT_YUV422P, MKTAG('Y', '4', '2', 'B') }, 37 { PIX_FMT_YUV422P, MKTAG('Y', '4', '2', 'B') },
38 { PIX_FMT_YUV422P, MKTAG('P', '4', '2', '2') }, 38 { PIX_FMT_YUV422P, MKTAG('P', '4', '2', '2') },
39 /* yuvjXXX formats are deprecated hacks specific to libav*,
40 they are identical to yuvXXX */
41 { PIX_FMT_YUVJ420P, MKTAG('I', '4', '2', '0') }, /* Planar formats */
42 { PIX_FMT_YUVJ420P, MKTAG('I', 'Y', 'U', 'V') },
43 { PIX_FMT_YUVJ420P, MKTAG('Y', 'V', '1', '2') },
44 { PIX_FMT_YUVJ422P, MKTAG('Y', '4', '2', 'B') },
45 { PIX_FMT_YUVJ422P, MKTAG('P', '4', '2', '2') },
39 { PIX_FMT_GRAY8, MKTAG('Y', '8', '0', '0') }, 46 { PIX_FMT_GRAY8, MKTAG('Y', '8', '0', '0') },
40 { PIX_FMT_GRAY8, MKTAG(' ', ' ', 'Y', '8') }, 47 { PIX_FMT_GRAY8, MKTAG(' ', ' ', 'Y', '8') },
41 48
42 49
43 { PIX_FMT_YUYV422, MKTAG('Y', 'U', 'Y', '2') }, /* Packed formats */ 50 { PIX_FMT_YUYV422, MKTAG('Y', 'U', 'Y', '2') }, /* Packed formats */