#include "config_components.h"
#include "libavutil/avassert.h"
#include "dxva2_internal.h"
#include "hevc/data.h"
#include "hevc/hevcdec.h"
#include "hwaccel_internal.h"
Go to the source code of this file.
|
| static void | fill_picture_entry (DXVA_PicEntry_HEVC *pic, unsigned index, unsigned flag) |
| |
| static int | get_refpic_index (const DXVA_PicParams_HEVC *pp, int surface_index) |
| |
| void | ff_dxva2_hevc_fill_picture_parameters (const AVCodecContext *avctx, AVDXVAContext *ctx, DXVA_PicParams_HEVC *pp) |
| |
| void | ff_dxva2_hevc_fill_scaling_lists (const AVCodecContext *avctx, AVDXVAContext *ctx, DXVA_Qmatrix_HEVC *qm) |
| |
| static void | fill_slice_short (DXVA_Slice_HEVC_Short *slice, unsigned position, unsigned size) |
| |
| static int | commit_bitstream_and_slice_buffer (AVCodecContext *avctx, DECODER_BUFFER_DESC *bs, DECODER_BUFFER_DESC *sc) |
| |
| static int | dxva2_hevc_start_frame (AVCodecContext *avctx, av_unused const AVBufferRef *buffer_ref, av_unused const uint8_t *buffer, av_unused uint32_t size) |
| |
| static int | dxva2_hevc_decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) |
| |
| static int | dxva2_hevc_end_frame (AVCodecContext *avctx) |
| |
◆ MAX_SLICES
◆ DO_REF_LIST
| #define DO_REF_LIST |
( |
| ref_idx, |
|
|
| ref_list ) |
Value: { \
while (!
frame && j < rpl->nb_refs) \
else \
pp->ref_list[
i] = 0xff; \
} \
}
#define i(width, name, range_min, range_max)
unsigned ff_dxva2_get_surface_index(const AVCodecContext *avctx, AVDXVAContext *ctx, const AVFrame *frame, int curr)
static int get_refpic_index(const DXVA_PicParams_H264 *pp, int surface_index)
#define HEVC_FRAME_FLAG_SHORT_REF
#define HEVC_FRAME_FLAG_LONG_REF
#define FF_ARRAY_ELEMS(a)
struct HEVCFrame * ref[HEVC_MAX_REFS]
static AVFormatContext * ctx
Referenced by ff_dxva2_hevc_fill_picture_parameters().
◆ fill_picture_entry()
| static void fill_picture_entry |
( |
DXVA_PicEntry_HEVC * | pic, |
|
|
unsigned | index, |
|
|
unsigned | flag ) |
|
static |
◆ get_refpic_index()
| static int get_refpic_index |
( |
const DXVA_PicParams_HEVC * | pp, |
|
|
int | surface_index ) |
|
static |
◆ ff_dxva2_hevc_fill_picture_parameters()
◆ ff_dxva2_hevc_fill_scaling_lists()
◆ fill_slice_short()
| static void fill_slice_short |
( |
DXVA_Slice_HEVC_Short * | slice, |
|
|
unsigned | position, |
|
|
unsigned | size ) |
|
static |
◆ commit_bitstream_and_slice_buffer()
◆ dxva2_hevc_start_frame()
◆ dxva2_hevc_decode_slice()
| static int dxva2_hevc_decode_slice |
( |
AVCodecContext * | avctx, |
|
|
const uint8_t * | buffer, |
|
|
uint32_t | size ) |
|
static |
◆ dxva2_hevc_end_frame()