Home
last modified time | relevance | path

Searched refs:bitsAvailable (Results 1 – 5 of 5) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/
DBitInputStreamTest.java197 assertEquals(32, bis.bitsAvailable()); in availableWithoutCache()
205 assertEquals(28, bis.bitsAvailable()); in availableWithCache()
/external/aac/libMpegTPDec/src/
Dtpdec_asc.cpp2202 INT bitsAvailable = (INT)FDKgetValidBits(bs); in AudioSpecificConfig_ExtensionParse() local
2204 while (bitsAvailable >= 11) { in AudioSpecificConfig_ExtensionParse()
2207 bitsAvailable -= 11; in AudioSpecificConfig_ExtensionParse()
2212 (bitsAvailable >= 5)) { in AudioSpecificConfig_ExtensionParse()
2239 bitsAvailable = (INT)FDKgetValidBits(bs); in AudioSpecificConfig_ExtensionParse()
2245 (bitsAvailable > 0)) { /* Get PS extension configuration */ in AudioSpecificConfig_ExtensionParse()
2247 bitsAvailable -= 1; in AudioSpecificConfig_ExtensionParse()
2257 if (bitsAvailable >= 1) { in AudioSpecificConfig_ExtensionParse()
2258 bitsAvailable -= 1; in AudioSpecificConfig_ExtensionParse()
2261 bitsAvailable -= 8; in AudioSpecificConfig_ExtensionParse()
[all …]
/external/aac/libSACdec/src/
Dsac_bitdec.cpp219 int numOttBoxes, int numTttBoxes, int numOutChan, int bitsAvailable) { in SpatialDecParseExtensionConfig() argument
221 INT ba = bitsAvailable; in SpatialDecParseExtensionConfig()
450 int cfgStartPos, bitsAvailable; in SpatialDecParseSpecificConfig() local
457 bitsAvailable = cfgStartPos; in SpatialDecParseSpecificConfig()
459 bitsAvailable = 8 * sacHeaderLen; in SpatialDecParseSpecificConfig()
460 if (bitsAvailable > cfgStartPos) { in SpatialDecParseSpecificConfig()
583 bitsAvailable -= numHeaderBits; in SpatialDecParseSpecificConfig()
584 if (bitsAvailable < 0) { in SpatialDecParseSpecificConfig()
595 pSpatialSpecificConfig->nOutputChannels, bitsAvailable); in SpatialDecParseSpecificConfig()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DBitInputStream.java113 public long bitsAvailable() throws IOException { in bitsAvailable() method in BitInputStream
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/deflate64/
DHuffmanDecoder.java246 return (int) Math.min(blockLength - read, reader.bitsAvailable() / Byte.SIZE); in available()