[FFmpeg-cvslog] Support fourcc Y8 (ticket 308).

ami_stuff git at videolan.org
Mon Jun 27 10:25:58 CEST 2011


ffmpeg | branch: master | ami_stuff <ami_stuff at o2.pl> | Mon Jun 27 10:03:21 2011 +0200| [9df1d329a5ac718dd9459ed37acdbbc88adc31e3] | committer: Carl Eugen Hoyos

Support fourcc Y8 (ticket 308).

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9df1d329a5ac718dd9459ed37acdbbc88adc31e3
---

 libavcodec/raw.c   |    1 +
 libavformat/riff.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index c44220e..d686718 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -46,6 +46,7 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
     { PIX_FMT_YUVJ422P, MKTAG('P', '4', '2', '2') },
     { PIX_FMT_GRAY8,    MKTAG('Y', '8', '0', '0') },
     { PIX_FMT_GRAY8,    MKTAG(' ', ' ', 'Y', '8') },
+    { PIX_FMT_GRAY8,    MKTAG('Y', '8', ' ', ' ') },
 
     { PIX_FMT_YUYV422, MKTAG('Y', 'U', 'Y', '2') }, /* Packed formats */
     { PIX_FMT_YUYV422, MKTAG('Y', '4', '2', '2') },
diff --git a/libavformat/riff.c b/libavformat/riff.c
index 1213edd..acac938 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -175,6 +175,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
     { CODEC_ID_RAWVIDEO,     MKTAG('U', 'Y', 'V', 'Y') },
     { CODEC_ID_RAWVIDEO,     MKTAG('V', 'Y', 'U', 'Y') },
     { CODEC_ID_RAWVIDEO,     MKTAG('I', 'Y', 'U', 'V') },
+    { CODEC_ID_RAWVIDEO,     MKTAG('Y', '8', ' ', ' ') },
     { CODEC_ID_RAWVIDEO,     MKTAG('Y', '8', '0', '0') },
     { CODEC_ID_RAWVIDEO,     MKTAG('H', 'D', 'Y', 'C') },
     { CODEC_ID_RAWVIDEO,     MKTAG('Y', 'V', 'U', '9') },



More information about the ffmpeg-cvslog mailing list