#include <va/va.h>
#include <va/va_dec_vvc.h>
#include "vvc/dec.h"
#include "vvc/refs.h"
#include "hwaccel_internal.h"
#include "vaapi_decode.h"
Go to the source code of this file.
|
| static void | init_vaapi_pic (VAPictureVVC *va_pic) |
| |
| static void | fill_vaapi_pic (VAPictureVVC *va_pic, const VVCFrame *pic) |
| |
| static void | fill_vaapi_reference_frames (const VVCFrameContext *h, VAPictureParameterBufferVVC *pp) |
| |
| static int | vaapi_vvc_start_frame (AVCodecContext *avctx, av_unused const AVBufferRef *buffer_ref, av_unused const uint8_t *buffer, av_unused uint32_t size) |
| |
| static uint8_t | get_ref_pic_index (const VVCContext *h, const VVCFrame *frame) |
| |
| static int | get_slice_data_byte_offset (const uint8_t *buffer, uint32_t size, const SliceContext *sc) |
| |
| static int | vaapi_vvc_decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) |
| |
| static int | vaapi_vvc_end_frame (AVCodecContext *avctx) |
| |
◆ init_vaapi_pic()
| static void init_vaapi_pic |
( |
VAPictureVVC * | va_pic | ) |
|
|
static |
◆ fill_vaapi_pic()
| static void fill_vaapi_pic |
( |
VAPictureVVC * | va_pic, |
|
|
const VVCFrame * | pic ) |
|
static |
◆ fill_vaapi_reference_frames()
| static void fill_vaapi_reference_frames |
( |
const VVCFrameContext * | h, |
|
|
VAPictureParameterBufferVVC * | pp ) |
|
static |
◆ vaapi_vvc_start_frame()
◆ get_ref_pic_index()
◆ get_slice_data_byte_offset()
| static int get_slice_data_byte_offset |
( |
const uint8_t * | buffer, |
|
|
uint32_t | size, |
|
|
const SliceContext * | sc ) |
|
static |
◆ vaapi_vvc_decode_slice()
| static int vaapi_vvc_decode_slice |
( |
AVCodecContext * | avctx, |
|
|
const uint8_t * | buffer, |
|
|
uint32_t | size ) |
|
static |
◆ vaapi_vvc_end_frame()
◆ ff_vvc_vaapi_hwaccel
Initial value:= {
.p.name = "vvc_vaapi",
}
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_VAAPI
Hardware acceleration through VA-API, data[3] contains a VASurfaceID.
int ff_vaapi_common_frame_params(AVCodecContext *avctx, AVBufferRef *hw_frames_ctx)
int ff_vaapi_decode_init(AVCodecContext *avctx)
int ff_vaapi_decode_uninit(AVCodecContext *avctx)
static int vaapi_vvc_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
static int vaapi_vvc_end_frame(AVCodecContext *avctx)
static int vaapi_vvc_start_frame(AVCodecContext *avctx, av_unused const AVBufferRef *buffer_ref, av_unused const uint8_t *buffer, av_unused uint32_t size)
Definition at line 644 of file vaapi_vvc.c.