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) |
|
static void | fill_picture_parameters (const AVCodecContext *avctx, AVDXVAContext *ctx, const HEVCContext *h, DXVA_PicParams_HEVC *pp) |
|
static void | fill_scaling_lists (AVDXVAContext *ctx, const HEVCContext *h, 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 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) \
frame = rpl->ref[j++]; \
if (frame) \
else \
pp->ref_list[i] = 0xff; \
} \
}
static int get_refpic_index(const DXVA_PicParams_HEVC *pp, int surface_index)
#define FF_ARRAY_ELEMS(a)
unsigned ff_dxva2_get_surface_index(const AVCodecContext *avctx, const AVDXVAContext *ctx, const AVFrame *frame)
Referenced by 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 |
◆ fill_picture_parameters()
◆ 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()
◆ dxva2_hevc_end_frame()