aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Bandurski <ami_stuff@o2.pl>2012-06-05 12:13:39 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-06-05 12:13:39 +0200
commita489db6cde48ed03c370a2f71b1be1e3485bc5db (patch)
tree21da8cfcece66e1dad867763a195a7ab9635765e
parent1488c4dc0bbd64a4452ec408ad1c01a121daad76 (diff)
downloadffmpeg-a489db6cde48ed03c370a2f71b1be1e3485bc5db.tar.gz
isom: add Radius DV YUV FourCCs
-rw-r--r--libavcodec/raw.c2
-rw-r--r--libavformat/isom.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index 4b84242f3f..8919a65408 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -135,6 +135,8 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
{ PIX_FMT_GRAY8A, MKTAG('Y', '2', 0 , 8 ) },
/* quicktime */
+ { PIX_FMT_YUV420P, MKTAG('R', '4', '2', '0') }, /* Radius DV YUV PAL */
+ { PIX_FMT_YUV411P, MKTAG('R', '4', '1', '1') }, /* Radius DV YUV NTSC */
{ PIX_FMT_UYVY422, MKTAG('2', 'v', 'u', 'y') },
{ PIX_FMT_UYVY422, MKTAG('2', 'V', 'u', 'y') },
{ PIX_FMT_UYVY422, MKTAG('A', 'V', 'U', 'I') }, /* FIXME merge both fields */
diff --git a/libavformat/isom.c b/libavformat/isom.c
index b0fdb84240..e4575033e2 100644
--- a/libavformat/isom.c
+++ b/libavformat/isom.c
@@ -87,6 +87,8 @@ const AVCodecTag ff_codec_movvideo_tags[] = {
{ CODEC_ID_RAWVIDEO, MKTAG('b', 'x', 'r', 'g') },
{ CODEC_ID_RAWVIDEO, MKTAG('b', 'x', 'y', 'v') },
{ CODEC_ID_RAWVIDEO, MKTAG('D', 'V', 'O', 'O') }, /* Digital Voodoo SD 8 Bit */
+ { CODEC_ID_RAWVIDEO, MKTAG('R', '4', '2', '0') }, /* Radius DV YUV PAL */
+ { CODEC_ID_RAWVIDEO, MKTAG('R', '4', '1', '1') }, /* Radius DV YUV NTSC */
{ CODEC_ID_R10K, MKTAG('R', '1', '0', 'k') }, /* UNCOMPRESSED 10BIT RGB */
{ CODEC_ID_R10K, MKTAG('R', '1', '0', 'g') }, /* UNCOMPRESSED 10BIT RGB */