Lines Matching refs:totalBits
518 INT totalBits = 0; /* sum of bits over all elements */
524 totalBits += qcElement[i]->grantedDynBits;
529 totalBits. For that case, the difference must be added/substracted again
534 if (codeBits != totalBits) {
552 if (codeBits - totalBits > 0) {
553 qcElement[elMinBits]->grantedDynBits += codeBits - totalBits;
555 qcElement[elMaxBits]->grantedDynBits += codeBits - totalBits;
709 INT c, totalBits = 0;
716 totalBits += qcOut[c]->usedDynBits;
719 return totalBits;
758 INT totalBits = 0, totalBits_max = 0;
771 totalBits += hQC->elementBits[i]->bitResLevelEl;
782 int deltaBits = fMax(totalBitreservoir - totalBits,
785 totalBits += deltaBits;
1202 qcOut[0]->totalBits = qcOut[0]->staticBits + qcOut[0]->usedDynBits +
1206 (fixMax(0, qcKernel->minBitsPerFrame - qcOut[0]->totalBits) + 7) & ~7;
1216 qcOut[0]->totalBits = qcOut[0]->staticBits + qcOut[0]->usedDynBits +
1220 (fixMax(0, qcKernel->minBitsPerFrame - qcOut[0]->totalBits) + 7) & ~7;
1307 qcOut->totalBits = qcOut->staticBits + qcOut->usedDynBits +
1314 INT exactTpBits = transportEnc_GetStaticBits(hTpEnc, qcOut->totalBits);
1341 qcOut->totalBits += diffFillBits;
1346 transportEnc_GetStaticBits(hTpEnc, qcOut->totalBits);
1360 qcKernel->globHdrBits = transportEnc_GetStaticBits(hTpEnc, qcOut->totalBits);
1387 qcOut->totalBits = qcOut->staticBits + qcOut->usedDynBits +
1391 if ((qcOut->totalBits > qcKernel->maxBitsPerFrame) ||
1392 (qcOut->totalBits < qcKernel->minBitsPerFrame)) {