Home
last modified time | relevance | path

Searched refs:readBits (Results 1 – 25 of 28) sorted by relevance

12

/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DEC3TrackImpl.java178 int syncword = brb.readBits(16); in readVariables()
185 entry.strmtyp = brb.readBits(2); in readVariables()
186 entry.substreamid = brb.readBits(3); in readVariables()
187 int frmsiz = brb.readBits(11); in readVariables()
190 entry.fscod = brb.readBits(2); in readVariables()
194 fscod2 = brb.readBits(2); in readVariables()
197 numblkscod = brb.readBits(2); in readVariables()
220 entry.acmod = brb.readBits(3); in readVariables()
221 entry.lfeon = brb.readBits(1); in readVariables()
222 entry.bsid = brb.readBits(5); in readVariables()
[all …]
DAACTrackImpl.java224 int syncword = brb.readBits(12); in readVariables()
228 int id = brb.readBits(1); in readVariables()
229 int layer = brb.readBits(2); in readVariables()
230 int protectionAbsent = brb.readBits(1); in readVariables()
231 int profile = brb.readBits(2); in readVariables()
232 samplerate = samplingFrequencyIndexMap.get(brb.readBits(4)); in readVariables()
233 brb.readBits(1); in readVariables()
234 channelconfig = brb.readBits(3); in readVariables()
235 int original = brb.readBits(1); in readVariables()
236 int home = brb.readBits(1); in readVariables()
[all …]
DAC3TrackImpl.java140 int syncword = brb.readBits(16); in readVariables()
144 brb.readBits(16); // CRC-1 in readVariables()
145 fscod = brb.readBits(2); in readVariables()
169 frmsizecod = brb.readBits(6); in readVariables()
178 bsid = brb.readBits(5); in readVariables()
179 bsmod = brb.readBits(3); in readVariables()
180 acmod = brb.readBits(3); in readVariables()
189 brb.readBits(2); in readVariables()
193 brb.readBits(2); in readVariables()
197 brb.readBits(2); in readVariables()
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/
DBitInputStreamTest.java34 bis.readBits(-1); in shouldNotAllowReadingOfANegativeAmountOfBits()
41 bis.readBits(64); in shouldNotAllowReadingOfMoreThan63BitsAtATime()
48 assertEquals(0x000140f8, bis.readBits(24)); in testReading24BitsInLittleEndian()
55 assertEquals(0x00f84001, bis.readBits(24)); in testReading24BitsInBigEndian()
62 assertEquals(0x000140f8, bis.readBits(17)); in testReading17BitsInLittleEndian()
70 assertEquals(0x0001f080, bis.readBits(17)); in testReading17BitsInBigEndian()
77 assertEquals(0x2f0140f8, bis.readBits(30)); in testReading30BitsInLittleEndian()
85 assertEquals(0x3e10004b, bis.readBits(30)); in testReading30BitsInBigEndian()
92 assertEquals(0x2f0140f8, bis.readBits(31)); in testReading31BitsInLittleEndian()
100 assertEquals(0x7c200097, bis.readBits(31)); in testReading31BitsInBigEndian()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
DAudioSpecificConfig.java333 samplingFrequencyIndex = bitReaderBuffer.readBits(4); in parseDetail()
336 samplingFrequency = bitReaderBuffer.readBits(24); in parseDetail()
339 channelConfiguration = bitReaderBuffer.readBits(4); in parseDetail()
348 extensionSamplingFrequencyIndex = bitReaderBuffer.readBits(4); in parseDetail()
350 extensionSamplingFrequency = bitReaderBuffer.readBits(24); in parseDetail()
353 extensionChannelConfiguration = bitReaderBuffer.readBits(4); in parseDetail()
411 sacPayloadEmbedding = bitReaderBuffer.readBits(1); in parseDetail()
426 fillBits = bitReaderBuffer.readBits(5); in parseDetail()
460 epConfig = bitReaderBuffer.readBits(2); in parseDetail()
466 directMapping = bitReaderBuffer.readBits(1); in parseDetail()
[all …]
DBitReaderBuffer.java16 public int readBits(int i) { in readBits() method in BitReaderBuffer
27 rc = readBits(now); in readBits()
29 rc += readBits(then); in readBits()
44 readBits(left);
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/
DEC3SpecificBox.java39 dataRate = brb.readBits(13); in _parseDetails()
40 numIndSub = brb.readBits(3) + 1; in _parseDetails()
47 e.fscod = brb.readBits(2); in _parseDetails()
48 e.bsid = brb.readBits(5); in _parseDetails()
49 e.bsmod = brb.readBits(5); in _parseDetails()
50 e.acmod = brb.readBits(3); in _parseDetails()
51 e.lfeon = brb.readBits(1); in _parseDetails()
52 e.reserved = brb.readBits(3); in _parseDetails()
53 e.num_dep_sub = brb.readBits(4); in _parseDetails()
55 e.chan_loc = brb.readBits(9); in _parseDetails()
[all …]
DDTSSpecificBox.java53 frameDuration = brb.readBits(2); in _parseDetails()
54 streamConstruction = brb.readBits(5); in _parseDetails()
55 coreLFEPresent = brb.readBits(1); in _parseDetails()
56 coreLayout = brb.readBits(6); in _parseDetails()
57 coreSize = brb.readBits(14); in _parseDetails()
58 stereoDownmix = brb.readBits(1); in _parseDetails()
59 representationType = brb.readBits(3); in _parseDetails()
60 channelLayout = brb.readBits(16); in _parseDetails()
61 multiAssetFlag = brb.readBits(1); in _parseDetails()
62 LBRDurationMod = brb.readBits(1); in _parseDetails()
[all …]
DAC3SpecificBox.java30 fscod = brb.readBits(2); in _parseDetails()
31 bsid = brb.readBits(5); in _parseDetails()
32 bsmod = brb.readBits(3); in _parseDetails()
33 acmod = brb.readBits(3); in _parseDetails()
34 lfeon = brb.readBits(1); in _parseDetails()
35 bitRateCode = brb.readBits(5); in _parseDetails()
36 reserved = brb.readBits(5); in _parseDetails()
DMLPSpecificBox.java29 format_info = brb.readBits(32); in _parseDetails()
30 peak_data_rate = brb.readBits(15); in _parseDetails()
31 reserved = brb.readBits(1); in _parseDetails()
32 reserved2 = brb.readBits(32); in _parseDetails()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/deflate64/
DHuffmanDecoder.java135 finalBlock = readBits(1) == 1; in decode()
136 int mode = (int) readBits(2); in decode()
167 long bLen = readBits(16); in switchToUncompressedState()
168 long bNLen = readBits(16); in switchToUncompressedState()
178 int literals = (int) (readBits(5) + 257); in readDynamicTables()
181 int distances = (int) (readBits(5) + 1); in readDynamicTables()
223 byte next = (byte) readBits(Byte.SIZE); in read()
312 run += readBits(runXtra); in decodeNext()
319 dist += readBits(distXtra); in decodeNext()
363 long bit = readBits(reader, 1); in nextSymbol()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/
DSampleFlags.java50 reserved = brb.readBits(6); in SampleFlags()
51 sampleDependsOn = brb.readBits(2); in SampleFlags()
52 sampleIsDependedOn = brb.readBits(2); in SampleFlags()
53 sampleHasRedundancy = brb.readBits(2); in SampleFlags()
54 samplePaddingValue = brb.readBits(3); in SampleFlags()
55 sampleIsDifferenceSample = brb.readBits(1) == 1; in SampleFlags()
56 sampleDegradationPriority = brb.readBits(16); in SampleFlags()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/h264/
DAvcConfigurationBox.java220 lengthSizeMinusOnePaddingBits = brb.readBits(6); in AVCDecoderConfigurationRecord()
221 lengthSizeMinusOne = brb.readBits(2); in AVCDecoderConfigurationRecord()
222 numberOfSequenceParameterSetsPaddingBits = brb.readBits(3); in AVCDecoderConfigurationRecord()
223 int numberOfSeuqenceParameterSets = brb.readBits(5); in AVCDecoderConfigurationRecord()
245 chromaFormatPaddingBits = brb.readBits(6); in AVCDecoderConfigurationRecord()
246 chromaFormat = brb.readBits(2); in AVCDecoderConfigurationRecord()
247 bitDepthLumaMinus8PaddingBits = brb.readBits(5); in AVCDecoderConfigurationRecord()
248 bitDepthLumaMinus8 = brb.readBits(3); in AVCDecoderConfigurationRecord()
249 bitDepthChromaMinus8PaddingBits = brb.readBits(5); in AVCDecoderConfigurationRecord()
250 bitDepthChromaMinus8 = brb.readBits(3); in AVCDecoderConfigurationRecord()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DBitStream.java45 return (int) readBits(1); in nextBit()
55 return readBits(n); in nextBits()
59 return (int) readBits(8); in nextByte()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/threegpp26244/
DSegmentIndexBox.java115 e.setReferenceType((byte) b.readBits(1)); in _parseDetails()
116 e.setReferencedSize(b.readBits(31)); in _parseDetails()
119 e.setStartsWithSap((byte) b.readBits(1)); in _parseDetails()
120 e.setSapType((byte) b.readBits(3)); in _parseDetails()
121 e.setSapDeltaTime(b.readBits(28)); in _parseDetails()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/z/
DZCompressorInputStream.java44 final int firstByte = (int) in.readBits(8); in ZCompressorInputStream()
45 final int secondByte = (int) in.readBits(8); in ZCompressorInputStream()
46 final int thirdByte = (int) in.readBits(8); in ZCompressorInputStream()
/external/brotli/java/org/brotli/dec/
DBitReaderTest.java26 BitReader.readBits(reader, 9); in testReadAfterEos()
DDecode.java261 return BLOCK_LENGTH_OFFSET[code] + BitReader.readBits(s, n); in readBlockLength()
774 int insertExtra = BitReader.readBits(s, insertBits); in decompress()
779 int copyExtra = BitReader.readBits(s, copyBits); in decompress()
856 int distanceExtra = BitReader.readBits(s, n); in decompress()
DBitReader.java131 static int readBits(State s, int n) { in readBits() method in BitReader
/external/aac/libSBRdec/src/
Denv_extr.cpp487 int readBits = fMin(32, nSfb); in sbrGetSyntheticCodedData() local
488 nSfb -= readBits; in sbrGetSyntheticCodedData()
489 if (readBits > 0) { in sbrGetSyntheticCodedData()
490 hFrameData->addHarmonics[i] = FDKreadBits(hBs, readBits) in sbrGetSyntheticCodedData()
491 << (32 - readBits); in sbrGetSyntheticCodedData()
496 bitsRead += readBits; in sbrGetSyntheticCodedData()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DSevenZFile.java724 bits = readBits(header, size); in readAllOrBits()
729 private BitSet readBits(final ByteBuffer header, final int size) throws IOException { in readBits() method in SevenZFile
761 isEmptyStream = readBits(header, files.length); in readFilesInfo()
768 isEmptyFile = readBits(header, isEmptyStream.cardinality()); in readFilesInfo()
775 isAnti = readBits(header, isEmptyStream.cardinality()); in readFilesInfo()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DBitInputStream.java81 public long readBits(final int count) throws IOException { in readBits() method in BitInputStream
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lzw/
DLZWInputStream.java174 return (int) in.readBits(codeSize); in readNextCode()
/external/aac/libAACdec/src/
Daacdecoder.cpp833 INT readBits = in CAacDecoder_ExtPayloadParse() local
836 if (readBits > *count) { /* Read too much. Something went wrong! */ in CAacDecoder_ExtPayloadParse()
839 *count -= readBits; in CAacDecoder_ExtPayloadParse()
845 INT readBits; in CAacDecoder_ExtPayloadParse() local
869 readBits = (INT)nBitsRemaining - (INT)FDKgetValidBits(hBs); in CAacDecoder_ExtPayloadParse()
870 if (readBits > *count) { /* Read too much. Something went wrong! */ in CAacDecoder_ExtPayloadParse()
873 *count -= readBits; in CAacDecoder_ExtPayloadParse()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/bzip2/
DBZip2CompressorInputStream.java240 long b = in.readBits(8);
391 long thech = bin.readBits(n);

12