Lines Matching refs:bitsAvail
811 INT bitsAvail) { in additionalHoldOffNeeded() argument
853 if (bitsAvail < checkLengthBits) { in additionalHoldOffNeeded()
1101 INT bitsAvail = 0; /* Bits available in bitstream buffer */ in synchronization() local
1108 bitsAvail = (INT)FDKgetValidBits(hBs); in synchronization()
1113 FDK_ASSERT((bitsAvail % TPDEC_SYNCSKIP) == 0); in synchronization()
1115 if ((bitsAvail - syncLength) < TPDEC_SYNCSKIP) { in synchronization()
1122 for (; (bitsAvail - syncLength) >= TPDEC_SYNCSKIP; in synchronization()
1123 bitsAvail -= TPDEC_SYNCSKIP) { in synchronization()
1159 hBs, -headerBits + TPDEC_SYNCSKIP + (bitsAvail % TPDEC_SYNCSKIP)); in synchronization()
1165 bitsAvail -= headerBits; in synchronization()
1177 if (bitsAvail < checkLengthBits) { in synchronization()
1196 bits = (bitsAvail + headerBits) % TPDEC_SYNCSKIP; in synchronization()