[FFmpeg-cvslog] utvideodec: Support ULH0 and ULH2 formats.
Yusuke Nakamura
git at videolan.org
Mon Jun 10 10:39:44 CEST 2013
ffmpeg | branch: master | Yusuke Nakamura <muken.the.vfrmaniac at gmail.com> | Sat Jun 8 23:23:16 2013 +0900| [b441fdeb1557a65d12d14c6e928411f47ea59870] | committer: Kostya Shishkov
utvideodec: Support ULH0 and ULH2 formats.
Signed-off-by: Kostya Shishkov <kostya.shishkov at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b441fdeb1557a65d12d14c6e928411f47ea59870
---
libavcodec/utvideodec.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
index cf9d2d8..129034b 100644
--- a/libavcodec/utvideodec.c
+++ b/libavcodec/utvideodec.c
@@ -516,6 +516,14 @@ static av_cold int decode_init(AVCodecContext *avctx)
c->planes = 3;
avctx->pix_fmt = AV_PIX_FMT_YUV422P;
break;
+ case MKTAG('U', 'L', 'H', '0'):
+ c->planes = 3;
+ avctx->pix_fmt = AV_PIX_FMT_YUV420P;
+ break;
+ case MKTAG('U', 'L', 'H', '2'):
+ c->planes = 3;
+ avctx->pix_fmt = AV_PIX_FMT_YUV422P;
+ break;
default:
av_log(avctx, AV_LOG_ERROR, "Unknown Ut Video FOURCC provided (%08X)\n",
avctx->codec_tag);
More information about the ffmpeg-cvslog
mailing list