#include "config_components.h"
#include "libavutil/avassert.h"
#include "dxva2_internal.h"
#include "hevc_data.h"
#include "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 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++]; \
else \
pp->ref_list[
i] = 0xff; \
} \
}
◆ 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()