[FFmpeg-devel] [PATCH] avcodec/raw: add tags for P016

Paul B Mahol onemda at gmail.com
Fri Dec 14 14:18:07 EET 2018


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavcodec/raw.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index b6fb91c1c6..bfb9e8083b 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -72,6 +72,8 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
     { AV_PIX_FMT_GRAY8,   MKTAG('G', 'R', 'E', 'Y') },
     { AV_PIX_FMT_NV12,    MKTAG('N', 'V', '1', '2') },
     { AV_PIX_FMT_NV21,    MKTAG('N', 'V', '2', '1') },
+    { AV_PIX_FMT_P016LE,  MKTAG('P', '0', '1', '6') },
+    { AV_PIX_FMT_P016BE,  MKTAG('6', '1', '0', 'P') },
 
     /* nut */
     { AV_PIX_FMT_RGB555LE, MKTAG('R', 'G', 'B', 15) },
-- 
2.17.1



More information about the ffmpeg-devel mailing list