aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-05-14 14:21:06 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-05-14 14:21:06 +0000
commited70a5099eab05393633617e0a8e3bd41dcab745 (patch)
tree8f63b9ba6bc03c5536d25dd774ce6f30c3910c2a
parent5e0c720a4e6aba7388e97e7d75ca4d88b28788f6 (diff)
downloadffmpeg-ed70a5099eab05393633617e0a8e3bd41dcab745.tar.gz
add quicktime uncompressed 8bit 4:2:2 support
Originally committed as revision 5379 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/raw.c3
-rw-r--r--libavformat/mov.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index 4760d4a8eb..e777397feb 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -50,6 +50,9 @@ const PixelFormatTag pixelFormatTags[] = {
{ PIX_FMT_UYVY422, MKTAG('U', 'Y', 'V', 'Y') },
{ PIX_FMT_GRAY8, MKTAG('G', 'R', 'E', 'Y') },
+ /* quicktime */
+ { PIX_FMT_UYVY422, MKTAG('2', 'v', 'u', 'y') },
+
{ -1, 0 },
};
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 1c32d3a5f1..ade4168ee4 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -152,6 +152,7 @@ static const CodecTag mov_video_tags[] = {
{ CODEC_ID_DVVIDEO, MKTAG('d', 'v', '5', 'n') }, /* DVCPRO50 NTSC produced by FCP */
{ CODEC_ID_DVVIDEO, MKTAG('A', 'V', 'd', 'v') }, /* AVID DV */
//{ CODEC_ID_JPEG2000, MKTAG('m', 'j', 'p', '2') }, /* JPEG 2000 produced by FCP */
+ { CODEC_ID_RAWVIDEO, MKTAG('2', 'v', 'u', 'y') }, /* UNCOMPRESSED 8BIT 4:2:2 */
{ CODEC_ID_NONE, 0 },
};