Michael Yang
df1fd43db4
libavcodec/vulkan_encode_av1: fix non-monotonic DTS
...
Combine P-frame with following B-frame into a single packet with the
latter's order. Emit a tail packet with a show_existing_frame header
to show it at the correct PTS.
2025-11-06 22:06:42 +00:00
Kacper Michajłow
f478964226
avcodec/vulkan_encode_av1: fix unit_elems check
...
Wrong enum value was used to check unit_elems. While
AV_FRAME_DATA_MASTERING_DISPLAY_METADATA (11) would trigger when
UNIT_MASTERING_DISPLAY (2) was set, it also would match
UNIT_CONTENT_LIGHT_LEVEL (1) which is not expected.
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
2025-11-05 19:04:01 +01:00
Michael Yang
20051ed3af
avcodec/vulkan_encode_av1: fix level index
2025-10-16 21:59:24 +00:00
David Rosca
ac5303a5b9
hw_base_encode: Support refs option to limit number of references
...
Set default value to 0 to keep the old behavior of using maximum number
of references.
2025-08-15 13:55:51 +00:00
Kacper Michajłow
b7a3c426ea
avcodec/vulkan_encode_av1: use CODEC_PIXFMTS to define pix_fmts
...
Fixes deprecation warnings.
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
2025-08-11 19:29:53 +00:00
James Almer
88bec585bc
avcodec/vulkan_encode_av1: use size_t specifier in an av_log() call
...
Signed-off-by: James Almer <jamrial@gmail.com>
2025-08-08 15:24:57 +00:00
James Almer
9212963093
avcodec/vulkan_encode_av1: remove unused variables
...
Signed-off-by: James Almer <jamrial@gmail.com>
2025-08-08 15:24:57 +00:00
Lynne
d132b63dd9
vulkan_encode_av1: properly give an FPS value for ff_av1_guess_level
2025-08-08 15:07:33 +00:00
David Rosca
069daca9e0
vulkan_encode_av1: Fix uninitialized return value in write_extra_headers
2025-08-08 12:18:24 +00:00
David Rosca
db6fd82651
vulkan_encode_av1: Fix setting QP
...
Use the "qp" param instead of "global_quality" to match H264/5.
2025-08-08 12:00:16 +00:00
Lynne
b2928971e8
lavc: add an av1_vulkan encoder
...
This commit adds a Vulkan AV1 encoder, using the native acceleration API.
2025-08-08 18:29:40 +09:00