#include "libavutil/refstruct.h"#include "vulkan_video.h"#include "vulkan_decode.h"#include "config_components.h"#include "libavutil/avassert.h"#include "libavutil/mem.h"#include "libavutil/vulkan_loader.h"Go to the source code of this file.
Definition at line 27 of file vulkan_decode.c.
Definition at line 91 of file vulkan_decode.c.
Referenced by ff_vk_decode_flush(), ff_vk_decode_init(), vulkan_decode_bootstrap(), and vulkan_decode_get_profile().
Definition at line 100 of file vulkan_decode.c.
Referenced by ff_vk_decode_init().
Synchronize the contexts between 2 threads.
Definition at line 127 of file vulkan_decode.c.
Removes current session parameters to recreate them.
Definition at line 145 of file vulkan_decode.c.
Definition at line 152 of file vulkan_decode.c.
Referenced by ff_vk_decode_init(), ff_vk_decode_prepare_frame(), and ff_vk_decode_prepare_frame_sdr().
Definition at line 166 of file vulkan_decode.c.
Referenced by ff_vk_decode_prepare_frame(), and ff_vk_decode_prepare_frame_sdr().
Prepare a frame, creates the image view, and sets up the dpb fields.
Definition at line 183 of file vulkan_decode.c.
Referenced by vk_av1_fill_pict(), vk_h264_fill_pict(), vk_hevc_fill_pict(), and vk_vp9_fill_pict().
Software-defined decoder version of ff_vk_decode_prepare_frame.
Definition at line 240 of file vulkan_decode.c.
Referenced by vk_ffv1_start_frame(), vk_prores_raw_start_frame(), and vk_prores_start_frame().
Add slice data to frame.
Definition at line 287 of file vulkan_decode.c.
Referenced by vk_av1_decode_slice(), vk_ffv1_decode_slice(), vk_h264_decode_slice(), vk_hevc_decode_slice(), vk_prores_decode_slice(), vk_prores_raw_decode_slice(), and vk_vp9_decode_slice().
Decode a frame.
Definition at line 404 of file vulkan_decode.c.
Referenced by vk_av1_end_frame(), vk_h264_end_frame(), vk_hevc_end_frame(), and vk_vp9_end_frame().
Free a frame and its state.
Definition at line 610 of file vulkan_decode.c.
Referenced by vk_av1_free_frame_priv(), vk_ffv1_free_frame_priv(), vk_h264_free_frame_priv(), vk_hevc_free_frame_priv(), vk_prores_free_frame_priv(), vk_prores_raw_free_frame_priv(), and vk_vp9_free_frame_priv().
Definition at line 643 of file vulkan_decode.c.
Referenced by vulkan_decode_bootstrap().
Definition at line 671 of file vulkan_decode.c.
Referenced by ff_vk_frame_params().
Definition at line 712 of file vulkan_decode.c.
Referenced by vulkan_decode_get_profile().
Definition at line 800 of file vulkan_decode.c.
Referenced by ff_vk_frame_params().
Definition at line 1077 of file vulkan_decode.c.
Referenced by ff_vk_frame_params().
Initialize hw_frames_ctx with the parameters needed to decode the stream using the parameters from avctx.
NOTE: if avctx->internal->hwaccel_priv_data exists, will partially initialize the context.
Definition at line 1082 of file vulkan_decode.c.
Definition at line 1160 of file vulkan_decode.c.
Referenced by ff_vk_decode_create_params().
Create VkVideoSessionParametersKHR wrapped in an AVBufferRef.
Definition at line 1170 of file vulkan_decode.c.
Referenced by vk_av1_create_params(), vk_h264_create_params(), and vk_hevc_create_params().
Definition at line 1210 of file vulkan_decode.c.
Referenced by ff_vk_decode_init().
Initialize decoder.
Definition at line 1251 of file vulkan_decode.c.
Referenced by vk_decode_ffv1_init(), vk_decode_prores_init(), and vk_decode_prores_raw_init().