Home
last modified time | relevance | path

Searched refs:bitsAvail (Results 1 – 3 of 3) sorted by relevance

/external/aac/libMpegTPDec/src/
Dtpdec_lib.cpp816 INT bitsAvail) { in additionalHoldOffNeeded() argument
858 if (bitsAvail < checkLengthBits) { in additionalHoldOffNeeded()
1114 INT bitsAvail = 0; /* Bits available in bitstream buffer */ in synchronization() local
1121 bitsAvail = (INT)FDKgetValidBits(hBs); in synchronization()
1126 FDK_ASSERT((bitsAvail % TPDEC_SYNCSKIP) == 0); in synchronization()
1128 if ((bitsAvail - syncLength) < TPDEC_SYNCSKIP) { in synchronization()
1135 for (; (bitsAvail - syncLength) >= TPDEC_SYNCSKIP; in synchronization()
1136 bitsAvail -= TPDEC_SYNCSKIP) { in synchronization()
1167 if (headerBits > bitsAvail) { in synchronization()
1177 hBs, -headerBits + TPDEC_SYNCSKIP + (bitsAvail % TPDEC_SYNCSKIP)); in synchronization()
[all …]
/external/aac/libSACdec/src/
Dsac_dec_lib.cpp1189 int bitsAvail, numSacBits; in mpegSurroundDecoder_ParseNoHeader() local
1198 bitsAvail = FDKgetValidBits(hBs); in mpegSurroundDecoder_ParseNoHeader()
1210 if (bitsAvail <= 0) { in mpegSurroundDecoder_ParseNoHeader()
1224 numSacBits = bitsAvail - (INT)FDKgetValidBits(hBs); in mpegSurroundDecoder_ParseNoHeader()
1226 if (numSacBits > bitsAvail) { in mpegSurroundDecoder_ParseNoHeader()
1464 int nbits = 0, bitsAvail; in mpegSurroundDecoder_Parse() local
1470 bitsAvail = FDKgetValidBits(hMpsBsData); in mpegSurroundDecoder_Parse()
1472 if (bitsAvail <= 0) { in mpegSurroundDecoder_Parse()
1484 nbits = bitsAvail - (INT)FDKgetValidBits(hMpsBsData); in mpegSurroundDecoder_Parse()
1486 if ((nbits > bitsAvail) || in mpegSurroundDecoder_Parse()
/external/aac/libFDK/src/
Dnlc_dec.cpp317 int bitsAvail = 0; in huff_dec_1D() local
355 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()