Lines Matching full:levels
148 // Create information about each of the levels.
152 var levels [maxBitsLimit]levelInfo
161 // We initialize the levels as if we had already figured this out.
162 levels[level] = levelInfo{
170 levels[level].nextPairFreq = math.MaxInt32
175 levels[maxBits].needed = 2*n - 4
179 l := &levels[level]
186 levels[level+1].nextPairFreq = math.MaxInt32
206 levels[l.level-1].needed = 2
218 levels[l.level+1].nextPairFreq = prevFreq + l.lastFreq
222 for levels[level-1].needed > 0 {