FFmpeg
Loading...
Searching...
No Matches
qsvenc.c File Reference
#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 "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)
 
#define UNMATCH(x)
 

Functions

static const char * print_profile (enum AVCodecID codec_id, mfxU16 profile)
 
static const char * print_ratecontrol (mfxU16 rc_mode)
 
static const char * print_threestate (mfxU16 val)
 
static void dump_video_param (AVCodecContext *avctx, QSVEncContext *q, mfxExtBuffer **coding_opts)
 
static void dump_video_vp9_param (AVCodecContext *avctx, QSVEncContext *q, mfxExtBuffer **coding_opts)
 
static void dump_video_mjpeg_param (AVCodecContext *avctx, QSVEncContext *q)
 
static int select_rc_mode (AVCodecContext *avctx, QSVEncContext *q)
 
static int check_enc_param (AVCodecContext *avctx, QSVEncContext *q)
 
static int is_strict_gop (QSVEncContext *q)
 
static int init_video_param_jpeg (AVCodecContext *avctx, QSVEncContext *q)
 
static int init_video_param (AVCodecContext *avctx, QSVEncContext *q)
 
static int qsv_retrieve_enc_jpeg_params (AVCodecContext *avctx, QSVEncContext *q)
 
static int qsv_retrieve_enc_vp9_params (AVCodecContext *avctx, QSVEncContext *q)
 
static int qsv_retrieve_enc_av1_params (AVCodecContext *avctx, QSVEncContext *q)
 
static int qsv_retrieve_enc_params (AVCodecContext *avctx, QSVEncContext *q)
 
static int qsvenc_init_session (AVCodecContext *avctx, QSVEncContext *q)
 
int ff_qsv_enc_init (AVCodecContext *avctx, QSVEncContext *q)
 
static void free_encoder_ctrl (mfxEncodeCtrl *enc_ctrl)
 
static void clear_unused_frames (QSVEncContext *q)
 
static int get_free_frame (QSVEncContext *q, QSVFrame **f)
 
static int qsvenc_fill_padding_area (AVFrame *frame, int new_w, int new_h)
 
static int qsvenc_get_continuous_buffer (AVFrame *frame)
 
static int submit_frame (QSVEncContext *q, const AVFrame *frame, QSVFrame **new_frame)
 
static void print_interlace_msg (AVCodecContext *avctx, QSVEncContext *q)
 
static int set_roi_encode_ctrl (AVCodecContext *avctx, const AVFrame *frame, mfxEncodeCtrl *enc_ctrl)
 
static void set_skip_frame_encode_ctrl (AVCodecContext *avctx, const AVFrame *frame, mfxEncodeCtrl *enc_ctrl)
 
static int update_qp (AVCodecContext *avctx, QSVEncContext *q)
 
static int update_max_frame_size (AVCodecContext *avctx, QSVEncContext *q)
 
static int update_gop_size (AVCodecContext *avctx, QSVEncContext *q)
 
static int update_rir (AVCodecContext *avctx, QSVEncContext *q)
 
static int update_min_max_qp (AVCodecContext *avctx, QSVEncContext *q)
 
static int update_low_delay_brc (AVCodecContext *avctx, QSVEncContext *q)
 
static int update_frame_rate (AVCodecContext *avctx, QSVEncContext *q)
 
static int update_bitrate (AVCodecContext *avctx, QSVEncContext *q)
 
static int update_pic_timing_sei (AVCodecContext *avctx, QSVEncContext *q)
 
static int encode_frame (AVCodecContext *avctx, QSVEncContext *q, const AVFrame *frame)
 
static int update_parameters (AVCodecContext *avctx, QSVEncContext *q, const AVFrame *frame)
 
int ff_qsv_encode (AVCodecContext *avctx, QSVEncContext *q, AVPacket *pkt, const AVFrame *frame, int *got_packet)
 
int ff_qsv_enc_close (AVCodecContext *avctx, QSVEncContext *q)
 

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 []
 

Macro Definition Documentation

◆ UPDATE_PARAM

#define UPDATE_PARAM ( a,
b )
Value:
do { \
if ((a) != (b)) { \
a = b; \
updated = 1; \
} \
} while (0) \
int a
#define b
Definition input.c:43

Definition at line 163 of file qsvenc.c.

Referenced by update_bitrate(), update_frame_rate(), update_gop_size(), update_low_delay_brc(), update_max_frame_size(), update_min_max_qp(), update_pic_timing_sei(), update_qp(), and update_rir().

◆ MFX_IMPL_VIA_MASK

#define MFX_IMPL_VIA_MASK ( impl)
Value:
(0x0f00 & (impl))

Definition at line 171 of file qsvenc.c.

Referenced by init_video_param().

◆ UNMATCH

#define UNMATCH ( x)
Value:
(param_out.mfx.x != q->param.mfx.x)

Referenced by check_enc_param().

Function Documentation

◆ print_profile()

static const char * print_profile ( enum AVCodecID codec_id,
mfxU16 profile )
static

Definition at line 98 of file qsvenc.c.

Referenced by dump_video_param(), and dump_video_vp9_param().

◆ print_ratecontrol()

static const char * print_ratecontrol ( mfxU16 rc_mode)
static

Definition at line 173 of file qsvenc.c.

Referenced by dump_video_param(), and dump_video_vp9_param().

◆ print_threestate()

static const char * print_threestate ( mfxU16 val)
static

◆ dump_video_param()

static void dump_video_param ( AVCodecContext * avctx,
QSVEncContext * q,
mfxExtBuffer ** coding_opts )
static

Definition at line 191 of file qsvenc.c.

Referenced by qsv_retrieve_enc_params().

◆ dump_video_vp9_param()

static void dump_video_vp9_param ( AVCodecContext * avctx,
QSVEncContext * q,
mfxExtBuffer ** coding_opts )
static

Definition at line 403 of file qsvenc.c.

Referenced by qsv_retrieve_enc_vp9_params().

◆ dump_video_mjpeg_param()

static void dump_video_mjpeg_param ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 474 of file qsvenc.c.

Referenced by qsv_retrieve_enc_jpeg_params().

◆ select_rc_mode()

static int select_rc_mode ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 570 of file qsvenc.c.

Referenced by init_video_param().

◆ check_enc_param()

static int check_enc_param ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 668 of file qsvenc.c.

Referenced by init_video_param().

◆ is_strict_gop()

static int is_strict_gop ( QSVEncContext * q)
static

Definition at line 701 of file qsvenc.c.

Referenced by init_video_param().

◆ init_video_param_jpeg()

static int init_video_param_jpeg ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 707 of file qsvenc.c.

Referenced by ff_qsv_enc_init().

◆ init_video_param()

static int init_video_param ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 774 of file qsvenc.c.

Referenced by ff_qsv_enc_init().

◆ qsv_retrieve_enc_jpeg_params()

static int qsv_retrieve_enc_jpeg_params ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 1297 of file qsvenc.c.

Referenced by ff_qsv_enc_init().

◆ qsv_retrieve_enc_vp9_params()

static int qsv_retrieve_enc_vp9_params ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 1317 of file qsvenc.c.

Referenced by ff_qsv_enc_init().

◆ qsv_retrieve_enc_av1_params()

static int qsv_retrieve_enc_av1_params ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 1371 of file qsvenc.c.

Referenced by ff_qsv_enc_init().

◆ qsv_retrieve_enc_params()

static int qsv_retrieve_enc_params ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 1421 of file qsvenc.c.

Referenced by ff_qsv_enc_init().

◆ qsvenc_init_session()

static int qsvenc_init_session ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 1591 of file qsvenc.c.

Referenced by ff_qsv_enc_init().

◆ ff_qsv_enc_init()

int ff_qsv_enc_init ( AVCodecContext * avctx,
QSVEncContext * q )

◆ free_encoder_ctrl()

static void free_encoder_ctrl ( mfxEncodeCtrl * enc_ctrl)
static

Definition at line 1852 of file qsvenc.c.

Referenced by clear_unused_frames(), and ff_qsv_enc_close().

◆ clear_unused_frames()

static void clear_unused_frames ( QSVEncContext * q)
static

Definition at line 1866 of file qsvenc.c.

Referenced by get_free_frame().

◆ get_free_frame()

static int get_free_frame ( QSVEncContext * q,
QSVFrame ** f )
static

Definition at line 1885 of file qsvenc.c.

Referenced by submit_frame().

◆ qsvenc_fill_padding_area()

static int qsvenc_fill_padding_area ( AVFrame * frame,
int new_w,
int new_h )
static

Definition at line 1922 of file qsvenc.c.

Referenced by submit_frame().

◆ qsvenc_get_continuous_buffer()

static int qsvenc_get_continuous_buffer ( AVFrame * frame)
static

Definition at line 1981 of file qsvenc.c.

Referenced by submit_frame().

◆ submit_frame()

static int submit_frame ( QSVEncContext * q,
const AVFrame * frame,
QSVFrame ** new_frame )
static

Definition at line 2036 of file qsvenc.c.

Referenced by encode_frame().

◆ print_interlace_msg()

static void print_interlace_msg ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 2124 of file qsvenc.c.

Referenced by encode_frame().

◆ set_roi_encode_ctrl()

static int set_roi_encode_ctrl ( AVCodecContext * avctx,
const AVFrame * frame,
mfxEncodeCtrl * enc_ctrl )
static

Definition at line 2136 of file qsvenc.c.

Referenced by encode_frame().

◆ set_skip_frame_encode_ctrl()

static void set_skip_frame_encode_ctrl ( AVCodecContext * avctx,
const AVFrame * frame,
mfxEncodeCtrl * enc_ctrl )
static

Definition at line 2197 of file qsvenc.c.

Referenced by encode_frame().

◆ update_qp()

static int update_qp ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 2210 of file qsvenc.c.

Referenced by update_parameters().

◆ update_max_frame_size()

static int update_max_frame_size ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 2239 of file qsvenc.c.

Referenced by update_parameters().

◆ update_gop_size()

static int update_gop_size ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 2257 of file qsvenc.c.

Referenced by update_parameters().

◆ update_rir()

static int update_rir ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 2271 of file qsvenc.c.

Referenced by update_parameters().

◆ update_min_max_qp()

static int update_min_max_qp ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 2299 of file qsvenc.c.

Referenced by update_parameters().

◆ update_low_delay_brc()

static int update_low_delay_brc ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 2364 of file qsvenc.c.

Referenced by update_parameters().

◆ update_frame_rate()

static int update_frame_rate ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 2386 of file qsvenc.c.

Referenced by update_parameters().

◆ update_bitrate()

static int update_bitrate ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 2410 of file qsvenc.c.

Referenced by update_parameters().

◆ update_pic_timing_sei()

static int update_pic_timing_sei ( AVCodecContext * avctx,
QSVEncContext * q )
static

Definition at line 2443 of file qsvenc.c.

Referenced by update_parameters().

◆ encode_frame()

static int encode_frame ( AVCodecContext * avctx,
QSVEncContext * q,
const AVFrame * frame )
static

Definition at line 2462 of file qsvenc.c.

Referenced by ff_qsv_encode(), and update_parameters().

◆ update_parameters()

static int update_parameters ( AVCodecContext * avctx,
QSVEncContext * q,
const AVFrame * frame )
static

Definition at line 2582 of file qsvenc.c.

Referenced by ff_qsv_encode().

◆ ff_qsv_encode()

int ff_qsv_encode ( AVCodecContext * avctx,
QSVEncContext * q,
AVPacket * pkt,
const AVFrame * frame,
int * got_packet )

◆ ff_qsv_enc_close()

int ff_qsv_enc_close ( AVCodecContext * avctx,
QSVEncContext * q )

Variable Documentation

◆ avc_profiles

const struct profile_names avc_profiles[]
static
Initial value:
= {
{ MFX_PROFILE_AVC_BASELINE, "avc baseline" },
{ MFX_PROFILE_AVC_MAIN, "avc main" },
{ MFX_PROFILE_AVC_EXTENDED, "avc extended" },
{ MFX_PROFILE_AVC_HIGH, "avc high" },
{ MFX_PROFILE_AVC_HIGH_422, "avc high 422" },
{ MFX_PROFILE_AVC_CONSTRAINED_BASELINE, "avc constrained baseline" },
{ MFX_PROFILE_AVC_CONSTRAINED_HIGH, "avc constrained high" },
{ MFX_PROFILE_AVC_PROGRESSIVE_HIGH, "avc progressive high" },
}

Definition at line 50 of file qsvenc.c.

Referenced by print_profile().

◆ mpeg2_profiles

const struct profile_names mpeg2_profiles[]
static
Initial value:
= {
{ MFX_PROFILE_MPEG2_SIMPLE, "mpeg2 simple" },
{ MFX_PROFILE_MPEG2_MAIN, "mpeg2 main" },
{ MFX_PROFILE_MPEG2_HIGH, "mpeg2 high" },
}

Definition at line 61 of file qsvenc.c.

Referenced by print_profile().

◆ hevc_profiles

const struct profile_names hevc_profiles[]
static
Initial value:
= {
{ MFX_PROFILE_HEVC_MAIN, "hevc main" },
{ MFX_PROFILE_HEVC_MAIN10, "hevc main10" },
{ MFX_PROFILE_HEVC_MAINSP, "hevc mainsp" },
{ MFX_PROFILE_HEVC_REXT, "hevc rext" },
}

Definition at line 67 of file qsvenc.c.

Referenced by print_profile().

◆ vp9_profiles

const struct profile_names vp9_profiles[]
static
Initial value:
= {
{ MFX_PROFILE_VP9_0, "vp9 0" },
{ MFX_PROFILE_VP9_1, "vp9 1" },
{ MFX_PROFILE_VP9_2, "vp9 2" },
{ MFX_PROFILE_VP9_3, "vp9 3" },
}

Definition at line 77 of file qsvenc.c.

Referenced by print_profile().

◆ av1_profiles

const struct profile_names av1_profiles[]
static
Initial value:
= {
}

Definition at line 84 of file qsvenc.c.

Referenced by print_profile().

◆ rc_mode

◆ name

const char* name

Definition at line 142 of file qsvenc.c.

Referenced by add_meta(), add_metadata(), add_tracked_method(), add_video_device(), amf_get_field_value2(), amf_get_property_buffer(), amf_init_encoder(), amf_set_property_buffer(), append_postfix(), apply_filter(), asf_read_ext_content(), asf_read_ext_content_desc(), asf_read_marker(), asf_read_marker(), asf_read_metadata(), asf_read_metadata_obj(), asf_read_value(), asf_set_metadata(), asf_store_aspect_ratio(), audio_frame_cksum(), av_alpha_mode_from_name(), av_bsf_get_by_name(), av_bsf_graph_alloc_filter(), av_bsf_graph_create_filter(), av_bsf_graph_get_filter(), av_channel_from_string(), av_channel_layout_describe_bprint(), av_channel_layout_from_string(), av_channel_name_bprint(), av_chroma_location_from_name(), av_color_primaries_from_name(), av_color_range_from_name(), av_color_space_from_name(), av_color_transfer_from_name(), av_dump_format(), av_exif_get_tag_id(), av_frame_side_data_desc(), av_get_pix_fmt(), av_get_sample_fmt(), av_hash_alloc(), av_hwdevice_find_type_by_name(), av_match_list(), av_match_name(), av_opt_eval_q(), av_opt_find(), av_opt_find2(), av_opt_get(), av_opt_get_array(), av_opt_get_array_size(), av_opt_get_chlayout(), av_opt_get_dict_val(), av_opt_get_double(), av_opt_get_image_size(), av_opt_get_int(), av_opt_get_pixel_fmt(), av_opt_get_q(), av_opt_get_sample_fmt(), av_opt_get_video_rate(), av_opt_is_set_to_default_by_name(), av_opt_next(), av_opt_set(), av_opt_set_array(), av_opt_set_bin(), av_opt_set_chlayout(), av_opt_set_dict_val(), av_opt_set_double(), av_opt_set_image_size(), av_opt_set_int(), av_opt_set_pixel_fmt(), av_opt_set_q(), av_opt_set_sample_fmt(), av_opt_set_video_rate(), av_pix_fmt_swap_endianness(), av_spherical_from_name(), av_stereo3d_from_name(), av_stereo3d_primary_eye_from_name(), av_stereo3d_view_from_name(), av_vk_get_optional_device_extensions(), av_vk_get_optional_instance_extensions(), avcodec_descriptor_get_by_name(), avcodec_find_decoder_by_name(), avcodec_find_encoder_by_name(), avfilter_get_by_name(), avfilter_graph_alloc_filter(), avfilter_graph_create_filter(), avfilter_graph_get_filter(), avfilter_graph_segment_create_filters(), avi_read_nikon(), avio_protocol_get_class(), avtext_get_formatter_by_name(), bprint_to_avdict(), cairo_format_from_pix_fmt(), cbs_read_multi_byte(), cbs_vp8_bool_decoder_read_signed(), cbs_vp8_bool_decoder_read_unsigned(), cbs_vp8_read_unsigned_le(), cbs_vp9_read_increment(), cbs_vp9_read_le(), cbs_vp9_read_s(), cbs_vp9_write_increment(), cbs_vp9_write_le(), cbs_vp9_write_s(), cbs_write_multi_byte(), check_add_int16(), check_add_put_clamped(), check_cast(), check_cavs_qpeldsp(), check_crc(), check_dither(), check_err(), check_expand_bit(), check_filter(), check_idct_multiple(), check_inv_trans_adding(), check_linear(), check_list(), check_loop_filter(), check_lut_3d(), check_mspel_pixels(), check_pack(), check_range(), check_read(), check_scalar(), check_scale(), check_simple(), check_sorted_cmds_array(), check_swizzle(), check_unpack(), check_uop(), check_vec4(), check_write(), checkasm_check_h264pred(), checkasm_check_hpeldsp(), checkasm_check_impl_float_ulp(), checkasm_check_key(), checkasm_check_key(), checkasm_check_mpegvideo_unquantize(), checkasm_check_qpeldsp(), checkasm_cpu_info(), checkasm_func_get(), checkasm_report(), checkasm_report(), choose_implementation(), clip_with_log(), color_table_compare(), color_table_compare(), compile_uops_c(), compile_uops_x86(), config_enc_params(), config_output(), configure_input_audio_filter(), configure_input_video_filter(), configure_output_audio_filter(), configure_output_video_filter(), dec_create(), dec_filter_add(), dec_standalone_open(), dec_thread_set_name(), DECL_CHECKASM_CHECK_FUNC(), decode_header(), decode_info_header(), dnn_load_model_onnx(), dump_dictionary(), dump_dictionary(), dump_sidedata(), dvvideo_encode_init(), enc_thread_set_name(), exif_ifd_to_dict(), ff_alsa_get_device_list(), ff_alsa_open(), ff_AMediaCodec_createCodecByName(), ff_AMediaCodecList_getCodecNameByType(), ff_AMediaFormat_getBuffer(), ff_AMediaFormat_getFloat(), ff_AMediaFormat_getInt32(), ff_AMediaFormat_getInt64(), ff_AMediaFormat_getRect(), ff_AMediaFormat_getString(), ff_AMediaFormat_setBuffer(), ff_AMediaFormat_setFloat(), ff_AMediaFormat_setInt32(), ff_AMediaFormat_setInt64(), ff_AMediaFormat_setRect(), ff_AMediaFormat_setString(), ff_amf_get_field_value(), ff_asf_handle_byte_array(), ff_ass_split_dialog(), ff_attributes_dump(), ff_cbs_read_se_golomb(), ff_cbs_read_ue_golomb(), ff_cbs_write_se_golomb(), ff_cbs_write_ue_golomb(), ff_decklink_init_device(), ff_dshow_filter_JoinFilterGraph(), ff_expand_text_function_internal(), ff_guid_str_buf(), ff_jni_exception_get_summary(), ff_jni_init_jfields(), ff_mpeg4_parse_picture_header(), ff_rm_read_mdpr_codecdata(), ff_rtmp_packet_dump(), ff_rtp_handler_find_by_name(), ff_stream_add_bitstream_filter(), ff_sws_op_desc(), ff_sws_uop_lookup(), ff_tadd_doubles_metadata(), ff_tadd_shorts_metadata(), ff_tadd_string_metadata(), ff_thread_setname(), ff_vk_extensions_to_mask(), ff_vk_load_functions(), fg_thread_set_name(), filter_frame(), filter_frame(), find_codec(), find_codec_by_name(), find_font_id(), find_opt(), find_option(), find_scaler(), func_get(), gdigrab_read_header(), generate_entry_args(), generate_entry_struct(), get_format(), get_input_onnx(), get_number(), get_output_dimension(), get_pix_fmt(), get_pix_fmt_internal(), get_sample_fmt(), get_vs_prop_int(), graticule16_column(), graticule16_row(), graticule_column(), graticule_row(), hex_log(), hw_device_default_name(), hw_device_free_all(), hw_device_get_by_name(), hw_device_init_from_string(), hw_device_init_from_type(), idct248_error(), ifilter_bind_fg(), init(), init(), init(), init(), init_out(), insert_trim(), libopus_check_vorbis_layout(), libvorbis_setup(), list_voices(), load_path(), log_type(), main(), main(), main(), mbedtls_gen_x509_cert(), mediacodec_dump_format(), mediacodec_jni_getName(), mediacodec_ndk_getName(), mediaformat_jni_getBuffer(), mediaformat_jni_getFloat(), mediaformat_jni_getInt32(), mediaformat_jni_getInt64(), mediaformat_jni_getString(), mediaformat_jni_setBuffer(), mediaformat_jni_setFloat(), mediaformat_jni_setInt32(), mediaformat_jni_setInt64(), mediaformat_jni_setString(), mediaformat_ndk_getBuffer(), mediaformat_ndk_getFloat(), mediaformat_ndk_getInt32(), mediaformat_ndk_getInt64(), mediaformat_ndk_getRect(), mediaformat_ndk_getString(), mediaformat_ndk_setBuffer(), mediaformat_ndk_setFloat(), mediaformat_ndk_setInt32(), mediaformat_ndk_setInt64(), mediaformat_ndk_setRect(), mediaformat_ndk_setString(), mjpeg_parse_len(), mkv_check_tag_name(), modplug_load_metadata(), mov_add_tref_tag(), mov_add_tref_tag(), mov_find_tref_tag(), mov_find_tref_tag(), mov_text_font_name_cb(), mov_text_font_name_set(), mov_write_custom_metadata(), mov_write_freeform_tag(), mov_write_int8_metadata(), mov_write_raw_metadata_tag(), mov_write_string_metadata(), mov_write_string_tag(), mxf_free_metadataset(), mxf_write_tagged_value(), nvenc_check_device(), oh_decode_create(), oh_encode_create(), onnx_start_inference(), opencl_check_device_extension(), opencl_check_extension(), opencl_check_platform_extension(), opencl_filter_device(), opencl_filter_platform(), opt_codec(), opt_codec(), opt_find(), opt_loglevel(), opt_set_init(), ost_bind_filter(), param_write_hex(), param_write_int(), param_write_string(), parse_audio_var(), parse_cookie(), parse_device_name(), parse_global_var(), parse_link_name(), parse_named_def(), parse_primary(), parse_set_cookie(), parse_time_sequence(), parse_video_var(), pix_fmt_parse(), png_write_iccp(), print_codec(), print_cpu_flags(), print_frame_side_data(), print_help(), print_iamf_param_definition(), print_ops(), print_pkt_side_data(), process_metadata(), pulse_add_detected_device(), pulse_finish_context_operation(), pulse_finish_stream_operation(), put_bitstream_info(), rasm_add_commentf(), rasm_func_begin(), rasm_new_label(), read_extradata(), read_signed(), read_simple_unsigned(), read_sm_data(), read_table(), read_unsigned(), rtmp_send_packet(), run_test(), sdt_cb(), set_codec_from_probe_data(), set_filter_param(), set_format(), set_number(), show_colors(), show_formats_devices(), show_help_bsf(), show_help_codec(), show_help_demuxer(), show_help_muxer(), show_help_protocol(), show_protocols(), spi_OpEntryPoint(), spi_OpExtension(), spi_OpExtInstImport(), spi_OpName(), split_commandline(), srt_font_name_cb(), swri_check_chlayout(), test_device(), test_device_type(), test_motion(), thread_set_name(), thread_set_name(), thread_set_name(), trace_header(), trace_read_log(), usage(), v4l2_get_ext_ctrl(), v4l2_is_v4l_dev(), v4l2_set_ext_ctrl(), vgs_comp_command_spec(), vgs_get_command(), vgs_parse_statement(), vp3_check_loop_filter(), vt_dump_encoder(), win32_thread_setname(), write_chapter(), write_ctoc(), write_signed(), write_simple_unsigned(), write_unsigned(), wtvfile_open2(), and yuv4_read_header().

◆ [struct]

const struct { ... } rc_names[]
Initial value:
= {
{ MFX_RATECONTROL_CBR, "CBR" },
{ MFX_RATECONTROL_VBR, "VBR" },
{ MFX_RATECONTROL_CQP, "CQP" },
{ MFX_RATECONTROL_LA, "LA" },
{ MFX_RATECONTROL_ICQ, "ICQ" },
{ MFX_RATECONTROL_LA_ICQ, "LA_ICQ" },
{ MFX_RATECONTROL_LA_EXT, "LA_EXT" },
{ MFX_RATECONTROL_LA_HRD, "LA_HRD" },
{ MFX_RATECONTROL_QVBR, "QVBR" },
}

Referenced by print_ratecontrol().

◆ ff_qsv_enc_hw_configs

const AVCodecHWConfigInternal* const ff_qsv_enc_hw_configs[]
Initial value:
= {
}
#define NULL
Definition coverity.c:32
#define HW_CONFIG_ENCODER_DEVICE(format, device_type_)
Definition hwconfig.h:97
#define HW_CONFIG_ENCODER_FRAMES(format, device_type_)
Definition hwconfig.h:100

Definition at line 2762 of file qsvenc.c.