1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavutil
Zhong Li 681aa7d14f lavu/qsv: make a copy as libmfx alignment requirement for uploading
Libmfx requires 16 bytes aligned input/output for uploading.
Currently only output is 16 byte aligned and assigning same width/height to
input with smaller buffer size actually, thus definitely will cause segment fault.

Can reproduce with any 1080p nv12 rawvideo input:
ffmpeg -init_hw_device qsv=qsv:hw -hwaccel qsv -filter_hw_device qsv -f rawvideo -pix_fmt nv12 -s:v 1920x1080
-i 1080p_nv12.yuv -vf 'format=nv12,hwupload=extra_hw_frames=16,hwdownload,format=nv12' -an -y out_nv12.yuv

It can fix #7418

Signed-off-by: Zhong Li <zhong.li@intel.com>
2018-10-11 13:26:59 +08:00
..
2016-02-18 11:55:00 +01:00
2018-09-14 21:36:21 +02:00
2014-08-05 01:54:47 +02:00
2017-12-24 22:02:41 +01:00
2017-12-24 22:02:41 +01:00
2016-05-04 18:16:21 +02:00
2014-07-12 22:33:27 +02:00
2015-11-01 19:35:01 -05:00
2017-01-26 10:25:20 +01:00
2018-09-12 19:15:09 +02:00
2018-09-12 19:15:09 +02:00
2018-03-18 12:36:24 +01:00
2017-09-13 22:03:27 +01:00
2015-10-11 18:03:10 -04:00
2017-03-01 11:23:19 -05:00
2016-01-13 20:00:19 -05:00
2017-06-02 21:00:35 -04:00
2018-04-26 19:50:29 +02:00
2014-08-05 21:05:52 +02:00
2016-01-28 19:49:48 -08:00
2016-08-02 21:52:40 -07:00
2017-11-05 22:13:16 +01:00
2016-10-21 23:58:47 +02:00
2017-10-23 11:56:15 +02:00