FFmpeg
Data Fields
QSVEncContext Struct Reference

#include <qsvenc.h>

Data Fields

AVCodecContextavctx
 
QSVFramework_frames
 
mfxSession session
 
QSVSession internal_qs
 
int packet_size
 
int width_align
 
int height_align
 
mfxVideoParam param
 
mfxFrameAllocRequest req
 
mfxExtCodingOption extco
 
mfxExtCodingOption2 extco2
 
mfxExtCodingOption3 extco3
 
mfxExtMultiFrameParam extmfp
 
mfxExtMultiFrameControl extmfc
 
mfxExtHEVCTiles exthevctiles
 
mfxExtVP9Param extvp9param
 
mfxExtOpaqueSurfaceAlloc opaque_alloc
 
mfxFrameSurface1 ** opaque_surfaces
 
AVBufferRefopaque_alloc_buf
 
mfxExtVideoSignalInfo extvsi
 
mfxExtBuffer * extparam_internal [5+(QSV_HAVE_MF *2)+(QSV_HAVE_EXT_AV1_PARAM *2)+QSV_HAVE_HE]
 
int nb_extparam_internal
 
mfxExtBuffer ** extparam
 
AVFifoasync_fifo
 
QSVFramesContext frames_ctx
 
mfxVersion ver
 
int hevc_vps
 
int async_depth
 
int idr_interval
 
int profile
 
int tier
 
int preset
 
int avbr_accuracy
 
int avbr_convergence
 
int pic_timing_sei
 
int look_ahead
 
int look_ahead_depth
 
int look_ahead_downsampling
 
int vcm
 
int rdo
 
int max_frame_size
 
int max_frame_size_i
 
int max_frame_size_p
 
int max_slice_size
 
int dblk_idc
 
int scenario
 
int tile_cols
 
int tile_rows
 
int aud
 
int single_sei_nal_unit
 
int max_dec_frame_buffering
 
int bitrate_limit
 
int mbbrc
 
int extbrc
 
int adaptive_i
 
int adaptive_b
 
int b_strategy
 
int p_strategy
 
int cavlc
 
int int_ref_type
 
int int_ref_cycle_size
 
int int_ref_qp_delta
 
int int_ref_cycle_dist
 
int recovery_point_sei
 
int repeat_pps
 
int low_power
 
int gpb
 
int transform_skip
 
int a53_cc
 
int mfmode
 
char * load_plugins
 
SetEncodeCtrlCBset_encode_ctrl_cb
 
int forced_idr
 
int low_delay_brc
 
int co2_idx
 
int co3_idx
 
int exthevctiles_idx
 
int exthypermodeparam_idx
 
int vp9_idx
 
int max_qp_i
 
int min_qp_i
 
int max_qp_p
 
int min_qp_p
 
int max_qp_b
 
int min_qp_b
 
int old_global_quality
 
float old_i_quant_factor
 
float old_i_quant_offset
 
float old_b_quant_factor
 
float old_b_quant_offset
 
int old_max_frame_size
 
int old_gop_size
 
int old_int_ref_type
 
int old_int_ref_cycle_size
 
int old_int_ref_qp_delta
 
int old_int_ref_cycle_dist
 
int old_qmax
 
int old_qmin
 
int old_max_qp_i
 
int old_min_qp_i
 
int old_max_qp_p
 
int old_min_qp_p
 
int old_max_qp_b
 
int old_min_qp_b
 
int old_low_delay_brc
 
AVRational old_framerate
 
int old_bit_rate
 
int old_rc_buffer_size
 
int old_rc_initial_buffer_occupancy
 
int old_rc_max_rate
 
int old_pic_timing_sei
 
int skip_frame
 
int dual_gfx
 

Detailed Description

Definition at line 156 of file qsvenc.h.

Field Documentation

◆ avctx

AVCodecContext* QSVEncContext::avctx

Definition at line 157 of file qsvenc.h.

Referenced by ff_qsv_enc_init(), and submit_frame().

◆ work_frames

QSVFrame* QSVEncContext::work_frames

Definition at line 159 of file qsvenc.h.

Referenced by clear_unused_frames(), ff_qsv_enc_close(), and get_free_frame().

◆ session

mfxSession QSVEncContext::session

◆ internal_qs

QSVSession QSVEncContext::internal_qs

Definition at line 162 of file qsvenc.h.

Referenced by ff_qsv_enc_close(), and qsvenc_init_session().

◆ packet_size

int QSVEncContext::packet_size

◆ width_align

int QSVEncContext::width_align

Definition at line 165 of file qsvenc.h.

Referenced by init_video_param(), init_video_param_jpeg(), and submit_frame().

◆ height_align

int QSVEncContext::height_align

Definition at line 166 of file qsvenc.h.

Referenced by init_video_param(), init_video_param_jpeg(), and submit_frame().

◆ param

mfxVideoParam QSVEncContext::param

◆ req

mfxFrameAllocRequest QSVEncContext::req

Definition at line 169 of file qsvenc.h.

Referenced by ff_qsv_enc_init(), and qsv_init_opaque_alloc().

◆ extco

mfxExtCodingOption QSVEncContext::extco

Definition at line 171 of file qsvenc.h.

Referenced by init_video_param(), and update_pic_timing_sei().

◆ extco2

mfxExtCodingOption2 QSVEncContext::extco2

Definition at line 172 of file qsvenc.h.

Referenced by init_video_param(), update_max_frame_size(), update_min_max_qp(), and update_rir().

◆ extco3

mfxExtCodingOption3 QSVEncContext::extco3

Definition at line 173 of file qsvenc.h.

Referenced by init_video_param(), update_low_delay_brc(), and update_rir().

◆ extmfp

mfxExtMultiFrameParam QSVEncContext::extmfp

Definition at line 175 of file qsvenc.h.

Referenced by init_video_param().

◆ extmfc

mfxExtMultiFrameControl QSVEncContext::extmfc

Definition at line 176 of file qsvenc.h.

◆ exthevctiles

mfxExtHEVCTiles QSVEncContext::exthevctiles

Definition at line 178 of file qsvenc.h.

Referenced by init_video_param().

◆ extvp9param

mfxExtVP9Param QSVEncContext::extvp9param

Definition at line 179 of file qsvenc.h.

Referenced by init_video_param().

◆ opaque_alloc

mfxExtOpaqueSurfaceAlloc QSVEncContext::opaque_alloc

Definition at line 188 of file qsvenc.h.

Referenced by qsv_init_opaque_alloc().

◆ opaque_surfaces

mfxFrameSurface1** QSVEncContext::opaque_surfaces

Definition at line 189 of file qsvenc.h.

Referenced by ff_qsv_enc_close(), and qsv_init_opaque_alloc().

◆ opaque_alloc_buf

AVBufferRef* QSVEncContext::opaque_alloc_buf

Definition at line 190 of file qsvenc.h.

Referenced by ff_qsv_enc_close(), and qsv_init_opaque_alloc().

◆ extvsi

mfxExtVideoSignalInfo QSVEncContext::extvsi

Definition at line 193 of file qsvenc.h.

Referenced by init_video_param().

◆ extparam_internal

mfxExtBuffer* QSVEncContext::extparam_internal[5+(QSV_HAVE_MF *2)+(QSV_HAVE_EXT_AV1_PARAM *2)+QSV_HAVE_HE]

◆ nb_extparam_internal

int QSVEncContext::nb_extparam_internal

◆ extparam

mfxExtBuffer** QSVEncContext::extparam

Definition at line 198 of file qsvenc.h.

Referenced by ff_qsv_enc_close(), ff_qsv_enc_init(), and update_parameters().

◆ async_fifo

AVFifo* QSVEncContext::async_fifo

Definition at line 200 of file qsvenc.h.

Referenced by encode_frame(), ff_qsv_enc_close(), ff_qsv_enc_init(), and ff_qsv_encode().

◆ frames_ctx

QSVFramesContext QSVEncContext::frames_ctx

Definition at line 202 of file qsvenc.h.

Referenced by ff_qsv_enc_close(), qsvenc_init_session(), and submit_frame().

◆ ver

mfxVersion QSVEncContext::ver

◆ hevc_vps

int QSVEncContext::hevc_vps

Definition at line 206 of file qsvenc.h.

Referenced by qsv_enc_init(), and qsv_retrieve_enc_params().

◆ async_depth

int QSVEncContext::async_depth

Definition at line 209 of file qsvenc.h.

Referenced by ff_qsv_enc_init(), and ff_qsv_encode().

◆ idr_interval

int QSVEncContext::idr_interval

Definition at line 210 of file qsvenc.h.

Referenced by init_video_param(), and qsv_enc_init().

◆ profile

int QSVEncContext::profile

Definition at line 211 of file qsvenc.h.

Referenced by init_video_param(), and init_video_param_jpeg().

◆ tier

int QSVEncContext::tier

Definition at line 212 of file qsvenc.h.

Referenced by init_video_param().

◆ preset

int QSVEncContext::preset

Definition at line 213 of file qsvenc.h.

Referenced by init_video_param().

◆ avbr_accuracy

int QSVEncContext::avbr_accuracy

Definition at line 214 of file qsvenc.h.

Referenced by init_video_param(), and select_rc_mode().

◆ avbr_convergence

int QSVEncContext::avbr_convergence

Definition at line 215 of file qsvenc.h.

Referenced by init_video_param(), and select_rc_mode().

◆ pic_timing_sei

int QSVEncContext::pic_timing_sei

Definition at line 216 of file qsvenc.h.

Referenced by init_video_param(), and update_pic_timing_sei().

◆ look_ahead

int QSVEncContext::look_ahead

Definition at line 217 of file qsvenc.h.

Referenced by select_rc_mode().

◆ look_ahead_depth

int QSVEncContext::look_ahead_depth

Definition at line 218 of file qsvenc.h.

Referenced by dump_video_param(), and init_video_param().

◆ look_ahead_downsampling

int QSVEncContext::look_ahead_downsampling

Definition at line 219 of file qsvenc.h.

Referenced by init_video_param().

◆ vcm

int QSVEncContext::vcm

Definition at line 220 of file qsvenc.h.

Referenced by select_rc_mode().

◆ rdo

int QSVEncContext::rdo

Definition at line 221 of file qsvenc.h.

Referenced by init_video_param().

◆ max_frame_size

int QSVEncContext::max_frame_size

Definition at line 222 of file qsvenc.h.

Referenced by init_video_param(), and update_max_frame_size().

◆ max_frame_size_i

int QSVEncContext::max_frame_size_i

Definition at line 223 of file qsvenc.h.

Referenced by init_video_param().

◆ max_frame_size_p

int QSVEncContext::max_frame_size_p

Definition at line 224 of file qsvenc.h.

Referenced by init_video_param().

◆ max_slice_size

int QSVEncContext::max_slice_size

Definition at line 225 of file qsvenc.h.

Referenced by init_video_param().

◆ dblk_idc

int QSVEncContext::dblk_idc

Definition at line 226 of file qsvenc.h.

Referenced by init_video_param().

◆ scenario

int QSVEncContext::scenario

Definition at line 227 of file qsvenc.h.

Referenced by init_video_param().

◆ tile_cols

int QSVEncContext::tile_cols

Definition at line 229 of file qsvenc.h.

Referenced by init_video_param().

◆ tile_rows

int QSVEncContext::tile_rows

Definition at line 230 of file qsvenc.h.

Referenced by init_video_param().

◆ aud

int QSVEncContext::aud

Definition at line 232 of file qsvenc.h.

Referenced by init_video_param().

◆ single_sei_nal_unit

int QSVEncContext::single_sei_nal_unit

Definition at line 234 of file qsvenc.h.

Referenced by init_video_param().

◆ max_dec_frame_buffering

int QSVEncContext::max_dec_frame_buffering

Definition at line 235 of file qsvenc.h.

Referenced by init_video_param().

◆ bitrate_limit

int QSVEncContext::bitrate_limit

Definition at line 237 of file qsvenc.h.

Referenced by init_video_param().

◆ mbbrc

int QSVEncContext::mbbrc

Definition at line 238 of file qsvenc.h.

Referenced by init_video_param().

◆ extbrc

int QSVEncContext::extbrc

Definition at line 239 of file qsvenc.h.

Referenced by dump_video_param(), and init_video_param().

◆ adaptive_i

int QSVEncContext::adaptive_i

Definition at line 240 of file qsvenc.h.

Referenced by init_video_param(), and is_strict_gop().

◆ adaptive_b

int QSVEncContext::adaptive_b

Definition at line 241 of file qsvenc.h.

Referenced by init_video_param(), and is_strict_gop().

◆ b_strategy

int QSVEncContext::b_strategy

Definition at line 242 of file qsvenc.h.

Referenced by init_video_param().

◆ p_strategy

int QSVEncContext::p_strategy

Definition at line 243 of file qsvenc.h.

Referenced by init_video_param().

◆ cavlc

int QSVEncContext::cavlc

Definition at line 244 of file qsvenc.h.

Referenced by init_video_param().

◆ int_ref_type

int QSVEncContext::int_ref_type

Definition at line 246 of file qsvenc.h.

Referenced by init_video_param(), and update_rir().

◆ int_ref_cycle_size

int QSVEncContext::int_ref_cycle_size

Definition at line 247 of file qsvenc.h.

Referenced by init_video_param(), and update_rir().

◆ int_ref_qp_delta

int QSVEncContext::int_ref_qp_delta

Definition at line 248 of file qsvenc.h.

Referenced by init_video_param(), and update_rir().

◆ int_ref_cycle_dist

int QSVEncContext::int_ref_cycle_dist

Definition at line 249 of file qsvenc.h.

Referenced by init_video_param(), and update_rir().

◆ recovery_point_sei

int QSVEncContext::recovery_point_sei

Definition at line 250 of file qsvenc.h.

Referenced by init_video_param().

◆ repeat_pps

int QSVEncContext::repeat_pps

Definition at line 252 of file qsvenc.h.

Referenced by init_video_param().

◆ low_power

int QSVEncContext::low_power

Definition at line 253 of file qsvenc.h.

Referenced by init_video_param(), and qsv_enc_init().

◆ gpb

int QSVEncContext::gpb

Definition at line 254 of file qsvenc.h.

Referenced by init_video_param().

◆ transform_skip

int QSVEncContext::transform_skip

Definition at line 255 of file qsvenc.h.

Referenced by init_video_param().

◆ a53_cc

int QSVEncContext::a53_cc

Definition at line 257 of file qsvenc.h.

Referenced by qsv_h264_set_encode_ctrl().

◆ mfmode

int QSVEncContext::mfmode

Definition at line 260 of file qsvenc.h.

Referenced by init_video_param().

◆ load_plugins

char* QSVEncContext::load_plugins

Definition at line 262 of file qsvenc.h.

Referenced by qsv_enc_init(), and qsvenc_init_session().

◆ set_encode_ctrl_cb

SetEncodeCtrlCB* QSVEncContext::set_encode_ctrl_cb

Definition at line 263 of file qsvenc.h.

Referenced by encode_frame(), and qsv_enc_init().

◆ forced_idr

int QSVEncContext::forced_idr

Definition at line 264 of file qsvenc.h.

Referenced by encode_frame().

◆ low_delay_brc

int QSVEncContext::low_delay_brc

Definition at line 265 of file qsvenc.h.

Referenced by init_video_param(), and update_low_delay_brc().

◆ co2_idx

int QSVEncContext::co2_idx

◆ co3_idx

int QSVEncContext::co3_idx

◆ exthevctiles_idx

int QSVEncContext::exthevctiles_idx

Definition at line 269 of file qsvenc.h.

Referenced by dump_video_param(), and qsv_retrieve_enc_params().

◆ exthypermodeparam_idx

int QSVEncContext::exthypermodeparam_idx

Definition at line 270 of file qsvenc.h.

Referenced by dump_video_param(), and qsv_retrieve_enc_params().

◆ vp9_idx

int QSVEncContext::vp9_idx

Definition at line 271 of file qsvenc.h.

Referenced by dump_video_vp9_param(), and qsv_retrieve_enc_vp9_params().

◆ max_qp_i

int QSVEncContext::max_qp_i

Definition at line 273 of file qsvenc.h.

Referenced by init_video_param(), and update_min_max_qp().

◆ min_qp_i

int QSVEncContext::min_qp_i

Definition at line 274 of file qsvenc.h.

Referenced by init_video_param(), and update_min_max_qp().

◆ max_qp_p

int QSVEncContext::max_qp_p

Definition at line 275 of file qsvenc.h.

Referenced by init_video_param(), and update_min_max_qp().

◆ min_qp_p

int QSVEncContext::min_qp_p

Definition at line 276 of file qsvenc.h.

Referenced by init_video_param(), and update_min_max_qp().

◆ max_qp_b

int QSVEncContext::max_qp_b

Definition at line 277 of file qsvenc.h.

Referenced by init_video_param(), and update_min_max_qp().

◆ min_qp_b

int QSVEncContext::min_qp_b

Definition at line 278 of file qsvenc.h.

Referenced by init_video_param(), and update_min_max_qp().

◆ old_global_quality

int QSVEncContext::old_global_quality

Definition at line 280 of file qsvenc.h.

Referenced by init_video_param(), and update_qp().

◆ old_i_quant_factor

float QSVEncContext::old_i_quant_factor

Definition at line 281 of file qsvenc.h.

Referenced by init_video_param(), and update_qp().

◆ old_i_quant_offset

float QSVEncContext::old_i_quant_offset

Definition at line 282 of file qsvenc.h.

Referenced by init_video_param(), and update_qp().

◆ old_b_quant_factor

float QSVEncContext::old_b_quant_factor

Definition at line 283 of file qsvenc.h.

Referenced by init_video_param(), and update_qp().

◆ old_b_quant_offset

float QSVEncContext::old_b_quant_offset

Definition at line 284 of file qsvenc.h.

Referenced by init_video_param(), and update_qp().

◆ old_max_frame_size

int QSVEncContext::old_max_frame_size

Definition at line 286 of file qsvenc.h.

Referenced by init_video_param(), and update_max_frame_size().

◆ old_gop_size

int QSVEncContext::old_gop_size

Definition at line 288 of file qsvenc.h.

Referenced by init_video_param(), and update_gop_size().

◆ old_int_ref_type

int QSVEncContext::old_int_ref_type

Definition at line 290 of file qsvenc.h.

Referenced by init_video_param(), and update_rir().

◆ old_int_ref_cycle_size

int QSVEncContext::old_int_ref_cycle_size

Definition at line 291 of file qsvenc.h.

Referenced by init_video_param(), and update_rir().

◆ old_int_ref_qp_delta

int QSVEncContext::old_int_ref_qp_delta

Definition at line 292 of file qsvenc.h.

Referenced by init_video_param(), and update_rir().

◆ old_int_ref_cycle_dist

int QSVEncContext::old_int_ref_cycle_dist

Definition at line 293 of file qsvenc.h.

Referenced by init_video_param(), and update_rir().

◆ old_qmax

int QSVEncContext::old_qmax

Definition at line 295 of file qsvenc.h.

Referenced by init_video_param(), and update_min_max_qp().

◆ old_qmin

int QSVEncContext::old_qmin

Definition at line 296 of file qsvenc.h.

Referenced by init_video_param(), and update_min_max_qp().

◆ old_max_qp_i

int QSVEncContext::old_max_qp_i

Definition at line 297 of file qsvenc.h.

Referenced by init_video_param(), and update_min_max_qp().

◆ old_min_qp_i

int QSVEncContext::old_min_qp_i

Definition at line 298 of file qsvenc.h.

Referenced by init_video_param(), and update_min_max_qp().

◆ old_max_qp_p

int QSVEncContext::old_max_qp_p

Definition at line 299 of file qsvenc.h.

Referenced by init_video_param(), and update_min_max_qp().

◆ old_min_qp_p

int QSVEncContext::old_min_qp_p

Definition at line 300 of file qsvenc.h.

Referenced by init_video_param(), and update_min_max_qp().

◆ old_max_qp_b

int QSVEncContext::old_max_qp_b

Definition at line 301 of file qsvenc.h.

Referenced by init_video_param(), and update_min_max_qp().

◆ old_min_qp_b

int QSVEncContext::old_min_qp_b

Definition at line 302 of file qsvenc.h.

Referenced by init_video_param(), and update_min_max_qp().

◆ old_low_delay_brc

int QSVEncContext::old_low_delay_brc

Definition at line 304 of file qsvenc.h.

Referenced by init_video_param(), and update_low_delay_brc().

◆ old_framerate

AVRational QSVEncContext::old_framerate

Definition at line 306 of file qsvenc.h.

Referenced by init_video_param(), and update_frame_rate().

◆ old_bit_rate

int QSVEncContext::old_bit_rate

Definition at line 308 of file qsvenc.h.

Referenced by init_video_param(), and update_bitrate().

◆ old_rc_buffer_size

int QSVEncContext::old_rc_buffer_size

Definition at line 309 of file qsvenc.h.

Referenced by init_video_param(), and update_bitrate().

◆ old_rc_initial_buffer_occupancy

int QSVEncContext::old_rc_initial_buffer_occupancy

Definition at line 310 of file qsvenc.h.

Referenced by init_video_param(), and update_bitrate().

◆ old_rc_max_rate

int QSVEncContext::old_rc_max_rate

Definition at line 311 of file qsvenc.h.

Referenced by init_video_param(), and update_bitrate().

◆ old_pic_timing_sei

int QSVEncContext::old_pic_timing_sei

Definition at line 313 of file qsvenc.h.

Referenced by init_video_param(), and update_pic_timing_sei().

◆ skip_frame

int QSVEncContext::skip_frame

Definition at line 314 of file qsvenc.h.

Referenced by encode_frame(), and init_video_param().

◆ dual_gfx

int QSVEncContext::dual_gfx

Definition at line 316 of file qsvenc.h.

Referenced by init_video_param(), and qsv_retrieve_enc_params().


The documentation for this struct was generated from the following file: