diff options
author | Fei Wang <fei.w.wang@intel.com> | 2022-10-06 15:35:37 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2022-10-10 09:31:34 +0800 |
commit | 201cb35061f2ad34d0effb7f10084cc5148e880c (patch) | |
tree | e10944d5fff6235f38de657a32bae28b8b13c421 /libavformat/smacker.c | |
parent | 1898dbddd5dcf2d3e955b84eeafa91862988dbfa (diff) | |
download | ffmpeg-201cb35061f2ad34d0effb7f10084cc5148e880c.tar.gz |
lavu/hwcontext_qsv: add support for 12bit content on Linux
P012, Y212 and XV36 are used for 12bit content in FFmpeg VAAPI, so
these formats should be used in FFmpeg QSV too, however the SDK only
declares support for P016, Y216 and Y416. So this commit fudged mappings
between AV_PIX_FMT_P012 and MFX_FOURCC_P016, AV_PIX_FMT_Y212 and
MFX_FOURCC_Y216, AV_PIX_FMT_XV36 and MFX_FOURCC_Y416.
Signed-off-by: Fei Wang <fei.w.wang@intel.com>
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'libavformat/smacker.c')
0 files changed, 0 insertions, 0 deletions