android_external_ffmpeg/.forgejo
Jonas Karlman fa79ad8b0e avcodec: Add common V4L2 Request API code
Add initial helpers for supporting V4L2 Request API hwaccels.

Basic flow for initialization follows the kernel Memory-to-memory
Stateless Video Decoder Interface > Initialization [1].

In init a hw frame ctx is created and initialized to start a new V4L2
video decoding session, initial CAPTURE buffers is pre-allocated,
OUTPUT buffers and request objects are allocated for a circular queue.

In frame_params the codec pixel format and optional codec-specific
extended controls is configured before the hw frame ctx is initialized.

In uninit any pending request is flushed before resources are released.

[1] https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/dev-stateless-decoder.html#initialization

Co-developed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Co-developed-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
2025-12-20 23:50:13 +00:00
..
labeler forgejo/labeler: automatically flag Vulkan-related commits #20118 2025-12-07 19:41:58 +00:00
pre-commit forgejo: make aarch64 asm linter part of pre-commit 2025-09-13 20:58:29 +00:00
workflows forgejo/workflows: fix error handling of configure result 2025-12-17 13:28:21 +00:00
CODEOWNERS avcodec: Add common V4L2 Request API code 2025-12-20 23:50:13 +00:00
ISSUE_TEMPLATE.md forgejo/ISSUE_TEMPLATE: create Issue ticket template based on TRAC form 2025-08-04 16:15:27 +00:00