Lines Matching refs:bitsAvail
383 INT bitsAvail in additionalHoldOffNeeded() argument
427 if ( bitsAvail < checkLengthBits ) { in additionalHoldOffNeeded()
537 INT bitsAvail = 0; /* Bits available in bitstream buffer */ in synchronization() local
543 bitsAvail = (INT)FDKgetValidBits(hBs); in synchronization()
548 FDK_ASSERT( (bitsAvail % TPDEC_SYNCSKIP) == 0); in synchronization()
550 if ((bitsAvail-syncLength) < TPDEC_SYNCSKIP) { in synchronization()
558 for (; (bitsAvail-syncLength) >= TPDEC_SYNCSKIP; bitsAvail-=TPDEC_SYNCSKIP) { in synchronization()
676 bitsAvail -= headerBits; in synchronization()
688 if ( bitsAvail < checkLengthBits ) { in synchronization()
706 bits = (bitsAvail + headerBits) % TPDEC_SYNCSKIP; in synchronization()
709 bitsAvail += headerBits - TPDEC_SYNCSKIP - bits; in synchronization()
741 bitsAvail -= rawDataBlockLength; in synchronization()