Home
last modified time | relevance | path

Searched refs:minmax_reservoir (Results 1 – 2 of 2) sorted by relevance

/external/libvorbis/lib/
Dbitrate.c52 bm->minmax_reservoir=desired_fill; in vorbis_bitrate_init()
145 while(bm->minmax_reservoir-(min_target_bits-this_bits)<0){ in vorbis_bitrate_addblock()
157 while(bm->minmax_reservoir+(this_bits-max_target_bits)>bi->reservoir_bits){ in vorbis_bitrate_addblock()
171 long maxsize=(max_target_bits+(bi->reservoir_bits-bm->minmax_reservoir))/8; in vorbis_bitrate_addblock()
180 long minsize=(min_target_bits-bm->minmax_reservoir+7)/8; in vorbis_bitrate_addblock()
198 bm->minmax_reservoir+=(this_bits-max_target_bits); in vorbis_bitrate_addblock()
200 bm->minmax_reservoir+=(this_bits-min_target_bits); in vorbis_bitrate_addblock()
203 if(bm->minmax_reservoir>desired_fill){ in vorbis_bitrate_addblock()
205 bm->minmax_reservoir+=(this_bits-max_target_bits); in vorbis_bitrate_addblock()
206 if(bm->minmax_reservoir<desired_fill)bm->minmax_reservoir=desired_fill; in vorbis_bitrate_addblock()
[all …]
Dbitrate.h30 long minmax_reservoir; member