diff options
author | Wenbin Chen <wenbin.chen-at-intel.com@ffmpeg.org> | 2022-04-06 18:10:08 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2022-04-13 13:41:27 +0800 |
commit | 7e7b3a4c283a4d70357cb0d2cb3fad8ae8377e2a (patch) | |
tree | 5252c4128c72e5c0cae8d26d2566e0ba37967ecf /libavutil/lfg.h | |
parent | 7427b87e44908a56d559c31b2c6f7a1e1575f5f9 (diff) | |
download | ffmpeg-7e7b3a4c283a4d70357cb0d2cb3fad8ae8377e2a.tar.gz |
libavutil/hwcontext_qsv: Align width and heigh when download qsv frame
The width and height for qsv frame to download need to be
aligned with 16. Add the alignment operation.
Now the following command works:
ffmpeg -hwaccel qsv -f rawvideo -s 1920x1080 -pix_fmt yuv420p -i \
input.yuv -vf "hwupload=extra_hw_frames=16,format=qsv,hwdownload, \
format=nv12" -f null -
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'libavutil/lfg.h')
0 files changed, 0 insertions, 0 deletions