James Almer
45a2f2635d
avcodec/d3d12va: remove unused variables
...
Signed-off-by: James Almer <jamrial@gmail.com>
1 year ago
James Almer
04332ca35e
avcodec/d3d12va_vp9.c: change the type for the ID3D12Resource_Map mapped_data argument
...
Fixes -Wincompatible-pointer-types warnings.
Signed-off-by: James Almer <jamrial@gmail.com>
1 year ago
Andreas Rheinhardt
3435565e26
avcodec/d3d12va_(av1|hevc|vp9): Don't use deprecated FF_PROFILE_*
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
1 year ago
Tong Wu
d18ed2ddb5
avcodec/d3d12va_vp9: fix vp9 max_num_refs value
...
Previous max_num_refs was based on pp.frame_refs plus 1 and it could possibly
reaches the size limit. Actually it should be the size of pp.ref_frame_map
plus 1.
Signed-off-by: Tong Wu <tong1.wu@intel.com>
1 year ago
Wu Jianhua
326288c70a
avcodec: add D3D12VA hardware accelerated VP9 decoding
...
The command below is how to enable d3d12va:
ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4
Signed-off-by: Wu Jianhua <toqsxw@outlook.com>
Signed-off-by: Tong Wu <tong1.wu@intel.com>
1 year ago