[FFmpeg-cvslog] avcodec/raw: add gray10 support in nut
Paul B Mahol
git at videolan.org
Tue Nov 29 12:23:56 EET 2016
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Nov 29 11:18:54 2016 +0100| [d56c7830c0973dc4d2a068ba0b427ea6c1760dc2] | committer: Paul B Mahol
avcodec/raw: add gray10 support in nut
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d56c7830c0973dc4d2a068ba0b427ea6c1760dc2
---
libavcodec/raw.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index 1e11345..7146e3a 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -119,6 +119,8 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
{ AV_PIX_FMT_RGB48BE, MKTAG( 48, 'R', 'G', 'B') },
{ AV_PIX_FMT_BGR48LE, MKTAG('B', 'G', 'R', 48 ) },
{ AV_PIX_FMT_BGR48BE, MKTAG( 48, 'B', 'G', 'R') },
+ { AV_PIX_FMT_GRAY10LE, MKTAG('Y', '1', 0 , 10 ) },
+ { AV_PIX_FMT_GRAY10BE, MKTAG(10 , 0 , '1', 'Y') },
{ AV_PIX_FMT_GRAY12LE, MKTAG('Y', '1', 0 , 12 ) },
{ AV_PIX_FMT_GRAY12BE, MKTAG(12 , 0 , '1', 'Y') },
{ AV_PIX_FMT_GRAY16LE, MKTAG('Y', '1', 0 , 16 ) },
More information about the ffmpeg-cvslog
mailing list