Home
last modified time | relevance | path

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

/third_party/lame/libmp3lame/
Dreservoir.c143 esv->ResvMax = maxmp3buf - frameLength; in ResvFrameBegin()
144 if (esv->ResvMax > resvLimit) in ResvFrameBegin()
145 esv->ResvMax = resvLimit; in ResvFrameBegin()
146 if (esv->ResvMax < 0 || cfg->disable_reservoir) in ResvFrameBegin()
147 esv->ResvMax = 0; in ResvFrameBegin()
149 fullFrameBits = meanBits * cfg->mode_gr + Min(esv->ResvSize, esv->ResvMax); in ResvFrameBegin()
154 assert(0 == esv->ResvMax % 8); in ResvFrameBegin()
155 assert(esv->ResvMax >= 0); in ResvFrameBegin()
180 int ResvSize = esv->ResvSize, ResvMax = esv->ResvMax; in ResvMaxBits() local
187 ResvMax *= 0.9; in ResvMaxBits()
[all …]
Dutil.h290 int ResvMax; /* in bits */ member
Dquantize.c1599 *max_resv = gfc->sv_enc.ResvMax; in VBR_new_prepare()
1608 *max_resv = gfc->sv_enc.ResvMax; in VBR_new_prepare()
/third_party/lame/
DChangeLog22435 if VBR uses a large frame, then ResvMax may become small, and
22443 violate the ResvMax condition. But this results in wasted bits
22445 a lower bitrate and thus have a larger ResvMax.