Lynne
caff29dbb1
FFHWAccel: add buffer_ref argument to start_frame
...
This commit adds a reference to the buffer as an argument to
start_frame, and adapts all existing code.
This allows for asynchronous hardware accelerators to skip
copying packet data by referencing it.
2025-03-17 08:51:23 +01:00
Andreas Rheinhardt
5ad86d5fbc
avcodec: Mark init and close functions as av_cold
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2025-03-17 04:33:11 +01:00
Anton Khirnov
e4601cc339
lavc/hevc*: move to hevc/ subdir
2024-06-04 11:46:27 +02:00
Anton Khirnov
db84c1c6ef
lavc/hevcdec: rename HEVCFrame.frame to just f
...
This is shorter, loses no information, and is consistent with other
similar structs.
2024-06-04 11:46:23 +02:00
Anton Khirnov
9226514ced
lavc/hevcdec: rename HEVCContext.ref to cur_frame
...
Since it stores a pointer to the current frame.
2024-06-04 11:44:37 +02:00
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