Searched refs:dictionarySize (Results 1 – 7 of 7) sorted by relevance
/external/lzma/Java/SevenZip/ |
D | LzmaBench.java | 236 static long GetCompressRating(int dictionarySize, long elapsedTime, long size) in GetCompressRating() argument 238 long t = GetLogSize(dictionarySize) - (18 << kSubBits); in GetCompressRating() 251 int dictionarySize, in GetTotalRating() argument 256 return (GetCompressRating(dictionarySize, elapsedTimeEn, sizeEn) + in GetTotalRating() 276 int dictionarySize, in PrintResults() argument 288 rating = GetCompressRating(dictionarySize, elapsedTime, size); in PrintResults() 292 static public int LzmaBenchmark(int numIterations, int dictionarySize) throws Exception in LzmaBenchmark() argument 296 if (dictionarySize < (1 << 18)) in LzmaBenchmark() 306 if (!encoder.SetDictionarySize(dictionarySize)) in LzmaBenchmark() 309 int kBufferSize = dictionarySize + kAdditionalSize; in LzmaBenchmark() [all …]
|
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
D | LzmaBench.cs | 186 static UInt64 GetCompressRating(UInt32 dictionarySize, UInt64 elapsedTime, UInt64 size) in GetCompressRating() argument 188 UInt64 t = GetLogSize(dictionarySize) - (18 << kSubBits); in GetCompressRating() 201 UInt32 dictionarySize, in GetTotalRating() argument 206 return (GetCompressRating(dictionarySize, elapsedTimeEn, sizeEn) + in GetTotalRating() 225 UInt32 dictionarySize, in PrintResults() argument 237 rating = GetCompressRating(dictionarySize, elapsedTime, size); in PrintResults() 241 static public int LzmaBenchmark(Int32 numIterations, UInt32 dictionarySize) in LzmaBenchmark() argument 245 if (dictionarySize < (1 << 18)) in LzmaBenchmark() 262 (Int32)(dictionarySize), in LzmaBenchmark() 265 UInt32 kBufferSize = dictionarySize + kAdditionalSize; in LzmaBenchmark() [all …]
|
/external/lzma/Java/SevenZip/Compression/LZMA/ |
D | Decoder.java | 154 boolean SetDictionarySize(int dictionarySize) in SetDictionarySize() argument 156 if (dictionarySize < 0) in SetDictionarySize() 158 if (m_DictionarySize != dictionarySize) in SetDictionarySize() 160 m_DictionarySize = dictionarySize; in SetDictionarySize() 322 int dictionarySize = 0; in SetDecoderProperties() local 324 dictionarySize += ((int)(properties[1 + i]) & 0xFF) << (i * 8); in SetDecoderProperties() 327 return SetDictionarySize(dictionarySize); in SetDecoderProperties()
|
D | Encoder.java | 1363 public boolean SetDictionarySize(int dictionarySize) in SetDictionarySize() argument 1366 if (dictionarySize < (1 << Base.kDicLogSizeMin) || dictionarySize > (1 << kDicLogSizeMaxCompress)) in SetDictionarySize() 1368 _dictionarySize = dictionarySize; in SetDictionarySize() 1370 for (dicLogSize = 0; dictionarySize > (1 << dicLogSize); dicLogSize++) ; in SetDictionarySize()
|
/external/lzma/CS/7zip/Compress/LZMA/ |
D | LzmaDecoder.cs | 167 void SetDictionarySize(uint dictionarySize) in SetDictionarySize() argument 169 if (m_DictionarySize != dictionarySize) in SetDictionarySize() 171 m_DictionarySize = dictionarySize; in SetDictionarySize() 359 UInt32 dictionarySize = 0; in SetDecoderProperties() 361 dictionarySize += ((UInt32)(properties[1 + i])) << (i * 8); in SetDecoderProperties() 362 SetDictionarySize(dictionarySize); in SetDecoderProperties()
|
D | LzmaEncoder.cs | 1417 Int32 dictionarySize = (Int32)prop; in SetCoderProperties() 1418 if (dictionarySize < (UInt32)(1 << Base.kDicLogSizeMin) || in SetCoderProperties() 1419 dictionarySize > (UInt32)(1 << kDicLogSizeMaxCompress)) in SetCoderProperties() 1421 _dictionarySize = (UInt32)dictionarySize; in SetCoderProperties() 1424 if (dictionarySize <= ((UInt32)(1) << dicLogSize)) in SetCoderProperties()
|
/external/lzma/DOC/ |
D | lzma-specification.txt | 208 Encoder_RAM_Usage = 4 MiB + 11 * dictionarySize.
|