James Almer
45a2f2635d
avcodec/d3d12va: remove unused variables
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-01-24 17:34:28 -03:00
James Almer
9aa388e758
avcodec/d3d12va_hevc: cast mapped_data to void* before passing it to mapped_data()
...
Fixes -Wincompatible-pointer-types warnings.
Signed-off-by: James Almer <jamrial@gmail.com>
2024-01-24 17:28:05 -03:00
Andreas Rheinhardt
3435565e26
avcodec/d3d12va_(av1|hevc|vp9): Don't use deprecated FF_PROFILE_*
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2024-01-24 15:49:12 +01:00
Tong Wu
6d5fbea289
avcodec/d3d12va_hevc: enable allow_profile_mismatch flag for d3d12va msp profile
...
Same as d3d11va, this flag enables main still picture profile for
d3d12va. User should add this flag when decoding main still picture
profile.
Signed-off-by: Tong Wu <tong1.wu@intel.com>
2023-12-21 16:15:23 +08:00
Wu Jianhua
cbb93c4ff6
avcodec: add D3D12VA hardware accelerated HEVC 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>
2023-12-21 16:15:23 +08:00