FFmpeg
|
#include <string.h>
#include <sys/types.h>
#include <mfxvideo.h>
#include "libavutil/avassert.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 "avcodec.h"
#include "encode.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 98 of file qsvenc.c.
Referenced by dump_video_param(), and dump_video_vp9_param().
|
static |
Definition at line 173 of file qsvenc.c.
Referenced by dump_video_param(), and dump_video_vp9_param().
|
static |
Definition at line 182 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 191 of file qsvenc.c.
Referenced by qsv_retrieve_enc_params().
|
static |
Definition at line 403 of file qsvenc.c.
Referenced by qsv_retrieve_enc_vp9_params().
|
static |
Definition at line 474 of file qsvenc.c.
Referenced by qsv_retrieve_enc_jpeg_params().
|
static |
Definition at line 570 of file qsvenc.c.
Referenced by init_video_param().
|
static |
Definition at line 668 of file qsvenc.c.
Referenced by init_video_param().
|
static |
Definition at line 699 of file qsvenc.c.
Referenced by init_video_param().
|
static |
Definition at line 705 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 771 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1291 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1311 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1365 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1415 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1547 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1585 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
int ff_qsv_enc_init | ( | AVCodecContext * | avctx, |
QSVEncContext * | q | ||
) |
Definition at line 1631 of file qsvenc.c.
Referenced by qsv_enc_init().
|
static |
Definition at line 1783 of file qsvenc.c.
Referenced by clear_unused_frames(), and ff_qsv_enc_close().
|
static |
Definition at line 1797 of file qsvenc.c.
Referenced by get_free_frame().
|
static |
Definition at line 1816 of file qsvenc.c.
Referenced by submit_frame().
Definition at line 1853 of file qsvenc.c.
Referenced by submit_frame().
Definition at line 1912 of file qsvenc.c.
Referenced by submit_frame().
|
static |
Definition at line 1967 of file qsvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 2055 of file qsvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 2067 of file qsvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 2128 of file qsvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 2141 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2170 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2188 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2202 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2230 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2295 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2317 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2341 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2374 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2393 of file qsvenc.c.
Referenced by ff_qsv_encode(), and update_parameters().
|
static |
Definition at line 2513 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 2573 of file qsvenc.c.
Referenced by qsv_enc_frame().
int ff_qsv_enc_close | ( | AVCodecContext * | avctx, |
QSVEncContext * | q | ||
) |
Definition at line 2641 of file qsvenc.c.
Referenced by qsv_enc_close(), and qsv_enc_init().
|
static |
Definition at line 50 of file qsvenc.c.
Referenced by print_profile().
|
static |
Definition at line 61 of file qsvenc.c.
Referenced by print_profile().
|
static |
Definition at line 67 of file qsvenc.c.
Referenced by print_profile().
|
static |
Definition at line 77 of file qsvenc.c.
Referenced by print_profile().
|
static |
mfxU16 rc_mode |
Definition at line 141 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[] |