[FFmpeg-cvslog] avcodec/sheervideo: supports some other 8bit formats

Paul B Mahol git at videolan.org
Thu Jun 9 15:32:40 CEST 2016


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Jun  9 15:30:27 2016 +0200| [0c7fa152b9d7cdcae8fc2714b12cf8eba6808799] | committer: Paul B Mahol

avcodec/sheervideo: supports some other 8bit formats

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

 libavcodec/sheervideo.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavcodec/sheervideo.c b/libavcodec/sheervideo.c
index dd511ee..b39e67b 100644
--- a/libavcodec/sheervideo.c
+++ b/libavcodec/sheervideo.c
@@ -2277,6 +2277,7 @@ static int decode_frame(AVCodecContext *avctx,
             build_vlc(&s->vlc[1], l_g_rgbi, 256);
         }
         break;
+    case MKTAG('A', 'Y', 'B', 'R'):
     case MKTAG('A', 'Y', 'b', 'R'):
         avctx->pix_fmt = AV_PIX_FMT_YUVA444P;
         s->decode_frame = decode_aybr;
@@ -2285,6 +2286,7 @@ static int decode_frame(AVCodecContext *avctx,
             build_vlc(&s->vlc[1], l_u_ybr, 256);
         }
         break;
+    case MKTAG('A', 'y', 'B', 'R'):
     case MKTAG('A', 'y', 'b', 'R'):
         avctx->pix_fmt = AV_PIX_FMT_YUVA444P;
         s->decode_frame = decode_aybri;
@@ -2293,6 +2295,7 @@ static int decode_frame(AVCodecContext *avctx,
             build_vlc(&s->vlc[1], l_u_ybri, 256);
         }
         break;
+    case MKTAG(' ', 'Y', 'B', 'R'):
     case MKTAG(' ', 'Y', 'b', 'R'):
         avctx->pix_fmt = AV_PIX_FMT_YUV444P;
         s->decode_frame = decode_ybr;
@@ -2301,6 +2304,7 @@ static int decode_frame(AVCodecContext *avctx,
             build_vlc(&s->vlc[1], l_u_ybr, 256);
         }
         break;
+    case MKTAG(' ', 'y', 'B', 'R'):
     case MKTAG(' ', 'y', 'b', 'R'):
         avctx->pix_fmt = AV_PIX_FMT_YUV444P;
         s->decode_frame = decode_ybri;



More information about the ffmpeg-cvslog mailing list