Home
last modified time | relevance | path

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

/external/lzma/C/
DPpmd7.c302 p->MinContext->SummFreq = 256 + 1; in RestartModel()
385 s0 = c->SummFreq - c->NumStats - cf; in CreateSuccessors()
452 c->SummFreq += 2; in UpdateModel()
501 s0 = p->MinContext->SummFreq - (ns = p->MinContext->NumStats) - (p->FoundState->Freq - 1); in UpdateModel()
529 …c->SummFreq = (UInt16)(c->SummFreq + (2 * ns1 < ns) + 2 * ((4 * ns1 <= ns) & (c->SummFreq <= 8 * n… in UpdateModel()
545 c->SummFreq = (UInt16)(s->Freq + p->InitEsc + (ns > 3)); in UpdateModel()
547 cf = 2 * (UInt32)p->FoundState->Freq * (c->SummFreq + 6); in UpdateModel()
548 sf = (UInt32)s0 + c->SummFreq; in UpdateModel()
552 c->SummFreq += 3; in UpdateModel()
557 c->SummFreq = (UInt16)(c->SummFreq + cf); in UpdateModel()
[all …]
DPpmd7Enc.c87 RangeEnc_Encode(rc, 0, s->Freq, p->MinContext->SummFreq); in Ppmd7_EncodeSymbol()
99 RangeEnc_Encode(rc, sum, s->Freq, p->MinContext->SummFreq); in Ppmd7_EncodeSymbol()
113 RangeEnc_Encode(rc, sum, p->MinContext->SummFreq - sum, p->MinContext->SummFreq); in Ppmd7_EncodeSymbol()
DPpmd7Dec.c87 if ((count = rc->GetThreshold(rc, p->MinContext->SummFreq)) < (hiCnt = s->Freq)) in Ppmd7_DecodeSymbol()
111 if (count >= p->MinContext->SummFreq) in Ppmd7_DecodeSymbol()
114 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)