Searched refs:SummFreq (Results 1 – 4 of 4) sorted by relevance
/external/lzma/C/ |
D | Ppmd7.c | 306 p->MinContext->SummFreq = 256 + 1; in RestartModel() 389 s0 = c->SummFreq - c->NumStats - cf; in CreateSuccessors() 456 c->SummFreq += 2; in UpdateModel() 505 s0 = p->MinContext->SummFreq - (ns = p->MinContext->NumStats) - (p->FoundState->Freq - 1); in UpdateModel() 533 …c->SummFreq = (UInt16)(c->SummFreq + (2 * ns1 < ns) + 2 * ((4 * ns1 <= ns) & (c->SummFreq <= 8 * n… in UpdateModel() 549 c->SummFreq = (UInt16)(s->Freq + p->InitEsc + (ns > 3)); in UpdateModel() 551 cf = 2 * (UInt32)p->FoundState->Freq * (c->SummFreq + 6); in UpdateModel() 552 sf = (UInt32)s0 + c->SummFreq; in UpdateModel() 556 c->SummFreq += 3; in UpdateModel() 561 c->SummFreq = (UInt16)(c->SummFreq + cf); in UpdateModel() [all …]
|
D | Ppmd7Enc.c | 89 RangeEnc_Encode(rc, 0, s->Freq, p->MinContext->SummFreq); in Ppmd7_EncodeSymbol() 101 RangeEnc_Encode(rc, sum, s->Freq, p->MinContext->SummFreq); in Ppmd7_EncodeSymbol() 115 RangeEnc_Encode(rc, sum, p->MinContext->SummFreq - sum, p->MinContext->SummFreq); in Ppmd7_EncodeSymbol()
|
D | Ppmd7Dec.c | 91 if ((count = rc->GetThreshold(rc, p->MinContext->SummFreq)) < (hiCnt = s->Freq)) in Ppmd7_DecodeSymbol() 115 if (count >= p->MinContext->SummFreq) in Ppmd7_DecodeSymbol() 118 rc->Decode(rc, hiCnt, p->MinContext->SummFreq - hiCnt); in Ppmd7_DecodeSymbol()
|
D | Ppmd7.h | 35 UInt16 SummFreq; member 40 #define Ppmd7Context_OneState(p) ((CPpmd_State *)&(p)->SummFreq)
|