#include "stdio.h"

Go to the source code of this file.
Data Structures | |
| struct | _rc_param_ |
Typedefs | |
| typedef struct _rc_param_ | RC_Param |
Functions | |
| void | RateCtlInit (double quant, double target_rate, long rc_period, long rc_reaction_period, long rc_reaction_ratio) |
| int | RateCtlGetQ (double MAD) |
| void | RateCtlUpdate (int current_frame) |
Variables | |
| FILE * | ftrace |
| int | max_quantizer |
| int | min_quantizer |
| static RC_Param | rc_param |
| typedef struct _rc_param_ RC_Param |
| int RateCtlGetQ | ( | double | MAD | ) |
Definition at line 81 of file rate_ctl.c.
References _rc_param_::quant, and quant().
Referenced by VopCode().

| void RateCtlInit | ( | double | quant, | |
| double | target_rate, | |||
| long | rc_period, | |||
| long | rc_reaction_period, | |||
| long | rc_reaction_ratio | |||
| ) |
Definition at line 56 of file rate_ctl.c.
References _rc_param_::average_delta, _rc_param_::average_rate, fprintf, ftrace, _rc_param_::quant, _rc_param_::rc_period, _rc_param_::reaction_delta, _rc_param_::reaction_rate, _rc_param_::reaction_ratio, and _rc_param_::target_rate.
Referenced by encore().
| void RateCtlUpdate | ( | int | current_frame | ) |
Definition at line 93 of file rate_ctl.c.
References _rc_param_::average_delta, _rc_param_::average_rate, fprintf, ftrace, max_quantizer, min_quantizer, _rc_param_::quant, _rc_param_::reaction_delta, _rc_param_::reaction_rate, _rc_param_::reaction_ratio, and _rc_param_::target_rate.
Referenced by encore().
| int max_quantizer |
| int min_quantizer |
Definition at line 54 of file rate_ctl.c.
1.5.5