/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
D | EC3TrackImpl.java | 178 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 …]
|
D | AACTrackImpl.java | 224 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 …]
|
D | AC3TrackImpl.java | 140 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/ |
D | BitInputStreamTest.java | 34 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/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/dvb/ |
D | DvbParser.java | 132 && dataBitArray.readBits(8) == 0x0F) { in decode() 245 int segmentType = data.readBits(8); in parseSubtitlingSegment() 246 int pageId = data.readBits(16); in parseSubtitlingSegment() 247 int dataFieldLength = data.readBits(16); in parseSubtitlingSegment() 325 int width = data.readBits(16); in parseDisplayDefinition() 326 int height = data.readBits(16); in parseDisplayDefinition() 333 horizontalPositionMinimum = data.readBits(16); in parseDisplayDefinition() 334 horizontalPositionMaximum = data.readBits(16); in parseDisplayDefinition() 335 verticalPositionMinimum = data.readBits(16); in parseDisplayDefinition() 336 verticalPositionMaximum = data.readBits(16); in parseDisplayDefinition() [all …]
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
D | AudioSpecificConfig.java | 333 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 …]
|
D | BitReaderBuffer.java | 16 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/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ |
D | VorbisUtil.java | 319 int timeCount = bitArray.readBits(6) + 1; in readVorbisModes() 321 if (bitArray.readBits(16) != 0x00) { in readVorbisModes() 337 int modeCount = bitArray.readBits(6) + 1; in readModes() 341 int windowType = bitArray.readBits(16); in readModes() 342 int transformType = bitArray.readBits(16); in readModes() 343 int mapping = bitArray.readBits(8); in readModes() 351 int mappingsCount = bitArray.readBits(6) + 1; in readMappings() 353 int mappingType = bitArray.readBits(16); in readMappings() 360 submaps = bitArray.readBits(4) + 1; in readMappings() 366 couplingSteps = bitArray.readBits(8) + 1; in readMappings() [all …]
|
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/util/ |
D | ParsableBitArrayTest.java | 74 int result = testArray.readBits(0); in readBits0Bits() 83 testArray.readBits(8); in readBitsByteAligned() 85 int result = testArray.readBits(18); in readBitsByteAligned() 95 testArray.readBits(3); in readBitsNonByteAligned() 97 int result = testArray.readBits(14); in readBitsNonByteAligned() 108 int result = testArray.readBits(32); in readBitsNegativeValue() 127 testArray.readBits(8); in readBitsToLongByteAligned() 139 testArray.readBits(3); in readBitsToLongNonByteAligned() 165 testArray.readBits(result, 0, 6); in readBitsToByteArray() 168 testArray.readBits(result, 0, 8); in readBitsToByteArray() [all …]
|
D | ParsableNalUnitBitArrayTest.java | 38 assertThat(array.readBits(24)).isEqualTo(0x000300); in readNoEscaping() 39 assertThat(array.readBits(7)).isEqualTo(0); in readNoEscaping() 41 assertThat(array.readBits(24)).isEqualTo(0x030000); in readNoEscaping() 66 assertThat(array.readBits(15)).isEqualTo(0); in readAllEscaping() 68 assertThat(array.readBits(17)).isEqualTo(0); in readAllEscaping() 69 assertThat(array.readBits(15)).isEqualTo(0); in readAllEscaping() 78 assertThat(array.readBits(7)).isEqualTo(127); in readMix() 79 assertThat(array.readBits(2)).isEqualTo(2); in readMix() 80 assertThat(array.readBits(17)).isEqualTo(3); in readMix() 81 assertThat(array.readBits(7)).isEqualTo(126); in readMix() [all …]
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ |
D | VorbisBitArrayTest.java | 89 assertThat(bitArray.readBits(32)).isEqualTo(0x0FF00FF0); in readInt32() 91 assertThat(bitArray.readBits(32)).isEqualTo(0xF00FF00F); in readInt32() 95 public void readBits() throws Exception { in readBits() method in VorbisBitArrayTest 97 assertThat(bitArray.readBits(2)).isEqualTo(3); in readBits() 99 assertThat(bitArray.readBits(2)).isEqualTo(2); in readBits() 101 assertThat(bitArray.readBits(2)).isEqualTo(2); in readBits() 103 assertThat(bitArray.readBits(16)).isEqualTo(0x2203); in readBits() 109 assertThat(bitArray.readBits(7)).isEqualTo(0x2e); in read4BitsBeyondBoundary() 111 assertThat(bitArray.readBits(4)).isEqualTo(0x0); in read4BitsBeyondBoundary() 117 assertThat(bitArray.readBits(32)).isEqualTo(0x0FFF0FFF); in readBitsBeyondByteBoundaries() [all …]
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/ |
D | EC3SpecificBox.java | 39 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 …]
|
D | DTSSpecificBox.java | 53 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 …]
|
D | AC3SpecificBox.java | 30 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()
|
D | MLPSpecificBox.java | 29 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/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/cea/ |
D | Cea708Decoder.java | 281 int serviceNumber = serviceBlockPacket.readBits(3); in processCurrentPacket() 282 int blockSize = serviceBlockPacket.readBits(5); in processCurrentPacket() 286 serviceNumber = serviceBlockPacket.readBits(6); in processCurrentPacket() 310 int command = serviceBlockPacket.readBits(8); in processCurrentPacket() 329 command = serviceBlockPacket.readBits(8); in processCurrentPacket() 524 int length = serviceBlockPacket.readBits(6); in handleC3Command() 641 int textTag = serviceBlockPacket.readBits(4); in handleSetPenAttributes() 642 int offset = serviceBlockPacket.readBits(2); in handleSetPenAttributes() 643 int penSize = serviceBlockPacket.readBits(2); in handleSetPenAttributes() 647 int edgeType = serviceBlockPacket.readBits(3); in handleSetPenAttributes() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/metadata/dvbsi/ |
D | AppInfoTableDecoder.java | 65 int sectionLength = sectionData.readBits(12); in parseAit() 72 int commonDescriptorsLength = sectionData.readBits(12); in parseAit() 89 int controlCode = sectionData.readBits(8); in parseAit() 94 int applicationDescriptorsLoopLength = sectionData.readBits(12); in parseAit() 98 int descriptorTag = sectionData.readBits(8); in parseAit() 99 int descriptorLength = sectionData.readBits(8); in parseAit() 104 int protocolId = sectionData.readBits(16); in parseAit() 111 int urlBaseLength = sectionData.readBits(8); in parseAit() 114 int extensionCount = sectionData.readBits(8); in parseAit() 118 int urlExtensionLength = sectionData.readBits(8); in parseAit()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/ |
D | LatmReader.java | 184 int audioMuxVersion = data.readBits(1); in parseStreamMuxConfig() 185 audioMuxVersionA = audioMuxVersion == 1 ? data.readBits(1) : 0; in parseStreamMuxConfig() 193 numSubframes = data.readBits(6); in parseStreamMuxConfig() 194 int numProgram = data.readBits(4); in parseStreamMuxConfig() 195 int numLayer = data.readBits(3); in parseStreamMuxConfig() 201 int readBits = parseAudioSpecificConfig(data); in parseStreamMuxConfig() local 203 byte[] initData = new byte[(readBits + 7) / 8]; in parseStreamMuxConfig() 204 data.readBits(initData, 0, readBits); in parseStreamMuxConfig() 235 otherDataLenBits = (otherDataLenBits << 8) + data.readBits(8); in parseStreamMuxConfig() 249 frameLengthType = data.readBits(3); in parseFrameLength() [all …]
|
D | PesReader.java | 189 int startCodePrefix = pesScratch.readBits(24); in parseHeader() 197 int packetLength = pesScratch.readBits(16); in parseHeader() 206 extendedHeaderLength = pesScratch.readBits(8); in parseHeader() 223 long pts = (long) pesScratch.readBits(3) << 30; in parseHeaderExtension() 225 pts |= pesScratch.readBits(15) << 15; in parseHeaderExtension() 227 pts |= pesScratch.readBits(15); in parseHeaderExtension() 231 long dts = (long) pesScratch.readBits(3) << 30; in parseHeaderExtension() 233 dts |= pesScratch.readBits(15) << 15; in parseHeaderExtension() 235 dts |= pesScratch.readBits(15); in parseHeaderExtension()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/deflate64/ |
D | HuffmanDecoder.java | 135 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/brotli/java/org/brotli/dec/ |
D | BitReaderTest.java | 26 BitReader.readBits(reader, 9); in testReadAfterEos() 41 BitReader.readBits(reader, 13); in testAccumulatorUnderflowDetected() 42 BitReader.readBits(reader, 13); in testAccumulatorUnderflowDetected() 43 BitReader.readBits(reader, 13); in testAccumulatorUnderflowDetected() 44 BitReader.readBits(reader, 13); in testAccumulatorUnderflowDetected() 45 BitReader.readBits(reader, 13); in testAccumulatorUnderflowDetected()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/ |
D | SampleFlags.java | 50 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/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/ |
D | Ac4Util.java | 129 int syncWord = data.readBits(16); in parseAc4SyncframeInfo() 131 int frameSize = data.readBits(16); in parseAc4SyncframeInfo() 134 frameSize = data.readBits(24); in parseAc4SyncframeInfo() 141 int bitstreamVersion = data.readBits(2); in parseAc4SyncframeInfo() 145 int sequenceCounter = data.readBits(10); in parseAc4SyncframeInfo() 147 if (data.readBits(3) > 0) { // wait_frames in parseAc4SyncframeInfo() 152 int frameRateIndex = data.readBits(4); in parseAc4SyncframeInfo() 238 value += data.readBits(bitsPerRead); in readVariableBits()
|
D | Ac3Util.java | 246 boolean isEac3 = data.readBits(5) > 10; in parseAc3SyncframeInfo() 259 switch (data.readBits(2)) { // strmtyp in parseAc3SyncframeInfo() 274 frameSize = (data.readBits(11) + 1) * 2; // See frmsiz in subsection E.1.3.1.3. in parseAc3SyncframeInfo() 275 int fscod = data.readBits(2); in parseAc3SyncframeInfo() 280 sampleRate = SAMPLE_RATE_BY_FSCOD2[data.readBits(2)]; in parseAc3SyncframeInfo() 283 numblkscod = data.readBits(2); in parseAc3SyncframeInfo() 288 acmod = data.readBits(3); in parseAc3SyncframeInfo() 327 int mixdef = data.readBits(2); in parseAc3SyncframeInfo() 333 int mixdeflen = data.readBits(5); in parseAc3SyncframeInfo() 428 int addbsil = data.readBits(6); in parseAc3SyncframeInfo() [all …]
|
D | AacUtil.java | 197 int channelConfiguration = bitArray.readBits(4); in parseAudioSpecificConfig() 210 channelConfiguration = bitArray.readBits(4); in parseAudioSpecificConfig() 240 int epConfig = bitArray.readBits(2); in parseAudioSpecificConfig() 324 int audioObjectType = bitArray.readBits(5); in getAudioObjectType() 326 audioObjectType = 32 + bitArray.readBits(6); in getAudioObjectType() 340 int frequencyIndex = bitArray.readBits(4); in getSamplingFrequency() 342 samplingFrequency = bitArray.readBits(24); in getSamplingFrequency()
|