diff options
author | Fei Wang <fei.w.wang@intel.com> | 2024-10-31 14:23:13 +0800 |
---|---|---|
committer | Fei Wang <fei.w.wang@intel.com> | 2024-11-05 10:28:03 +0800 |
commit | c845a07302a20ff0c55d7f9634539df80404bfb3 (patch) | |
tree | 23b511fd7842b70c555945a7c47679849472ac93 /libavcodec/roqvideo.c | |
parent | df00705e0010cc2c53d17d51944f847c2c852189 (diff) | |
download | ffmpeg-c845a07302a20ff0c55d7f9634539df80404bfb3.tar.gz |
libavutil/hwcontext_{d3d11va, dxva2}: Support Y212/XV36 pixel format
Use DXGI/D3DFMT 16bit pixel format to compatible with 12bit Y212/XV36
since there is no 12bit pixel defined in D3D11/D3D9.
Fix cmdline on Windows:
$ ffmpeg.exe -hwaccel qsv -init_hw_device qsv:hw,child_device_type=
{d3d11, dxva2} -i input_12bit.bin -f null -
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Fei Wang <fei.w.wang@intel.com>
Diffstat (limited to 'libavcodec/roqvideo.c')
0 files changed, 0 insertions, 0 deletions