00001 00002 #ifndef _RATE_CTL_H 00003 #define _RATE_CTL_H 00004 00005 #ifdef __cplusplus 00006 extern "C" { 00007 #endif /* __cplusplus */ 00008 00009 void RateCtlInit(double quant, double target_rate, 00010 long rc_period, long rc_reaction_period, long rc_reaction_ratio); 00011 int RateCtlGetQ(double MAD); 00012 void RateCtlUpdate(int current_frame); 00013 00014 #ifdef __cplusplus 00015 } 00016 #endif /* __cplusplus */ 00017 00018 #endif /* _RATE_CTL_H */
1.5.5