FFmpeg
|
#include <assert.h>
#include <string.h>
#include "libavutil/log.h"
#include "libavutil/time.h"
#include "avcodec.h"
#include "dxva2_internal.h"
Go to the source code of this file.
Functions | |
void * | ff_dxva2_get_surface (const AVFrame *frame) |
unsigned | ff_dxva2_get_surface_index (const AVCodecContext *avctx, const AVDXVAContext *ctx, const AVFrame *frame) |
int | ff_dxva2_commit_buffer (AVCodecContext *avctx, AVDXVAContext *ctx, DECODER_BUFFER_DESC *dsc, unsigned type, const void *data, unsigned size, unsigned mb_count) |
int | ff_dxva2_common_end_frame (AVCodecContext *avctx, AVFrame *frame, 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)) |
Definition at line 32 of file dxva2.c.
Referenced by ff_dxva2_common_end_frame(), and ff_dxva2_get_surface_index().
unsigned ff_dxva2_get_surface_index | ( | const AVCodecContext * | avctx, |
const AVDXVAContext * | ctx, | ||
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 * | avctx, |
AVDXVAContext * | ctx, | ||
DECODER_BUFFER_DESC * | dsc, | ||
unsigned | type, | ||
const void * | data, | ||
unsigned | size, | ||
unsigned | mb_count | ||
) |
Definition at line 63 of file dxva2.c.
Referenced by commit_bitstream_and_slice_buffer(), and ff_dxva2_common_end_frame().
int ff_dxva2_common_end_frame | ( | AVCodecContext * | avctx, |
AVFrame * | frame, | ||
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 | ||
) |
Definition at line 136 of file dxva2.c.
Referenced by dxva2_h264_end_frame(), dxva2_hevc_end_frame(), dxva2_mpeg2_end_frame(), dxva2_vc1_end_frame(), and dxva2_vp9_end_frame().