FFmpeg
Data Structures | Macros | Functions
dxva2_av1.c File Reference
#include "libavutil/avassert.h"
#include "libavutil/pixdesc.h"
#include "dxva2_internal.h"
#include "av1dec.h"

Go to the source code of this file.

Data Structures

struct  AV1DXVAContext
 
struct  av1_dxva2_picture_context
 

Macros

#define MAX_TILES   256
 

Functions

static int get_bit_depth_from_seq (const AV1RawSequenceHeader *seq)
 
static int fill_picture_parameters (const AVCodecContext *avctx, AVDXVAContext *ctx, const AV1DecContext *h, DXVA_PicParams_AV1 *pp)
 
static int dxva2_av1_start_frame (AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size)
 
static int dxva2_av1_decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
 
static int commit_bitstream_and_slice_buffer (AVCodecContext *avctx, DECODER_BUFFER_DESC *bs, DECODER_BUFFER_DESC *sc)
 
static int dxva2_av1_end_frame (AVCodecContext *avctx)
 
static int dxva2_av1_uninit (AVCodecContext *avctx)
 

Macro Definition Documentation

#define MAX_TILES   256

Definition at line 29 of file dxva2_av1.c.

Referenced by dxva2_av1_decode_slice().

Function Documentation

static int get_bit_depth_from_seq ( const AV1RawSequenceHeader seq)
static

Definition at line 46 of file dxva2_av1.c.

Referenced by fill_picture_parameters().

static int fill_picture_parameters ( const AVCodecContext avctx,
AVDXVAContext ctx,
const AV1DecContext h,
DXVA_PicParams_AV1 *  pp 
)
static

Definition at line 56 of file dxva2_av1.c.

Referenced by dxva2_av1_start_frame().

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

Definition at line 268 of file dxva2_av1.c.

Referenced by dxva2_av1_uninit().

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

Definition at line 289 of file dxva2_av1.c.

Referenced by dxva2_av1_uninit().

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

Definition at line 344 of file dxva2_av1.c.

Referenced by dxva2_av1_end_frame().

static int dxva2_av1_end_frame ( AVCodecContext avctx)
static

Definition at line 430 of file dxva2_av1.c.

Referenced by dxva2_av1_uninit().

static int dxva2_av1_uninit ( AVCodecContext avctx)
static

Definition at line 447 of file dxva2_av1.c.