vlc | branch: master | Francois Cartegnie <[email protected]> | Mon Feb 26 18:53:16 2018 +0100| [87a3cb276e550843d5d315375b4b9ccc954e8f4e] | committer: Francois Cartegnie
fourcc: add i422/16 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=87a3cb276e550843d5d315375b4b9ccc954e8f4e --- include/vlc_fourcc.h | 3 +++ src/misc/fourcc.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h index 95dafffc8f..76d0e5a3aa 100644 --- a/include/vlc_fourcc.h +++ b/include/vlc_fourcc.h @@ -230,6 +230,9 @@ /* Planar YUV 4:2:2 Y:U:V 12-bit stored on 16 bits */ #define VLC_CODEC_I422_12L VLC_FOURCC('I','2','C','L') #define VLC_CODEC_I422_12B VLC_FOURCC('I','2','C','B') +/* Planar YUV 4:2:2 Y:U:V 16-bit stored on 16 bits */ +#define VLC_CODEC_I422_16L VLC_FOURCC('I','2','F','L') +#define VLC_CODEC_I422_16B VLC_FOURCC('I','2','F','B') /* Planar YUV 4:4:0 Y:U:V */ #define VLC_CODEC_I440 VLC_FOURCC('I','4','4','0') diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c index 49e56196a7..449977d89e 100644 --- a/src/misc/fourcc.c +++ b/src/misc/fourcc.c @@ -707,6 +707,8 @@ static const struct VLC_CODEC_I420_10B }, PLANAR_16(3, 2, 2, 10) }, { { VLC_CODEC_I420_9L, VLC_CODEC_I420_9B }, PLANAR_16(3, 2, 2, 9) }, + { { VLC_CODEC_I422_16L, + VLC_CODEC_I422_16B }, PLANAR_16(3, 2, 1, 16) }, { { VLC_CODEC_I422_12L, VLC_CODEC_I422_12B }, PLANAR_16(3, 2, 1, 12) }, { { VLC_CODEC_I422_10L, _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
