#include <config.h>#include "lame.h"#include "machine.h"#include "encoder.h"#include "util.h"#include "reservoir.h"#include "bitstream.h"#include "lame-analysis.h"#include "lame_global_flags.h"Include dependency graph for reservoir.c:

Go to the source code of this file.
Functions | |
| int | ResvFrameBegin (lame_global_flags const *gfp, int *mean_bits) |
| void | ResvMaxBits (lame_global_flags const *gfp, int mean_bits, int *targ_bits, int *extra_bits, int cbr) |
| void | ResvAdjust (lame_internal_flags *gfc, gr_info const *gi) |
| void | ResvFrameEnd (lame_internal_flags *gfc, int mean_bits) |
| void ResvAdjust | ( | lame_internal_flags * | gfc, | |
| gr_info const * | gi | |||
| ) |
Definition at line 247 of file reservoir.c.
References gfc, gr_info::part2_3_length, gr_info::part2_length, and lame_internal_flags::ResvSize.
Referenced by iteration_finish_one(), and VBR_new_iteration_loop().
| int ResvFrameBegin | ( | lame_global_flags const * | gfp, | |
| int * | mean_bits | |||
| ) |
Definition at line 82 of file reservoir.c.
References lame_global_struct::brate, lame_global_struct::disable_reservoir, getframebits(), gfc, gfp, lame_global_struct::internal_flags, lame_internal_flags::l3_side, plotting_data::mean_bits, Min, lame_internal_flags::mode_gr, lame_global_struct::out_samplerate, lame_internal_flags::pinfo, III_side_info_t::resvDrain_pre, lame_internal_flags::ResvMax, lame_internal_flags::ResvSize, plotting_data::resvsize, lame_internal_flags::sideinfo_len, and lame_global_struct::strict_ISO.
Referenced by calc_target_bits(), CBR_iteration_loop(), get_framebits(), VBR_new_iteration_loop(), VBR_new_prepare(), VBR_old_iteration_loop(), and VBR_old_prepare().
Here is the call graph for this function:

| void ResvFrameEnd | ( | lame_internal_flags * | gfc, | |
| int | mean_bits | |||
| ) |
Definition at line 260 of file reservoir.c.
References gfc, lame_internal_flags::l3_side, III_side_info_t::main_data_begin, Min, lame_internal_flags::mode_gr, III_side_info_t::resvDrain_post, III_side_info_t::resvDrain_pre, lame_internal_flags::ResvMax, and lame_internal_flags::ResvSize.
Referenced by VBR_new_iteration_loop(), and VBR_old_iteration_loop().
| void ResvMaxBits | ( | lame_global_flags const * | gfp, | |
| int | mean_bits, | |||
| int * | targ_bits, | |||
| int * | extra_bits, | |||
| int | cbr | |||
| ) |
Definition at line 198 of file reservoir.c.
References lame_global_struct::disable_reservoir, gfc, gfp, lame_global_struct::internal_flags, lame_internal_flags::ResvMax, lame_internal_flags::ResvSize, and lame_internal_flags::substep_shaping.
Referenced by on_pe().
1.5.2