Home
last modified time | relevance | path

Searched refs:ParsableBitArray (Results 1 – 23 of 23) sorted by relevance

/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/util/
DParsableBitArrayTest.java35 ParsableBitArray testArray = new ParsableBitArray(testData); in readAllBytes()
48 ParsableBitArray testArray = new ParsableBitArray(testData); in readBitInSameByte()
60 ParsableBitArray testArray = new ParsableBitArray(testData); in readBitInMultipleBytes()
72 ParsableBitArray testArray = new ParsableBitArray(testData); in readBits0Bits()
82 ParsableBitArray testArray = new ParsableBitArray(testData); in readBitsByteAligned()
94 ParsableBitArray testArray = new ParsableBitArray(testData); in readBitsNonByteAligned()
106 ParsableBitArray testArray = new ParsableBitArray(testData); in readBitsNegativeValue()
116 ParsableBitArray testArray = new ParsableBitArray(testData); in readBitsToLong0Bits()
126 ParsableBitArray testArray = new ParsableBitArray(testData); in readBitsToLongByteAligned()
138 ParsableBitArray testArray = new ParsableBitArray(testData); in readBitsToLongNonByteAligned()
[all …]
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/
DDtsUtil.java22 import com.google.android.exoplayer2.util.ParsableBitArray;
97 ParsableBitArray frameBits = getNormalizedFrameHeader(frame); in parseDtsFormat()
202 private static ParsableBitArray getNormalizedFrameHeader(byte[] frameHeader) { in getNormalizedFrameHeader()
205 return new ParsableBitArray(frameHeader); in getNormalizedFrameHeader()
217 ParsableBitArray frameBits = new ParsableBitArray(frameHeader); in getNormalizedFrameHeader()
220 ParsableBitArray scratchBits = new ParsableBitArray(frameHeader); in getNormalizedFrameHeader()
DAacUtil.java23 import com.google.android.exoplayer2.util.ParsableBitArray;
180 new ParsableBitArray(audioSpecificConfig), /* forceReadToEnd= */ false); in parseAudioSpecificConfig()
193 public static Config parseAudioSpecificConfig(ParsableBitArray bitArray, boolean forceReadToEnd) in parseAudioSpecificConfig()
323 private static int getAudioObjectType(ParsableBitArray bitArray) { in getAudioObjectType()
338 private static int getSamplingFrequency(ParsableBitArray bitArray) { in getSamplingFrequency()
351 ParsableBitArray bitArray, int audioObjectType, int channelConfiguration) {
DAc4Util.java23 import com.google.android.exoplayer2.util.ParsableBitArray;
127 public static SyncFrameInfo parseAc4SyncframeInfo(ParsableBitArray data) { in parseAc4SyncframeInfo()
219 return parseAc4SyncframeInfo(new ParsableBitArray(bufferBytes)).sampleCount; in parseAc4SyncframeAudioSampleCount()
235 private static int readVariableBits(ParsableBitArray data, int bitsPerRead) { in readVariableBits()
DAc3Util.java25 import com.google.android.exoplayer2.util.ParsableBitArray;
242 public static SyncFrameInfo parseAc3SyncframeInfo(ParsableBitArray data) { in parseAc3SyncframeInfo()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DLatmReader.java28 import com.google.android.exoplayer2.util.ParsableBitArray;
50 private final ParsableBitArray sampleBitArray;
82 sampleBitArray = new ParsableBitArray(sampleDataBuffer.data); in LatmReader()
158 private void parseAudioMuxElement(ParsableBitArray data) throws ParserException { in parseAudioMuxElement()
183 private void parseStreamMuxConfig(ParsableBitArray data) throws ParserException { in parseStreamMuxConfig()
248 private void parseFrameLength(ParsableBitArray data) { in parseFrameLength()
271 private int parseAudioSpecificConfig(ParsableBitArray data) throws ParserException { in parseAudioSpecificConfig()
280 private int parsePayloadLengthInfo(ParsableBitArray data) throws ParserException { in parsePayloadLengthInfo()
296 private void parsePayloadMux(ParsableBitArray data, int muxLengthBytes) { in parsePayloadMux()
318 private static long latmGetValue(ParsableBitArray data) { in latmGetValue()
DPesReader.java24 import com.google.android.exoplayer2.util.ParsableBitArray;
47 private final ParsableBitArray pesScratch;
63 pesScratch = new ParsableBitArray(new byte[PES_SCRATCH_SIZE]); in PesReader()
DAc4Reader.java29 import com.google.android.exoplayer2.util.ParsableBitArray;
49 private final ParsableBitArray headerScratchBits;
82 headerScratchBits = new ParsableBitArray(new byte[Ac4Util.HEADER_SIZE_FOR_PARSER]); in Ac4Reader()
DAc3Reader.java28 import com.google.android.exoplayer2.util.ParsableBitArray;
53 private final ParsableBitArray headerScratchBits;
87 headerScratchBits = new ParsableBitArray(new byte[HEADER_SIZE]); in Ac3Reader()
DAdtsExtractor.java34 import com.google.android.exoplayer2.util.ParsableBitArray;
88 private final ParsableBitArray scratchBits;
117 scratchBits = new ParsableBitArray(scratch.data); in AdtsExtractor()
DPsExtractor.java30 import com.google.android.exoplayer2.util.ParsableBitArray;
311 private final ParsableBitArray pesScratch;
322 pesScratch = new ParsableBitArray(new byte[PES_SCRATCH_SIZE]); in PesReader()
DTsExtractor.java39 import com.google.android.exoplayer2.util.ParsableBitArray;
447 private final ParsableBitArray patScratch;
450 patScratch = new ParsableBitArray(new byte[4]); in PatReader()
507 private final ParsableBitArray pmtScratch;
513 pmtScratch = new ParsableBitArray(new byte[5]); in PmtReader()
DAdtsReader.java30 import com.google.android.exoplayer2.util.ParsableBitArray;
68 private final ParsableBitArray adtsScratch;
113 adtsScratch = new ParsableBitArray(new byte[HEADER_SIZE + CRC_SIZE]); in AdtsReader()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/dvb/
DDvbParser.java28 import com.google.android.exoplayer2.util.ParsableBitArray;
130 ParsableBitArray dataBitArray = new ParsableBitArray(data, limit); in decode()
244 private static void parseSubtitlingSegment(ParsableBitArray data, SubtitleService service) { in parseSubtitlingSegment()
321 private static DisplayDefinition parseDisplayDefinition(ParsableBitArray data) { in parseDisplayDefinition()
351 private static PageComposition parsePageComposition(ParsableBitArray data, int length) { in parsePageComposition()
374 private static RegionComposition parseRegionComposition(ParsableBitArray data, int length) { in parseRegionComposition()
421 private static ClutDefinition parseClutDefinition(ParsableBitArray data, int length) { in parseClutDefinition()
484 private static ObjectData parseObjectData(ParsableBitArray data) { in parseObjectData()
630 ParsableBitArray data = new ParsableBitArray(pixelData); in paintPixelDataSubBlock()
691 ParsableBitArray data, in paint2BitPixelCodeString()
[all …]
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DParsableBitArray.java24 public final class ParsableBitArray { class
35 public ParsableBitArray() { in ParsableBitArray() method in ParsableBitArray
44 public ParsableBitArray(byte[] data) { in ParsableBitArray() method in ParsableBitArray
54 public ParsableBitArray(byte[] data, int limit) { in ParsableBitArray() method in ParsableBitArray
DParsableByteArray.java177 public void readBytes(ParsableBitArray bitArray, int length) { in readBytes()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/metadata/scte35/
DSpliceInfoDecoder.java23 import com.google.android.exoplayer2.util.ParsableBitArray;
41 private final ParsableBitArray sectionHeader;
47 sectionHeader = new ParsableBitArray(); in SpliceInfoDecoder()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/metadata/dvbsi/
DAppInfoTableDecoder.java24 import com.google.android.exoplayer2.util.ParsableBitArray;
57 ? parseAit(new ParsableBitArray(buffer.array(), buffer.limit())) in decode()
62 private static Metadata parseAit(ParsableBitArray sectionData) { in parseAit()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DFlacStreamMetadata.java26 import com.google.android.exoplayer2.util.ParsableBitArray;
114 ParsableBitArray scratch = new ParsableBitArray(data); in FlacStreamMetadata()
DFlacMetadataReader.java26 import com.google.android.exoplayer2.util.ParsableBitArray;
150 ParsableBitArray scratch = new ParsableBitArray(new byte[4]); in readMetadataBlock()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/spherical/
DProjectionDecoder.java20 import com.google.android.exoplayer2.util.ParsableBitArray;
182 ParsableBitArray bitInput = new ParsableBitArray(input.data); in parseMesh()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/metadata/id3/
DId3Decoder.java25 import com.google.android.exoplayer2.util.ParsableBitArray;
684 ParsableBitArray references = new ParsableBitArray(); in decodeMlltFrame()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/cea/
DCea708Decoder.java39 import com.google.android.exoplayer2.util.ParsableBitArray;
147 private final ParsableBitArray serviceBlockPacket;
164 serviceBlockPacket = new ParsableBitArray(); in Cea708Decoder()