Lines Matching defs:cf
383 UInt32 cf, s0;
386 cf = s->Freq - 1;
387 s0 = c->SummFreq - c->NumStats - cf;
388 upState.Freq = (Byte)(1 + ((2 * cf <= s0) ? (5 * cf > s0) : ((2 * cf + 3 * s0 - 1) / (2 * s0))));
508 UInt32 cf, sf;
549 cf = 2 * (UInt32)p->FoundState->Freq * (c->SummFreq + 6);
551 if (cf < 6 * sf)
553 cf = 1 + (cf > sf) + (cf >= 4 * sf);
558 cf = 4 + (cf >= 9 * sf) + (cf >= 12 * sf) + (cf >= 15 * sf);
559 c->SummFreq = (UInt16)(c->SummFreq + cf);
565 s->Freq = (Byte)cf;