Home
last modified time | relevance | path

Searched refs:SummFreq (Results 1 – 4 of 4) sorted by relevance

/external/lzma/C/
DPpmd7.c304 p->MinContext->SummFreq = 256 + 1; in RestartModel()
387 s0 = c->SummFreq - c->NumStats - cf; in CreateSuccessors()
454 c->SummFreq += 2; in UpdateModel()
503 s0 = p->MinContext->SummFreq - (ns = p->MinContext->NumStats) - (p->FoundState->Freq - 1); in UpdateModel()
531 …c->SummFreq = (UInt16)(c->SummFreq + (2 * ns1 < ns) + 2 * ((4 * ns1 <= ns) & (c->SummFreq <= 8 * n… in UpdateModel()
547 c->SummFreq = (UInt16)(s->Freq + p->InitEsc + (ns > 3)); in UpdateModel()
549 cf = 2 * (UInt32)p->FoundState->Freq * (c->SummFreq + 6); in UpdateModel()
550 sf = (UInt32)s0 + c->SummFreq; in UpdateModel()
554 c->SummFreq += 3; in UpdateModel()
559 c->SummFreq = (UInt16)(c->SummFreq + cf); in UpdateModel()
[all …]
DPpmd7Enc.c89 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()
DPpmd7Dec.c89 if ((count = rc->GetThreshold(rc, p->MinContext->SummFreq)) < (hiCnt = s->Freq)) in Ppmd7_DecodeSymbol()
113 if (count >= p->MinContext->SummFreq) in Ppmd7_DecodeSymbol()
116 rc->Decode(rc, hiCnt, p->MinContext->SummFreq - hiCnt); in Ppmd7_DecodeSymbol()
DPpmd7.h35 UInt16 SummFreq; member
40 #define Ppmd7Context_OneState(p) ((CPpmd_State *)&(p)->SummFreq)