FFmpeg
Data Fields
RateControlContext Struct Reference

rate control context. More...

#include <ratecontrol.h>

Data Fields

  number of RateControlEntries More...
 
 
  amount of bits in the video/audio buffer More...
 
 
  sum of recent qscales More...
 
  count of recent qscales More...
 
  sum of the output of the rc equation, this is used for normalization More...
 
  bits which should have been output by the pass1 code (including complexity init) More...
 
 
  last qscale for a specific pict type, used for max_diff & ipb factor stuff More...
 
int64_t  last_mc_mb_var_sum
 
int64_t  last_mb_var_sum
 
uint64_t  i_cplx_sum [5]
 
uint64_t  p_cplx_sum [5]
 
uint64_t  mv_bits_sum [5]
 
uint64_t  qscale_sum [5]
 
 
 
 

Detailed Description

rate control context.

Definition at line 63 of file ratecontrol.h.

Field Documentation

num_entries

int RateControlContext::num_entries

number of RateControlEntries

Definition at line 64 of file ratecontrol.h.

Referenced by ff_rate_control_init(), ff_rate_estimate_qscale(), and init_pass2().

entry

RateControlEntry* RateControlContext::entry

Definition at line 65 of file ratecontrol.h.

Referenced by ff_get_2pass_fcode(), ff_rate_control_init(), ff_rate_control_uninit(), ff_rate_estimate_qscale(), and init_pass2().

buffer_index

double RateControlContext::buffer_index

amount of bits in the video/audio buffer

Definition at line 66 of file ratecontrol.h.

Referenced by ff_mpv_encode_picture(), ff_rate_control_init(), ff_vbv_update(), init_pass2(), and modify_qscale().

pred

Predictor RateControlContext::pred[5]

Definition at line 67 of file ratecontrol.h.

Referenced by ff_rate_control_init(), and ff_rate_estimate_qscale().

short_term_qsum

double RateControlContext::short_term_qsum

sum of recent qscales

Definition at line 68 of file ratecontrol.h.

Referenced by ff_rate_control_init(), and ff_rate_estimate_qscale().

short_term_qcount

double RateControlContext::short_term_qcount

count of recent qscales

Definition at line 69 of file ratecontrol.h.

Referenced by ff_rate_control_init(), and ff_rate_estimate_qscale().

pass1_rc_eq_output_sum

double RateControlContext::pass1_rc_eq_output_sum

sum of the output of the rc equation, this is used for normalization

Definition at line 70 of file ratecontrol.h.

Referenced by ff_rate_control_init(), ff_rate_estimate_qscale(), and get_qscale().

pass1_wanted_bits

double RateControlContext::pass1_wanted_bits

bits which should have been output by the pass1 code (including complexity init)

Definition at line 71 of file ratecontrol.h.

Referenced by ff_rate_control_init(), and ff_rate_estimate_qscale().

last_qscale

double RateControlContext::last_qscale

Definition at line 72 of file ratecontrol.h.

Referenced by ff_rate_estimate_qscale().

last_qscale_for

double RateControlContext::last_qscale_for[5]

last qscale for a specific pict type, used for max_diff & ipb factor stuff

Definition at line 73 of file ratecontrol.h.

Referenced by ff_rate_control_init(), get_diff_limited_q(), and init_pass2().

last_mc_mb_var_sum

int64_t RateControlContext::last_mc_mb_var_sum

Definition at line 74 of file ratecontrol.h.

Referenced by ff_rate_estimate_qscale().

last_mb_var_sum

int64_t RateControlContext::last_mb_var_sum

Definition at line 75 of file ratecontrol.h.

Referenced by ff_rate_estimate_qscale().

i_cplx_sum

uint64_t RateControlContext::i_cplx_sum[5]

Definition at line 76 of file ratecontrol.h.

Referenced by ff_rate_control_init(), ff_rate_estimate_qscale(), get_qscale(), and init_pass2().

p_cplx_sum

uint64_t RateControlContext::p_cplx_sum[5]

Definition at line 77 of file ratecontrol.h.

Referenced by ff_rate_control_init(), ff_rate_estimate_qscale(), get_qscale(), and init_pass2().

mv_bits_sum

uint64_t RateControlContext::mv_bits_sum[5]

Definition at line 78 of file ratecontrol.h.

Referenced by ff_rate_control_init(), ff_rate_estimate_qscale(), and init_pass2().

qscale_sum

uint64_t RateControlContext::qscale_sum[5]

Definition at line 79 of file ratecontrol.h.

Referenced by ff_rate_control_init(), and get_qscale().

frame_count

int RateControlContext::frame_count[5]

Definition at line 80 of file ratecontrol.h.

Referenced by ff_rate_control_init(), ff_rate_estimate_qscale(), get_qscale(), and init_pass2().

last_non_b_pict_type

int RateControlContext::last_non_b_pict_type

Definition at line 81 of file ratecontrol.h.

Referenced by get_diff_limited_q().

rc_eq_eval

AVExpr* RateControlContext::rc_eq_eval

Definition at line 83 of file ratecontrol.h.

Referenced by ff_rate_control_init(), ff_rate_control_uninit(), and get_qscale().


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

Generated on Tue Feb 28 2023 21:34:44 for FFmpeg by   doxygen 1.8.17

AltStyle によって変換されたページ (->オリジナル) /