Searched refs:nPivotValue (Results 1 - 2 of 2) sorted by relevance

/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DBitArray.cpp234 int nPivotValue = max(nOriginalKSum / 32, 1); local
235 int nOverflow = nEncode / nPivotValue;
236 int nBase = nEncode - (nOverflow * nPivotValue);
265 if (nPivotValue >= (1 << 16))
268 while ((nPivotValue >> nPivotValueBits) > 0) { nPivotValueBits++; }
278 int nPivotValueA = (nPivotValue / nSplitFactor) + 1;
302 const int nTemp = m_RangeCoderInfo.range / nPivotValue;
H A DUnBitArray.cpp157 int nPivotValue = max(BitArrayState.nKSum / 32, 1UL); local
185 if (nPivotValue >= (1 << 16)) {
187 while ((nPivotValue >> nPivotValueBits) > 0)
191 int nPivotValueA = (nPivotValue / nSplitFactor) + 1;
233 m_RangeCoderInfo.range = m_RangeCoderInfo.range / nPivotValue;
241 nValue = nBase + (nOverflow * nPivotValue);

Completed in 19 milliseconds