FFmpeg
|
This file implements the glue code between FFmpeg's and VA API's structures for HEVC decoding. More...
Go to the source code of this file.
Data Structures | |
struct | vaapi_hevc_frame_data |
Functions | |
static void | init_vaapi_pic (VAPictureHEVC *va_pic) |
Initialize an empty VA API picture. More... | |
static void | fill_vaapi_pic (VAPictureHEVC *va_pic, const HEVCFrame *pic, int rps_type) |
static int | find_frame_rps_type (const HEVCContext *h, const HEVCFrame *pic) |
static void | fill_vaapi_ReferenceFrames (const HEVCContext *h, VAPictureParameterBufferHEVC *pp) |
static uint8_t | get_ref_pic_index (const HEVCContext *h, const HEVCFrame *frame) |
static void | fill_picture_parameters (const HEVCContext *h, VAPictureParameterBufferHEVC *pp) |
static int | vaapi_hevc_start_frame (AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size) |
Initialize and start decoding a frame with VA API. More... | |
static int | vaapi_hevc_end_frame (AVCodecContext *avctx) |
End a hardware decoding based frame. More... | |
static int | fill_pred_weight_table (HEVCContext *const h, VASliceParameterBufferHEVC *slice_param, SliceHeader *const sh) |
static int | vaapi_hevc_decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) |
Decode the given hevc slice with VA API. More... | |
Variables | |
AVHWAccel | ff_hevc_vaapi_hwaccel |
This file implements the glue code between FFmpeg's and VA API's structures for HEVC decoding.
Definition in file vaapi_hevc.c.
|
static |
Initialize an empty VA API picture.
VA API requires a fixed-size reference picture array.
Definition at line 43 of file vaapi_hevc.c.
Referenced by fill_vaapi_ReferenceFrames().
Definition at line 50 of file vaapi_hevc.c.
Referenced by fill_picture_parameters(), and fill_vaapi_ReferenceFrames().
|
static |
Definition at line 68 of file vaapi_hevc.c.
Referenced by fill_vaapi_ReferenceFrames().
|
static |
Definition at line 91 of file vaapi_hevc.c.
Referenced by fill_picture_parameters().
|
static |
Definition at line 114 of file vaapi_hevc.c.
Referenced by vaapi_hevc_decode_slice().
|
static |
Definition at line 133 of file vaapi_hevc.c.
Referenced by vaapi_hevc_start_frame().
|
static |
Initialize and start decoding a frame with VA API.
Definition at line 258 of file vaapi_hevc.c.
|
static |
End a hardware decoding based frame.
Definition at line 317 of file vaapi_hevc.c.
|
static |
Definition at line 341 of file vaapi_hevc.c.
Referenced by vaapi_hevc_decode_slice().
|
static |
Decode the given hevc slice with VA API.
Definition at line 395 of file vaapi_hevc.c.
AVHWAccel ff_hevc_vaapi_hwaccel |
Definition at line 478 of file vaapi_hevc.c.