[FFmpeg-cvslog] lavc/ffv1enc: Support pix_fmt GRAY10.

Carl Eugen Hoyos git at videolan.org
Thu Nov 17 13:50:43 EET 2016


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Nov 15 00:52:30 2016 +0100| [f8247c0ccebc2a153eb76a82961e4f6ca81e6f82] | committer: Carl Eugen Hoyos

lavc/ffv1enc: Support pix_fmt GRAY10.

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

 libavcodec/ffv1enc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c
index 68d311d..c56623b 100644
--- a/libavcodec/ffv1enc.c
+++ b/libavcodec/ffv1enc.c
@@ -573,6 +573,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
     case AV_PIX_FMT_YUVA420P9:
         if (!avctx->bits_per_raw_sample)
             s->bits_per_raw_sample = 9;
+    case AV_PIX_FMT_GRAY10:
     case AV_PIX_FMT_YUV444P10:
     case AV_PIX_FMT_YUV420P10:
     case AV_PIX_FMT_YUV422P10:
@@ -1298,6 +1299,7 @@ AVCodec ff_ffv1_encoder = {
         AV_PIX_FMT_GRAY16,    AV_PIX_FMT_GRAY8,     AV_PIX_FMT_GBRP9,     AV_PIX_FMT_GBRP10,
         AV_PIX_FMT_GBRP12,    AV_PIX_FMT_GBRP14,
         AV_PIX_FMT_YA8,
+        AV_PIX_FMT_GRAY10,
         AV_PIX_FMT_GBRP16, AV_PIX_FMT_RGB48,
         AV_PIX_FMT_NONE
 



More information about the ffmpeg-cvslog mailing list