Home
last modified time | relevance | path

Searched refs:Summ (Results 1 - 4 of 4) sorted by relevance

/third_party/lzma/C/
H A DPpmd.h46 UInt16 Summ; /* Freq */ member
53 { (p)->Summ = (UInt16)((p)->Summ << 1); \
H A DPpmd7Enc.c231 // if (see->Summ) field is larger than 16-bit, we need only low 16 bits of Summ in Ppmd7z_EncodeSymbol()
232 unsigned summ = (UInt16)see->Summ; // & 0xFFFF in Ppmd7z_EncodeSymbol()
234 see->Summ = (UInt16)(summ - r); in Ppmd7z_EncodeSymbol()
293 see->Summ = (UInt16)(see->Summ + total); in Ppmd7z_EncodeSymbol()
H A DPpmd7Dec.c253 // new (see->Summ) value can overflow over 16-bits in some rare cases in Ppmd7z_DecodeSymbol()
266 // We increase (see->Summ) for sum of Freqs of all non_Masked symbols. in Ppmd7z_DecodeSymbol()
267 // new (see->Summ) value can overflow over 16-bits in some rare cases in Ppmd7z_DecodeSymbol()
268 see->Summ = (UInt16)(see->Summ + freqSum); in Ppmd7z_DecodeSymbol()
H A DPpmd7.c410 s->Summ = (UInt16)summ; in Ppmd7_RestartModel()
416 p->DummySee.Summ = 0; /* unused */ in Ppmd7_RestartModel()
935 // if (see->Summ) field is larger than 16-bit, we need only low 16 bits of Summ in Ppmd7_MakeEscFreq()
936 unsigned summ = (UInt16)see->Summ; // & 0xFFFF in Ppmd7_MakeEscFreq()
938 see->Summ = (UInt16)(summ - r); in Ppmd7_MakeEscFreq()

Completed in 4 milliseconds