FFmpeg
|
#include "config.h"
#include <fcntl.h>
#include <unistd.h>
#include <va/va.h>
#include "libavutil/avassert.h"
#include "libavutil/avconfig.h"
#include "libavutil/buffer.h"
#include "libavutil/frame.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_vaapi.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/pixfmt.h"
#include "libavcodec/vaapi.h"
#include "ffmpeg.h"
Go to the source code of this file.
Data Structures | |
struct | VAAPIDecoderContext |
Macros | |
#define | DEFAULT_SURFACES 20 |
#define | MAP(c, p, v) { AV_CODEC_ID_ ## c, FF_PROFILE_ ## p, VAProfile ## v } |
Functions | |
static int | vaapi_get_buffer (AVCodecContext *avctx, AVFrame *frame, int flags) |
static int | vaapi_retrieve_data (AVCodecContext *avctx, AVFrame *input) |
static int | vaapi_build_decoder_config (VAAPIDecoderContext *ctx, AVCodecContext *avctx, int fallback_allowed) |
static void | vaapi_decode_uninit (AVCodecContext *avctx) |
int | vaapi_decode_init (AVCodecContext *avctx) |
av_cold int | vaapi_device_init (const char *device) |
Variables | |
static AVClass | vaapi_class |
struct { | |
enum AVCodecID codec_id | |
int codec_profile | |
VAProfile va_profile | |
} | vaapi_profile_map [] |
static AVClass * | vaapi_log = &vaapi_class |
#define DEFAULT_SURFACES 20 |
Definition at line 53 of file ffmpeg_vaapi.c.
Referenced by vaapi_build_decoder_config().
|
static |
Definition at line 83 of file ffmpeg_vaapi.c.
Referenced by vaapi_decode_init().
|
static |
Definition at line 99 of file ffmpeg_vaapi.c.
Referenced by vaapi_decode_init().
|
static |
Definition at line 186 of file ffmpeg_vaapi.c.
Referenced by vaapi_decode_init().
|
static |
Definition at line 381 of file ffmpeg_vaapi.c.
Referenced by vaapi_decode_init().
int vaapi_decode_init | ( | AVCodecContext * | avctx | ) |
Definition at line 411 of file ffmpeg_vaapi.c.
av_cold int vaapi_device_init | ( | const char * | device | ) |
Definition at line 526 of file ffmpeg_vaapi.c.
Referenced by vaapi_decode_init().
|
static |
Definition at line 47 of file ffmpeg_vaapi.c.
Referenced by vaapi_decode_init().
enum AVCodecID codec_id |
Definition at line 149 of file ffmpeg_vaapi.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 150 of file ffmpeg_vaapi.c.
VAProfile va_profile |
Definition at line 151 of file ffmpeg_vaapi.c.
const { ... } vaapi_profile_map[] |
Referenced by vaapi_build_decoder_config().
|
static |
Definition at line 524 of file ffmpeg_vaapi.c.