1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00
FFmpeg/libavutil
nyanmisaka 64467cbca2 libavutil/hwcontext_qsv: fix a bug for mapping vaapi frame to qsv
The data stored in data[3] in VAAPI AVFrame is VASurfaceID while
the data stored in pair->first is the pointer of VASurfaceID, so
we need to do cast to make following commandline works:

ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 \
-hwaccel_output_format vaapi -i input.264 \
-vf "hwmap=derive_device=qsv,format=qsv" -c:v h264_qsv output.264

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2021-12-04 14:06:30 +01:00
..
2021-04-27 10:43:13 -03:00
2021-04-27 10:43:13 -03:00
2021-07-22 14:34:31 +02:00
2021-07-22 14:34:31 +02:00
2018-09-14 21:36:21 +02:00
2021-04-01 14:47:00 +02:00
2021-07-20 10:31:41 +02:00
2021-07-20 10:31:41 +02:00
2021-07-22 14:34:31 +02:00
2021-07-22 14:34:31 +02:00
2020-04-23 08:05:15 +08:00
2020-04-23 08:05:15 +08:00
2018-09-12 19:15:09 +02:00
2018-09-12 19:15:09 +02:00
2021-12-03 22:41:00 +01:00
2021-12-03 22:41:00 +01:00
2021-04-27 10:43:13 -03:00
2021-07-22 14:34:31 +02:00
2021-07-22 14:34:31 +02:00
2021-07-22 14:34:31 +02:00
2021-07-22 14:34:31 +02:00
2021-07-22 14:34:31 +02:00
2021-07-21 16:35:27 +02:00
2021-07-21 16:35:27 +02:00
2021-11-19 16:47:28 +01:00
2021-10-02 17:13:57 +02:00
2021-07-22 14:34:31 +02:00
2021-09-20 01:04:09 +02:00
2021-09-20 01:04:09 +02:00
2021-04-27 10:43:13 -03:00
2021-07-22 14:34:31 +02:00
2021-07-22 14:34:31 +02:00
2020-05-23 15:51:44 +02:00
2020-05-23 15:51:44 +02:00
2021-04-27 10:43:13 -03:00
2021-07-22 14:34:31 +02:00
2021-04-27 10:43:13 -03:00
2021-07-22 14:34:31 +02:00
2021-04-27 10:43:13 -03:00
2021-07-22 14:34:31 +02:00
2021-03-14 23:29:51 +01:00
2021-07-21 16:35:27 +02:00
2021-07-22 14:34:31 +02:00
2021-12-03 22:41:00 +01:00
2021-11-19 16:47:28 +01:00