RateControlContext Struct Reference

rate control context. More...

#include <ratecontrol.h>


Data Fields

FILE * stats_file
int num_entries
 number of RateControlEntries
RateControlEntryentry
double buffer_index
 amount of bits in the video/audio buffer
Predictor pred [5]
double short_term_qsum
 sum of recent qscales
double short_term_qcount
 count of recent qscales
double pass1_rc_eq_output_sum
 sum of the output of the rc equation, this is used for normalization
double pass1_wanted_bits
 bits which should have been outputed by the pass1 code (including complexity init)
double last_qscale
double last_qscale_for [5]
 last qscale for a specific pict type, used for max_diff & ipb factor stuff
int last_mc_mb_var_sum
int 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]
int frame_count [5]
int last_non_b_pict_type
void * non_lavc_opaque
 context for non lavc rc code (for example xvid)
float dry_run_qscale
 for xvid rc
int last_picture_number
 for xvid rc
AVExprrc_eq_eval


Detailed Description

rate control context.

Definition at line 63 of file ratecontrol.h.


Field Documentation

amount of bits in the video/audio buffer

Definition at line 67 of file ratecontrol.h.

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

for xvid rc

Definition at line 85 of file ratecontrol.h.

Referenced by ff_xvid_rate_estimate_qscale().

Definition at line 76 of file ratecontrol.h.

Referenced by ff_rate_estimate_qscale().

Definition at line 75 of file ratecontrol.h.

Referenced by ff_rate_estimate_qscale().

Definition at line 82 of file ratecontrol.h.

Referenced by get_diff_limited_q().

for xvid rc

Definition at line 86 of file ratecontrol.h.

Referenced by ff_xvid_rate_estimate_qscale().

Definition at line 73 of file ratecontrol.h.

Referenced by ff_rate_estimate_qscale().

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

Definition at line 74 of file ratecontrol.h.

Referenced by ff_rate_control_init(), and get_diff_limited_q().

Definition at line 79 of file ratecontrol.h.

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

context for non lavc rc code (for example xvid)

Definition at line 84 of file ratecontrol.h.

Referenced by ff_xvid_rate_control_init(), ff_xvid_rate_control_uninit(), and ff_xvid_rate_estimate_qscale().

number of RateControlEntries

Definition at line 65 of file ratecontrol.h.

Referenced by ff_rate_control_init(), ff_xvid_rate_control_init(), init_pass2(), and select_input_picture().

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

Definition at line 71 of file ratecontrol.h.

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

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

Definition at line 72 of file ratecontrol.h.

Referenced by ff_rate_control_init(), and ff_rate_estimate_qscale().

Definition at line 68 of file ratecontrol.h.

Referenced by ff_rate_control_init(), and ff_rate_estimate_qscale().

Definition at line 80 of file ratecontrol.h.

Referenced by ff_rate_control_init(), and get_qscale().

Definition at line 87 of file ratecontrol.h.

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

count of recent qscales

Definition at line 70 of file ratecontrol.h.

Referenced by ff_rate_control_init(), and ff_rate_estimate_qscale().

sum of recent qscales

Definition at line 69 of file ratecontrol.h.

Referenced by ff_rate_control_init(), and ff_rate_estimate_qscale().

Definition at line 64 of file ratecontrol.h.


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

Generated on Fri Oct 26 02:36:58 2012 for FFmpeg by  doxygen 1.5.8