FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
dxva2_internal.h File Reference
#include "config.h"
#include <objbase.h>
#include "avcodec.h"

Go to the source code of this file.

Data Structures

union  AVDXVAContext
 

Macros

#define COBJMACROS
 

Typedefs

typedef void DECODER_BUFFER_DESC
 

Functions

unsigned ff_dxva2_get_surface_index (const AVCodecContext *avctx, const AVDXVAContext *, const AVFrame *frame)
 
int ff_dxva2_commit_buffer (AVCodecContext *, AVDXVAContext *, DECODER_BUFFER_DESC *, unsigned type, const void *data, unsigned size, unsigned mb_count)
 
int ff_dxva2_common_end_frame (AVCodecContext *, AVFrame *, const void *pp, unsigned pp_size, const void *qm, unsigned qm_size, int(*commit_bs_si)(AVCodecContext *, DECODER_BUFFER_DESC *bs, DECODER_BUFFER_DESC *slice))
 

Macro Definition Documentation

#define COBJMACROS

Definition at line 26 of file dxva2_internal.h.

Typedef Documentation

Definition at line 52 of file dxva2_internal.h.

Function Documentation

unsigned ff_dxva2_get_surface_index ( const AVCodecContext avctx,
const AVDXVAContext ,
const AVFrame frame 
)

Definition at line 37 of file dxva2.c.

Referenced by fill_picture_parameters(), and fill_slice_long().

int ff_dxva2_commit_buffer ( AVCodecContext ,
AVDXVAContext ,
DECODER_BUFFER_DESC ,
unsigned  type,
const void data,
unsigned  size,
unsigned  mb_count 
)

Definition at line 62 of file dxva2.c.

Referenced by commit_bitstream_and_slice_buffer(), and ff_dxva2_common_end_frame().

int ff_dxva2_common_end_frame ( AVCodecContext ,
AVFrame ,
const void pp,
unsigned  pp_size,
const void qm,
unsigned  qm_size,
int(*)(AVCodecContext *, DECODER_BUFFER_DESC *bs, DECODER_BUFFER_DESC *slice)  commit_bs_si 
)