diff options
author | Ben Littler <tempn@twmi.rr.com> | 2009-10-27 15:57:28 +0000 |
---|---|---|
committer | Ben Littler <tempn@twmi.rr.com> | 2009-10-27 15:57:28 +0000 |
commit | 9853bbb21a19d540850de60d3e9cf7c6ef9da7dc (patch) | |
tree | ac3ea091f0124fbf3fd9f806d84ce452e6d549e9 | |
parent | ff54bb975a1f3cf82b69bc3903875f48f7755a4e (diff) | |
download | ffmpeg-9853bbb21a19d540850de60d3e9cf7c6ef9da7dc.tar.gz |
add some raw codec fourccs, fixes:
samples/V-codecs/
P422.AVI
UYNV.AVI
UYNY.AVI
V422.AVI
YUNV.AVI
Originally committed as revision 20379 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/raw.c | 7 | ||||
-rw-r--r-- | libavformat/riff.c | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c index 1f60477aef..48b2093779 100644 --- a/libavcodec/raw.c +++ b/libavcodec/raw.c @@ -35,14 +35,21 @@ const PixelFormatTag ff_raw_pixelFormatTags[] = { { PIX_FMT_YUV410P, MKTAG('Y', 'V', 'U', '9') }, { PIX_FMT_YUV411P, MKTAG('Y', '4', '1', 'B') }, { PIX_FMT_YUV422P, MKTAG('Y', '4', '2', 'B') }, + { PIX_FMT_YUV422P, MKTAG('P', '4', '2', '2') }, { PIX_FMT_GRAY8, MKTAG('Y', '8', '0', '0') }, { PIX_FMT_GRAY8, MKTAG(' ', ' ', 'Y', '8') }, { PIX_FMT_YUYV422, MKTAG('Y', 'U', 'Y', '2') }, /* Packed formats */ { PIX_FMT_YUYV422, MKTAG('Y', '4', '2', '2') }, + { PIX_FMT_YUYV422, MKTAG('V', '4', '2', '2') }, + { PIX_FMT_YUYV422, MKTAG('Y', 'U', 'N', 'V') }, { PIX_FMT_UYVY422, MKTAG('U', 'Y', 'V', 'Y') }, { PIX_FMT_UYVY422, MKTAG('H', 'D', 'Y', 'C') }, + { PIX_FMT_UYVY422, MKTAG('U', 'Y', 'N', 'V') }, + { PIX_FMT_UYVY422, MKTAG('U', 'Y', 'N', 'Y') }, + { PIX_FMT_UYVY422, MKTAG('u', 'y', 'v', '1') }, + { PIX_FMT_UYVY422, MKTAG('2', 'V', 'u', '1') }, { PIX_FMT_GRAY8, MKTAG('G', 'R', 'E', 'Y') }, { PIX_FMT_RGB555, MKTAG('R', 'G', 'B', 15) }, { PIX_FMT_BGR555, MKTAG('B', 'G', 'R', 15) }, diff --git a/libavformat/riff.c b/libavformat/riff.c index 74d3908b69..ffc15ded5f 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -141,6 +141,13 @@ const AVCodecTag ff_codec_bmp_tags[] = { { CODEC_ID_RAWVIDEO, MKTAG('I', '4', '2', '0') }, { CODEC_ID_RAWVIDEO, MKTAG('Y', 'U', 'Y', '2') }, { CODEC_ID_RAWVIDEO, MKTAG('Y', '4', '2', '2') }, + { CODEC_ID_RAWVIDEO, MKTAG('V', '4', '2', '2') }, + { CODEC_ID_RAWVIDEO, MKTAG('Y', 'U', 'N', 'V') }, + { CODEC_ID_RAWVIDEO, MKTAG('U', 'Y', 'N', 'V') }, + { CODEC_ID_RAWVIDEO, MKTAG('U', 'Y', 'N', 'Y') }, + { CODEC_ID_RAWVIDEO, MKTAG('u', 'y', 'v', '1') }, + { CODEC_ID_RAWVIDEO, MKTAG('2', 'V', 'u', '1') }, + { CODEC_ID_RAWVIDEO, MKTAG('P', '4', '2', '2') }, { CODEC_ID_RAWVIDEO, MKTAG('Y', 'V', '1', '2') }, { CODEC_ID_RAWVIDEO, MKTAG('U', 'Y', 'V', 'Y') }, { CODEC_ID_RAWVIDEO, MKTAG('I', 'Y', 'U', 'V') }, |