#include "dxva2_internal.h"
#include "vc1.h"
#include "vc1data.h"
Go to the source code of this file.
Data Structures | |
struct | dxva2_picture_context |
Functions | |
static void | fill_picture_parameters (AVCodecContext *avctx, struct dxva_context *ctx, const VC1Context *v, DXVA_PictureParameters *pp) |
static void | fill_slice (AVCodecContext *avctx, DXVA_SliceInfo *slice, unsigned position, unsigned size) |
static int | commit_bitstream_and_slice_buffer (AVCodecContext *avctx, DXVA2_DecodeBufferDesc *bs, DXVA2_DecodeBufferDesc *sc) |
static int | start_frame (AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size) |
static int | decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) |
static int | end_frame (AVCodecContext *avctx) |
Variables | |
AVHWAccel | ff_vc1_dxva2_hwaccel |
static int commit_bitstream_and_slice_buffer | ( | AVCodecContext * | avctx, | |
DXVA2_DecodeBufferDesc * | bs, | |||
DXVA2_DecodeBufferDesc * | sc | |||
) | [static] |
Definition at line 157 of file dxva2_vc1.c.
static int decode_slice | ( | AVCodecContext * | avctx, | |
const uint8_t * | buffer, | |||
uint32_t | size | |||
) | [static] |
Definition at line 229 of file dxva2_vc1.c.
static int end_frame | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 252 of file dxva2_vc1.c.
static void fill_picture_parameters | ( | AVCodecContext * | avctx, | |
struct dxva_context * | ctx, | |||
const VC1Context * | v, | |||
DXVA_PictureParameters * | pp | |||
) | [static] |
Definition at line 35 of file dxva2_vc1.c.
static void fill_slice | ( | AVCodecContext * | avctx, | |
DXVA_SliceInfo * | slice, | |||
unsigned | position, | |||
unsigned | size | |||
) | [static] |
Definition at line 138 of file dxva2_vc1.c.
static int start_frame | ( | AVCodecContext * | avctx, | |
av_unused const uint8_t * | buffer, | |||
av_unused uint32_t | size | |||
) | [static] |
Definition at line 210 of file dxva2_vc1.c.
Initial value:
{ .name = "vc1_dxva2", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_VC1, .pix_fmt = PIX_FMT_DXVA2_VLD, .start_frame = start_frame, .decode_slice = decode_slice, .end_frame = end_frame, .priv_data_size = sizeof(struct dxva2_picture_context), }
Definition at line 279 of file dxva2_vc1.c.