FFmpeg
|
#include "config_components.h"
#include <string.h>
#include <sys/types.h>
#include <mfxvideo.h>
#include "libavutil/common.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_qsv.h"
#include "libavutil/mem.h"
#include "libavutil/log.h"
#include "libavutil/time.h"
#include "libavutil/imgutils.h"
#include "libavcodec/bytestream.h"
#include "avcodec.h"
#include "internal.h"
#include "packet_internal.h"
#include "qsv.h"
#include "qsv_internal.h"
#include "qsvenc.h"
Go to the source code of this file.
Data Structures | |
struct | profile_names |
struct | QSVPacket |
Macros | |
#define | UPDATE_PARAM(a, b) |
#define | MFX_IMPL_VIA_MASK(impl) (0x0f00 & (impl)) |
#define | UNMATCH(x) (param_out.mfx.x != q->param.mfx.x) |
Variables | |
static const struct profile_names | avc_profiles [] |
static const struct profile_names | mpeg2_profiles [] |
static const struct profile_names | hevc_profiles [] |
static const struct profile_names | vp9_profiles [] |
static const struct profile_names | av1_profiles [] |
struct { | |
mfxU16 rc_mode | |
const char * name | |
} | rc_names [] |
const AVCodecHWConfigInternal *const | ff_qsv_enc_hw_configs [] |
#define UNMATCH | ( | x | ) | (param_out.mfx.x != q->param.mfx.x) |
|
static |
Definition at line 99 of file qsvenc.c.
Referenced by dump_video_param(), and dump_video_vp9_param().
|
static |
Definition at line 174 of file qsvenc.c.
Referenced by dump_video_param(), and dump_video_vp9_param().
|
static |
Definition at line 183 of file qsvenc.c.
Referenced by dump_video_param(), dump_video_vp9_param(), update_low_delay_brc(), and update_pic_timing_sei().
|
static |
Definition at line 192 of file qsvenc.c.
Referenced by qsv_retrieve_enc_params().
|
static |
Definition at line 404 of file qsvenc.c.
Referenced by qsv_retrieve_enc_vp9_params().
|
static |
Definition at line 475 of file qsvenc.c.
Referenced by qsv_retrieve_enc_jpeg_params().
|
static |
Definition at line 571 of file qsvenc.c.
Referenced by init_video_param().
|
static |
Definition at line 644 of file qsvenc.c.
Referenced by init_video_param().
|
static |
Definition at line 675 of file qsvenc.c.
Referenced by init_video_param().
|
static |
Definition at line 681 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 747 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1260 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1280 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1334 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1384 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1516 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1554 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
int ff_qsv_enc_init | ( | AVCodecContext * | avctx, |
QSVEncContext * | q | ||
) |
Definition at line 1600 of file qsvenc.c.
Referenced by qsv_enc_init().
|
static |
Definition at line 1752 of file qsvenc.c.
Referenced by clear_unused_frames(), and ff_qsv_enc_close().
|
static |
Definition at line 1766 of file qsvenc.c.
Referenced by get_free_frame().
|
static |
Definition at line 1785 of file qsvenc.c.
Referenced by submit_frame().
Definition at line 1822 of file qsvenc.c.
Referenced by submit_frame().
|
static |
Definition at line 1880 of file qsvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 1968 of file qsvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 1980 of file qsvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 2041 of file qsvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 2054 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2083 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2101 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2115 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2143 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2208 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2228 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2252 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2285 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2304 of file qsvenc.c.
Referenced by ff_qsv_encode(), and update_parameters().
|
static |
Definition at line 2424 of file qsvenc.c.
Referenced by ff_qsv_encode().
int ff_qsv_encode | ( | AVCodecContext * | avctx, |
QSVEncContext * | q, | ||
AVPacket * | pkt, | ||
const AVFrame * | frame, | ||
int * | got_packet | ||
) |
Definition at line 2484 of file qsvenc.c.
Referenced by qsv_enc_frame().
int ff_qsv_enc_close | ( | AVCodecContext * | avctx, |
QSVEncContext * | q | ||
) |
Definition at line 2550 of file qsvenc.c.
Referenced by qsv_enc_close(), and qsv_enc_init().
|
static |
Definition at line 51 of file qsvenc.c.
Referenced by print_profile().
|
static |
Definition at line 62 of file qsvenc.c.
Referenced by print_profile().
|
static |
Definition at line 68 of file qsvenc.c.
Referenced by print_profile().
|
static |
Definition at line 78 of file qsvenc.c.
Referenced by print_profile().
|
static |
mfxU16 rc_mode |
Definition at line 142 of file qsvenc.c.
Referenced by print_ratecontrol(), select_rc_mode(), and vaapi_encode_init_rate_control().
const { ... } rc_names[] |
Referenced by print_ratecontrol().
const AVCodecHWConfigInternal* const ff_qsv_enc_hw_configs[] |