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/dict.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"
#include "libavutil/refstruct.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 100 of file qsvenc.c.
Referenced by dump_video_param(), and dump_video_vp9_param().
|
static |
Definition at line 175 of file qsvenc.c.
Referenced by dump_video_param(), and dump_video_vp9_param().
|
static |
Definition at line 184 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 193 of file qsvenc.c.
Referenced by qsv_retrieve_enc_params().
|
static |
Definition at line 405 of file qsvenc.c.
Referenced by qsv_retrieve_enc_vp9_params().
|
static |
Definition at line 476 of file qsvenc.c.
Referenced by qsv_retrieve_enc_jpeg_params().
|
static |
Definition at line 572 of file qsvenc.c.
Referenced by init_video_param().
|
static |
Definition at line 670 of file qsvenc.c.
Referenced by init_video_param().
|
static |
Definition at line 701 of file qsvenc.c.
Referenced by init_video_param().
|
static |
Definition at line 707 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 774 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1295 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1315 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1369 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1419 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1551 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 1589 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
int ff_qsv_enc_init | ( | AVCodecContext * | avctx, |
QSVEncContext * | q | ||
) |
Definition at line 1635 of file qsvenc.c.
Referenced by qsv_enc_init().
|
static |
Definition at line 1850 of file qsvenc.c.
Referenced by clear_unused_frames(), and ff_qsv_enc_close().
|
static |
Definition at line 1864 of file qsvenc.c.
Referenced by get_free_frame().
|
static |
Definition at line 1883 of file qsvenc.c.
Referenced by submit_frame().
|
static |
Definition at line 1920 of file qsvenc.c.
Referenced by submit_frame().
|
static |
Definition at line 1979 of file qsvenc.c.
Referenced by submit_frame().
|
static |
Definition at line 2034 of file qsvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 2122 of file qsvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 2134 of file qsvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 2195 of file qsvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 2208 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2237 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2255 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2269 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2297 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2362 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2384 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2408 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2441 of file qsvenc.c.
Referenced by update_parameters().
|
static |
Definition at line 2460 of file qsvenc.c.
Referenced by ff_qsv_encode(), and update_parameters().
|
static |
Definition at line 2580 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 2640 of file qsvenc.c.
Referenced by qsv_enc_frame().
int ff_qsv_enc_close | ( | AVCodecContext * | avctx, |
QSVEncContext * | q | ||
) |
Definition at line 2708 of file qsvenc.c.
Referenced by qsv_enc_close(), and qsv_enc_init().
|
static |
Definition at line 52 of file qsvenc.c.
Referenced by print_profile().
|
static |
Definition at line 63 of file qsvenc.c.
Referenced by print_profile().
|
static |
Definition at line 69 of file qsvenc.c.
Referenced by print_profile().
|
static |
Definition at line 79 of file qsvenc.c.
Referenced by print_profile().
|
static |
mfxU16 rc_mode |
Definition at line 143 of file qsvenc.c.
Referenced by check_rate_control_support(), d3d12va_encode_init_rate_control(), 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[] |