#include "vp9dec.h"
#include "vulkan_decode.h"
Go to the source code of this file.
|
| static int | vk_vp9_fill_pict (AVCodecContext *avctx, const VP9Frame **ref_src, VkVideoReferenceSlotInfoKHR *ref_slot, VkVideoPictureResourceInfoKHR *ref, const VP9Frame *pic, int is_current) |
| |
| static enum StdVideoVP9InterpolationFilter | remap_interp (uint8_t is_filter_switchable, uint8_t raw_interpolation_filter_type) |
| |
| static int | vk_vp9_start_frame (AVCodecContext *avctx, av_unused const AVBufferRef *buffer_ref, av_unused const uint8_t *buffer, av_unused uint32_t size) |
| |
| static int | vk_vp9_decode_slice (AVCodecContext *avctx, const uint8_t *data, uint32_t size) |
| |
| static int | vk_vp9_end_frame (AVCodecContext *avctx) |
| |
| static void | vk_vp9_free_frame_priv (AVRefStructOpaque _hwctx, void *data) |
| |
◆ vk_vp9_fill_pict()
| static int vk_vp9_fill_pict |
( |
AVCodecContext * | avctx, |
|
|
const VP9Frame ** | ref_src, |
|
|
VkVideoReferenceSlotInfoKHR * | ref_slot, |
|
|
VkVideoPictureResourceInfoKHR * | ref, |
|
|
const VP9Frame * | pic, |
|
|
int | is_current ) |
|
static |
◆ remap_interp()
| static enum StdVideoVP9InterpolationFilter remap_interp |
( |
uint8_t | is_filter_switchable, |
|
|
uint8_t | raw_interpolation_filter_type ) |
|
static |
◆ vk_vp9_start_frame()
◆ vk_vp9_decode_slice()
| static int vk_vp9_decode_slice |
( |
AVCodecContext * | avctx, |
|
|
const uint8_t * | data, |
|
|
uint32_t | size ) |
|
static |
◆ vk_vp9_end_frame()
◆ vk_vp9_free_frame_priv()
◆ ff_vk_dec_vp9_desc
Initial value:= {
.queue_flags = VK_QUEUE_VIDEO_DECODE_BIT_KHR,
.decode_op = VK_VIDEO_CODEC_OPERATION_DECODE_VP9_BIT_KHR,
.ext_props = {
.extensionName = VK_STD_VULKAN_VIDEO_CODEC_VP9_DECODE_EXTENSION_NAME,
.specVersion = VK_STD_VULKAN_VIDEO_CODEC_VP9_DECODE_SPEC_VERSION,
},
}
#define FF_VK_EXT_VIDEO_DECODE_VP9
Definition at line 23 of file vulkan_vp9.c.
◆ ff_vp9_vulkan_hwaccel
Initial value:= {
.p.name = "vp9_vulkan",
}
int(* init)(AVBSFContext *ctx)
#define HWACCEL_CAP_ASYNC_SAFE
Header providing the internals of AVHWAccel.
static av_cold void uninit(AVBitStreamFilterContext *ctx)
@ AV_PIX_FMT_VULKAN
Vulkan hardware images.
int ff_vk_update_thread_context(AVCodecContext *dst, const AVCodecContext *src)
Synchronize the contexts between 2 threads.
int ff_vk_decode_init(AVCodecContext *avctx)
Initialize decoder.
int ff_vk_frame_params(AVCodecContext *avctx, AVBufferRef *hw_frames_ctx)
Initialize hw_frames_ctx with the parameters needed to decode the stream using the parameters from av...
int ff_vk_decode_uninit(AVCodecContext *avctx)
Free decoder.
static void vk_vp9_free_frame_priv(AVRefStructOpaque _hwctx, void *data)
static int vk_vp9_start_frame(AVCodecContext *avctx, av_unused const AVBufferRef *buffer_ref, av_unused const uint8_t *buffer, av_unused uint32_t size)
static int vk_vp9_end_frame(AVCodecContext *avctx)
static int vk_vp9_decode_slice(AVCodecContext *avctx, const uint8_t *data, uint32_t size)
Definition at line 356 of file vulkan_vp9.c.