Home
last modified time | relevance | path

Searched refs:ResvSize (Results 1 – 4 of 4) sorted by relevance

/third_party/lame/libmp3lame/
Dreservoir.c149 fullFrameBits = meanBits * cfg->mode_gr + Min(esv->ResvSize, esv->ResvMax); in ResvFrameBegin()
161 gfc->pinfo->resvsize = esv->ResvSize; in ResvFrameBegin()
180 int ResvSize = esv->ResvSize, ResvMax = esv->ResvMax; in ResvMaxBits() local
184 ResvSize += mean_bits; in ResvMaxBits()
192 if (ResvSize * 10 > ResvMax * 9) { in ResvMaxBits()
193 add_bits = ResvSize - (ResvMax * 9) / 10; in ResvMaxBits()
210 extraBits = (ResvSize < (esv->ResvMax * 6) / 10 ? ResvSize : (esv->ResvMax * 6) / 10); in ResvMaxBits()
228 gfc->sv_enc.ResvSize -= gi->part2_3_length + gi->part2_length; in ResvAdjust()
247 esv->ResvSize += mean_bits * cfg->mode_gr; in ResvFrameEnd()
253 if ((over_bits = esv->ResvSize % 8) != 0) in ResvFrameEnd()
[all …]
Dbitstream.c885 esv->ResvSize = 0; in flush_bitstream()
940 if (compute_flushbits(gfc, &nbytes) != esv->ResvSize) { in format_bitstream()
947 if ((l3_side->main_data_begin * 8) != esv->ResvSize) { in format_bitstream()
958 esv->ResvSize, in format_bitstream()
970 esv->ResvSize = l3_side->main_data_begin * 8; in format_bitstream()
Dutil.h289 int ResvSize; /* in bits */ member
/third_party/lame/
DChangeLog13284 It will then set ResvSize to 0, so we can continue encoding.