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 643 of file qsvenc.c.
Referenced by init_video_param().
|
static |
Definition at line 674 of file qsvenc.c.
Referenced by init_video_param().
|
static |
Definition at line 680 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 746 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1266 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1286 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1340 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1390 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1522 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1560 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
int ff_qsv_enc_init | ( | AVCodecContext * | avctx, |
QSVEncContext * | q | ||
) |
Definition at line 1606 of file qsvenc.c.
Referenced by qsv_enc_init().
|
static |
Definition at line 1758 of file qsvenc.c.
Referenced by clear_unused_frames(), and ff_qsv_enc_close().
|
static |
Definition at line 1772 of file qsvenc.c.
Referenced by get_free_frame().
|
static |
Definition at line 1791 of file qsvenc.c.
Referenced by submit_frame().
Definition at line 1828 of file qsvenc.c.
Referenced by submit_frame().
Definition at line 1887 of file qsvenc.c.
Referenced by submit_frame().
|
static |
Definition at line 1942 of file qsvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 2030 of file qsvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 2042 of file qsvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 2103 of file qsvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 2116 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2145 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2163 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2177 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2205 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2270 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2292 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2316 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2349 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2368 of file qsvenc.c.
Referenced by ff_qsv_encode(), and update_parameters().
|
static |
Definition at line 2488 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 2548 of file qsvenc.c.
Referenced by qsv_enc_frame().
int ff_qsv_enc_close | ( | AVCodecContext * | avctx, |
QSVEncContext * | q | ||
) |
Definition at line 2614 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[] |