FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "internal.h"
#include "vaapi_decode.h"
Go to the source code of this file.
Macros | |
#define | MAP(c, p, v) { AV_CODEC_ID_ ## c, FF_PROFILE_ ## p, VAProfile ## v } |
Functions | |
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, size_t params_size, const void *slice_data, size_t slice_size) |
static void | ff_vaapi_decode_destroy_buffers (AVCodecContext *avctx, VAAPIDecodePicture *pic) |
int | ff_vaapi_decode_issue (AVCodecContext *avctx, VAAPIDecodePicture *pic) |
int | ff_vaapi_decode_cancel (AVCodecContext *avctx, VAAPIDecodePicture *pic) |
static int | vaapi_decode_make_config (AVCodecContext *avctx) |
int | ff_vaapi_decode_init (AVCodecContext *avctx) |
int | ff_vaapi_decode_uninit (AVCodecContext *avctx) |
Variables | |
struct { | |
enum AVCodecID codec_id | |
int codec_profile | |
VAProfile va_profile | |
} | vaapi_profile_map [] |
int ff_vaapi_decode_make_param_buffer | ( | AVCodecContext * | avctx, |
VAAPIDecodePicture * | pic, | ||
int | type, | ||
const void * | data, | ||
size_t | size | ||
) |
Definition at line 28 of file vaapi_decode.c.
Referenced by vaapi_h264_start_frame(), vaapi_hevc_start_frame(), vaapi_mpeg2_start_frame(), vaapi_mpeg4_start_frame(), vaapi_vc1_start_frame(), and vaapi_vp9_start_frame().
int ff_vaapi_decode_make_slice_buffer | ( | AVCodecContext * | avctx, |
VAAPIDecodePicture * | pic, | ||
const void * | params_data, | ||
size_t | params_size, | ||
const void * | slice_data, | ||
size_t | slice_size | ||
) |
Definition at line 57 of file vaapi_decode.c.
Referenced by vaapi_h264_decode_slice(), vaapi_hevc_decode_slice(), vaapi_hevc_end_frame(), vaapi_mpeg2_decode_slice(), vaapi_mpeg4_decode_slice(), vaapi_vc1_decode_slice(), and vaapi_vp9_decode_slice().
|
static |
Definition at line 121 of file vaapi_decode.c.
Referenced by ff_vaapi_decode_cancel(), and ff_vaapi_decode_issue().
int ff_vaapi_decode_issue | ( | AVCodecContext * | avctx, |
VAAPIDecodePicture * | pic | ||
) |
Definition at line 149 of file vaapi_decode.c.
Referenced by vaapi_h264_end_frame(), vaapi_hevc_end_frame(), vaapi_mpeg2_end_frame(), vaapi_mpeg4_end_frame(), vaapi_vc1_end_frame(), and vaapi_vp9_end_frame().
int ff_vaapi_decode_cancel | ( | AVCodecContext * | avctx, |
VAAPIDecodePicture * | pic | ||
) |
Definition at line 221 of file vaapi_decode.c.
Referenced by vaapi_h264_decode_slice(), vaapi_h264_start_frame(), vaapi_hevc_decode_slice(), vaapi_hevc_end_frame(), vaapi_hevc_start_frame(), vaapi_mpeg2_decode_slice(), vaapi_mpeg2_start_frame(), vaapi_mpeg4_decode_slice(), vaapi_mpeg4_start_frame(), vaapi_vc1_decode_slice(), vaapi_vc1_start_frame(), vaapi_vp9_decode_slice(), and vaapi_vp9_start_frame().
|
static |
Definition at line 276 of file vaapi_decode.c.
Referenced by ff_vaapi_decode_init().
int ff_vaapi_decode_init | ( | AVCodecContext * | avctx | ) |
Definition at line 478 of file vaapi_decode.c.
int ff_vaapi_decode_uninit | ( | AVCodecContext * | avctx | ) |
Definition at line 610 of file vaapi_decode.c.
Referenced by ff_vaapi_decode_init().
enum AVCodecID codec_id |
Definition at line 235 of file vaapi_decode.c.
Referenced by ac3_eac3_probe(), add_stream(), audio_read_header(), audio_write_header(), av_guess_codec(), check_codec_match(), checkasm_check_h264pred(), dshow_cycle_formats(), ff_mp4_read_dec_config_descr(), ff_spdif_read_packet(), ff_vbv_update(), ffat_create_decoder(), flv_same_audio_codec(), list_formats(), matroska_parse_tracks(), mkv_write_track(), mpegaudio_parse(), mpegps_read_packet(), mxf_parse_structural_metadata(), open_output_file(), pulse_read_header(), pulse_read_packet(), and v4l2_read_header().
int codec_profile |
Definition at line 236 of file vaapi_decode.c.
VAProfile va_profile |
Definition at line 237 of file vaapi_decode.c.
const { ... } vaapi_profile_map[] |
Referenced by vaapi_decode_make_config().