FFmpeg
Data Structures | Functions
dxva2_vp9.c File Reference
#include "config_components.h"
#include "libavutil/avassert.h"
#include "libavutil/pixdesc.h"
#include "dxva2_internal.h"
#include "hwaccel_internal.h"
#include "vp9shared.h"

Go to the source code of this file.

Data Structures

struct  vp9_dxva2_picture_context
 

Functions

static void fill_picture_entry (DXVA_PicEntry_VPx *pic, unsigned index, unsigned flag)
 
int ff_dxva2_vp9_fill_picture_parameters (const AVCodecContext *avctx, AVDXVAContext *ctx, DXVA_PicParams_VP9 *pp)
 
static void fill_slice_short (DXVA_Slice_VPx_Short *slice, unsigned position, unsigned size)
 
static int commit_bitstream_and_slice_buffer (AVCodecContext *avctx, DECODER_BUFFER_DESC *bs, DECODER_BUFFER_DESC *sc)
 
static int dxva2_vp9_start_frame (AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size)
 
static int dxva2_vp9_decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
 
static int dxva2_vp9_end_frame (AVCodecContext *avctx)
 

Function Documentation

◆ fill_picture_entry()

static void fill_picture_entry ( DXVA_PicEntry_VPx *  pic,
unsigned  index,
unsigned  flag 
)
static

Definition at line 39 of file dxva2_vp9.c.

Referenced by ff_dxva2_vp9_fill_picture_parameters().

◆ ff_dxva2_vp9_fill_picture_parameters()

int ff_dxva2_vp9_fill_picture_parameters ( const AVCodecContext avctx,
AVDXVAContext ctx,
DXVA_PicParams_VP9 *  pp 
)

Definition at line 46 of file dxva2_vp9.c.

Referenced by d3d12va_vp9_start_frame(), and dxva2_vp9_start_frame().

◆ fill_slice_short()

static void fill_slice_short ( DXVA_Slice_VPx_Short *  slice,
unsigned  position,
unsigned  size 
)
static

Definition at line 159 of file dxva2_vp9.c.

Referenced by dxva2_vp9_decode_slice().

◆ commit_bitstream_and_slice_buffer()

static int commit_bitstream_and_slice_buffer ( AVCodecContext avctx,
DECODER_BUFFER_DESC bs,
DECODER_BUFFER_DESC sc 
)
static

Definition at line 168 of file dxva2_vp9.c.

Referenced by dxva2_vp9_end_frame().

◆ dxva2_vp9_start_frame()

static int dxva2_vp9_start_frame ( AVCodecContext avctx,
av_unused const uint8_t *  buffer,
av_unused uint32_t  size 
)
static

Definition at line 256 of file dxva2_vp9.c.

◆ dxva2_vp9_decode_slice()

static int dxva2_vp9_decode_slice ( AVCodecContext avctx,
const uint8_t *  buffer,
uint32_t  size 
)
static

Definition at line 277 of file dxva2_vp9.c.

◆ dxva2_vp9_end_frame()

static int dxva2_vp9_end_frame ( AVCodecContext avctx)
static

Definition at line 295 of file dxva2_vp9.c.