FFmpeg
|
#include <va/va.h>
#include "libavutil/frame.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_vaapi.h"
#include "avcodec.h"
Go to the source code of this file.
Data Structures | |
struct | VAAPIDecodePicture |
struct | VAAPIDecodeContext |
Functions | |
static VASurfaceID | ff_vaapi_get_surface_id (AVFrame *pic) |
int | ff_vaapi_decode_make_param_buffer (AVCodecContext *avctx, VAAPIDecodePicture *pic, int type, const void *data, size_t size) |
int | ff_vaapi_decode_make_slice_buffer (AVCodecContext *avctx, VAAPIDecodePicture *pic, const void *params_data, int nb_params, size_t params_size, const void *slice_data, size_t slice_size) |
int | ff_vaapi_decode_issue (AVCodecContext *avctx, VAAPIDecodePicture *pic) |
int | ff_vaapi_decode_cancel (AVCodecContext *avctx, VAAPIDecodePicture *pic) |
int | ff_vaapi_decode_init (AVCodecContext *avctx) |
int | ff_vaapi_decode_uninit (AVCodecContext *avctx) |
int | ff_vaapi_common_frame_params (AVCodecContext *avctx, AVBufferRef *hw_frames_ctx) |
|
inlinestatic |
Definition at line 30 of file vaapi_decode.h.
Referenced by dpb_add(), fill_vaapi_pic(), find_frame_rps_type(), get_ref_pic_index(), vaapi_av1_surface_id(), vaapi_h264_start_frame(), vaapi_hevc_start_frame(), vaapi_mjpeg_start_frame(), vaapi_mpeg2_start_frame(), vaapi_mpeg4_start_frame(), vaapi_vc1_start_frame(), vaapi_vp8_surface_id(), vaapi_vp9_start_frame(), and vaapi_vp9_surface_id().
int ff_vaapi_decode_make_param_buffer | ( | AVCodecContext * | avctx, |
VAAPIDecodePicture * | pic, | ||
int | type, | ||
const void * | data, | ||
size_t | size | ||
) |
Definition at line 34 of file vaapi_decode.c.
Referenced by vaapi_h264_start_frame(), vaapi_hevc_start_frame(), vaapi_mjpeg_decode_slice(), vaapi_mjpeg_start_frame(), vaapi_mpeg2_start_frame(), vaapi_mpeg4_start_frame(), vaapi_vp8_start_frame(), and vaapi_vp9_start_frame().
int ff_vaapi_decode_make_slice_buffer | ( | AVCodecContext * | avctx, |
VAAPIDecodePicture * | pic, | ||
const void * | params_data, | ||
int | nb_params, | ||
size_t | params_size, | ||
const void * | slice_data, | ||
size_t | slice_size | ||
) |
Definition at line 75 of file vaapi_decode.c.
Referenced by vaapi_av1_decode_slice(), vaapi_h264_decode_slice(), vaapi_hevc_decode_slice(), vaapi_hevc_end_frame(), vaapi_mjpeg_decode_slice(), vaapi_mpeg2_decode_slice(), vaapi_mpeg4_decode_slice(), vaapi_vc1_decode_slice(), vaapi_vp8_decode_slice(), vaapi_vp9_decode_slice(), and vaapi_vvc_decode_slice().
int ff_vaapi_decode_issue | ( | AVCodecContext * | avctx, |
VAAPIDecodePicture * | pic | ||
) |
Definition at line 166 of file vaapi_decode.c.
Referenced by vaapi_av1_end_frame(), vaapi_h264_end_frame(), vaapi_hevc_end_frame(), vaapi_mjpeg_end_frame(), vaapi_mpeg2_end_frame(), vaapi_mpeg4_end_frame(), vaapi_vc1_end_frame(), vaapi_vp8_end_frame(), vaapi_vp9_end_frame(), and vaapi_vvc_end_frame().
int ff_vaapi_decode_cancel | ( | AVCodecContext * | avctx, |
VAAPIDecodePicture * | pic | ||
) |
Definition at line 247 of file vaapi_decode.c.
Referenced by vaapi_av1_decode_slice(), vaapi_h264_decode_slice(), vaapi_h264_start_frame(), vaapi_hevc_decode_slice(), vaapi_hevc_end_frame(), vaapi_hevc_start_frame(), vaapi_mjpeg_decode_slice(), vaapi_mjpeg_start_frame(), vaapi_mpeg2_decode_slice(), vaapi_mpeg2_start_frame(), vaapi_mpeg4_decode_slice(), vaapi_mpeg4_start_frame(), vaapi_vc1_decode_slice(), vaapi_vp8_decode_slice(), vaapi_vp8_start_frame(), vaapi_vp9_decode_slice(), vaapi_vp9_start_frame(), vaapi_vvc_decode_slice(), and vaapi_vvc_end_frame().
int ff_vaapi_decode_init | ( | AVCodecContext * | avctx | ) |
Definition at line 692 of file vaapi_decode.c.
Referenced by vaapi_av1_decode_init().
int ff_vaapi_decode_uninit | ( | AVCodecContext * | avctx | ) |
Definition at line 738 of file vaapi_decode.c.
Referenced by ff_vaapi_decode_init(), and vaapi_av1_decode_uninit().
int ff_vaapi_common_frame_params | ( | AVCodecContext * | avctx, |
AVBufferRef * | hw_frames_ctx | ||
) |
Definition at line 668 of file vaapi_decode.c.