Home
last modified time | relevance | path

Searched refs:mtfFreq (Results 1 – 3 of 3) sorted by relevance

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/bzip2/
DBZip2CompressorOutputStream.java764 final int[] mtfFreq = this.data.mtfFreq; in sendMTFValues0() local
775 aFreq += mtfFreq[++ge]; in sendMTFValues0()
780 aFreq -= mtfFreq[ge--]; in sendMTFValues0()
1183 final int[] mtfFreq = dataShadow.mtfFreq; in generateMTFValues() local
1200 mtfFreq[i] = 0; in generateMTFValues()
1232 mtfFreq[RUNA]++; in generateMTFValues()
1236 mtfFreq[RUNB]++; in generateMTFValues()
1249 mtfFreq[j + 1]++; in generateMTFValues()
1259 mtfFreq[RUNA]++; in generateMTFValues()
1263 mtfFreq[RUNB]++; in generateMTFValues()
[all …]
/external/bzip2/
Dcompress.c157 for (i = 0; i <= EOB; i++) s->mtfFreq[i] = 0; in generateMTFValues()
179 s->mtfFreq[BZ_RUNB]++; in generateMTFValues()
182 s->mtfFreq[BZ_RUNA]++; in generateMTFValues()
206 mtfv[wr] = j+1; wr++; s->mtfFreq[j+1]++; in generateMTFValues()
217 s->mtfFreq[BZ_RUNB]++; in generateMTFValues()
220 s->mtfFreq[BZ_RUNA]++; in generateMTFValues()
228 mtfv[wr] = EOB; wr++; s->mtfFreq[EOB]++; in generateMTFValues()
292 aFreq += s->mtfFreq[ge]; in sendMTFValues()
298 aFreq -= s->mtfFreq[ge]; in sendMTFValues()
Dbzlib_private.h255 Int32 mtfFreq [BZ_MAX_ALPHA_SIZE]; member