Searched refs:bitsAvail (Results 1 – 3 of 3) sorted by relevance
1174 int bitsAvail, numSacBits; in mpegSurroundDecoder_ParseNoHeader() local1183 bitsAvail = FDKgetValidBits(hBs); in mpegSurroundDecoder_ParseNoHeader()1195 if (bitsAvail <= 0) { in mpegSurroundDecoder_ParseNoHeader()1209 numSacBits = bitsAvail - (INT)FDKgetValidBits(hBs); in mpegSurroundDecoder_ParseNoHeader()1211 if (numSacBits > bitsAvail) { in mpegSurroundDecoder_ParseNoHeader()1449 int nbits = 0, bitsAvail; in mpegSurroundDecoder_Parse() local1455 bitsAvail = FDKgetValidBits(hMpsBsData); in mpegSurroundDecoder_Parse()1457 if (bitsAvail <= 0) { in mpegSurroundDecoder_Parse()1469 nbits = bitsAvail - (INT)FDKgetValidBits(hMpsBsData); in mpegSurroundDecoder_Parse()1471 if ((nbits > bitsAvail) || in mpegSurroundDecoder_Parse()
811 INT bitsAvail) { in additionalHoldOffNeeded() argument853 if (bitsAvail < checkLengthBits) { in additionalHoldOffNeeded()1101 INT bitsAvail = 0; /* Bits available in bitstream buffer */ in synchronization() local1108 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()[all …]
317 int bitsAvail = 0; in huff_dec_1D() local355 bitsAvail = FDKgetValidBits(strm); in huff_dec_1D()356 if (bitsAvail < 1) { in huff_dec_1D()368 bitsAvail = FDKgetValidBits(strm); in huff_dec_1D()369 if (bitsAvail < 1) { in huff_dec_1D()