#include "config.h"
#include "dxva2.h"
#include "avcodec.h"
#include "mpegvideo.h"
Go to the source code of this file.
Defines | |
#define | _WIN32_WINNT 0x0600 |
#define | COBJMACROS |
Functions | |
void * | ff_dxva2_get_surface (const Picture *picture) |
unsigned | ff_dxva2_get_surface_index (const struct dxva_context *, const Picture *picture) |
int | ff_dxva2_commit_buffer (AVCodecContext *, struct dxva_context *, DXVA2_DecodeBufferDesc *, unsigned type, const void *data, unsigned size, unsigned mb_count) |
int | ff_dxva2_common_end_frame (AVCodecContext *, MpegEncContext *, const void *pp, unsigned pp_size, const void *qm, unsigned qm_size, int(*commit_bs_si)(AVCodecContext *, DXVA2_DecodeBufferDesc *bs, DXVA2_DecodeBufferDesc *slice)) |
#define _WIN32_WINNT 0x0600 |
Definition at line 26 of file dxva2_internal.h.
#define COBJMACROS |
Definition at line 27 of file dxva2_internal.h.
int ff_dxva2_commit_buffer | ( | AVCodecContext * | , | |
struct dxva_context * | , | |||
DXVA2_DecodeBufferDesc * | , | |||
unsigned | type, | |||
const void * | data, | |||
unsigned | size, | |||
unsigned | mb_count | |||
) |
Definition at line 44 of file dxva2.c.
Referenced by commit_bitstream_and_slice_buffer(), and ff_dxva2_common_end_frame().
int ff_dxva2_common_end_frame | ( | AVCodecContext * | , | |
MpegEncContext * | , | |||
const void * | pp, | |||
unsigned | pp_size, | |||
const void * | qm, | |||
unsigned | qm_size, | |||
int(*)(AVCodecContext *, DXVA2_DecodeBufferDesc *bs, DXVA2_DecodeBufferDesc *slice) | commit_bs_si | |||
) |
void* ff_dxva2_get_surface | ( | const Picture * | picture | ) |
Definition at line 25 of file dxva2.c.
Referenced by ff_dxva2_common_end_frame(), and ff_dxva2_get_surface_index().
unsigned ff_dxva2_get_surface_index | ( | const struct dxva_context * | , | |
const Picture * | picture | |||
) |
Definition at line 30 of file dxva2.c.
Referenced by fill_picture_parameters(), and fill_slice_long().