/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ |
D | FlacMetadataReaderTest.java | 48 ExtractorInput input = buildExtractorInput("flac/bear_with_id3.flac"); in peekId3Metadata_updatesPeekPosition() 58 ExtractorInput input = buildExtractorInput("flac/bear_with_id3.flac"); in peekId3Metadata_parseData_returnsNonEmptyMetadata() 68 ExtractorInput input = buildExtractorInput("flac/bear_with_id3.flac"); in peekId3Metadata_doNotParseData_returnsNull() 78 ExtractorInput input = buildExtractorInput(fileWithoutId3Metadata); in peekId3Metadata_noId3Metadata_returnsNull() 87 ExtractorInput input = buildExtractorInput("flac/bear.flac"); in checkAndPeekStreamMarker_updatesPeekPosition() 97 ExtractorInput input = buildExtractorInput("flac/bear.flac"); in checkAndPeekStreamMarker_validData_isTrue() 106 ExtractorInput input = buildExtractorInput("mp3/bear-vbr-xing-header.mp3"); in checkAndPeekStreamMarker_invalidData_isFalse() 115 ExtractorInput input = buildExtractorInput("flac/bear_with_id3.flac"); in readId3Metadata_updatesReadPositionAndAlignsPeekPosition() 128 ExtractorInput input = buildExtractorInput("flac/bear_with_id3.flac"); in readId3Metadata_parseData_returnsNonEmptyMetadata() 138 ExtractorInput input = buildExtractorInput("flac/bear_with_id3.flac"); in readId3Metadata_doNotParseData_returnsNull() [all …]
|
D | FlacFrameReaderTest.java | 45 ExtractorInput input = in checkAndReadFrameHeader_validData_updatesPosition() 65 ExtractorInput input = in checkAndReadFrameHeader_validData_isTrue() 86 ExtractorInput input = in checkAndReadFrameHeader_validData_writesSampleNumber() 106 ExtractorInput input = in checkAndReadFrameHeader_invalidData_isFalse() 128 ExtractorInput input = buildExtractorInputReadingFromFirstFrame(file, streamMetadataHolder); in checkFrameHeaderFromPeek_validData_doesNotUpdatePositions() 146 ExtractorInput input = in checkFrameHeaderFromPeek_validData_isTrue() 165 ExtractorInput input = in checkFrameHeaderFromPeek_validData_writesSampleNumber() 183 ExtractorInput input = in checkFrameHeaderFromPeek_invalidData_isFalse() 203 ExtractorInput input = buildExtractorInputReadingFromFirstFrame(file, streamMetadataHolder); in checkFrameHeaderFromPeek_invalidData_doesNotUpdatePositions() 225 ExtractorInput input = in getFirstSampleNumber_doesNotUpdateReadPositionAndAlignsPeekPosition() [all …]
|
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/mkv/ |
D | DefaultEbmlReaderTest.java | 21 import com.google.android.exoplayer2.extractor.ExtractorInput; 37 ExtractorInput input = createTestInput(0x1A, 0x45, 0xDF, 0xA3, 0x84, 0x42, 0x85, 0x81, 0x01); in masterElement() 47 ExtractorInput input = createTestInput(0x18, 0x53, 0x80, 0x67, 0x80); in masterElementEmpty() 57 ExtractorInput input = createTestInput(0x42, 0xF7, 0x81, 0xFE); in unsignedIntegerElement() 65 ExtractorInput input = in unsignedIntegerElementLarge() 74 ExtractorInput input = in unsignedIntegerElementTooLargeBecomesNegative() 83 ExtractorInput input = createTestInput(0x42, 0x82, 0x86, 0x41, 0x62, 0x63, 0x31, 0x32, 0x33); in stringElement() 91 ExtractorInput input = createTestInput(0x42, 0x82, 0x86, 0x41, 0x62, 0x63, 0x00, 0x00, 0x00); in stringElementWithZeroPadding() 99 ExtractorInput input = createTestInput(0x42, 0x82, 0x80); in stringElementEmpty() 107 ExtractorInput input = in floatElementFourBytes() [all …]
|
D | VarintReaderTest.java | 25 import com.google.android.exoplayer2.extractor.ExtractorInput; 91 ExtractorInput input = new FakeExtractorInput.Builder() in readVarintEndOfInputAtStart() 109 ExtractorInput input = new FakeExtractorInput.Builder() in readVarintExceedsMaximumAllowedLength() 194 ExtractorInput input = new FakeExtractorInput.Builder() in testReadVarint() 206 ExtractorInput input = new FakeExtractorInput.Builder() in testReadVarintFlaky()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ |
D | FlacMetadataReader.java | 65 public static Metadata peekId3Metadata(ExtractorInput input, boolean parseData) in peekId3Metadata() 81 public static boolean checkAndPeekStreamMarker(ExtractorInput input) throws IOException { in checkAndPeekStreamMarker() 101 public static Metadata readId3Metadata(ExtractorInput input, boolean parseData) in readId3Metadata() 120 public static void readStreamMarker(ExtractorInput input) throws IOException { in readStreamMarker() 148 ExtractorInput input, FlacStreamMetadataHolder metadataHolder) throws IOException { in readMetadataBlock() 229 public static int getFrameStartMarker(ExtractorInput input) throws IOException { in getFrameStartMarker() 245 private static FlacStreamMetadata readStreamInfoBlock(ExtractorInput input) throws IOException { in readStreamInfoBlock() 253 ExtractorInput input, int length) throws IOException { in readSeekTableMetadataBlock() 259 private static List<String> readVorbisCommentMetadataBlock(ExtractorInput input, int length) in readVorbisCommentMetadataBlock() 270 private static PictureFrame readPictureMetadataBlock(ExtractorInput input, int length) in readPictureMetadataBlock()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/rawcc/ |
D | RawCcExtractor.java | 22 import com.google.android.exoplayer2.extractor.ExtractorInput; 74 public boolean sniff(ExtractorInput input) throws IOException { in sniff() 81 public int read(ExtractorInput input, PositionHolder seekPosition) throws IOException { in read() 120 private boolean parseHeader(ExtractorInput input) throws IOException { in parseHeader() 134 private boolean parseTimestampAndSampleCount(ExtractorInput input) throws IOException { in parseTimestampAndSampleCount() 157 private void parseSamples(ExtractorInput input) throws IOException { in parseSamples()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flv/ |
D | FlvExtractor.java | 21 import com.google.android.exoplayer2.extractor.ExtractorInput; 99 public boolean sniff(ExtractorInput input) throws IOException { in sniff() 147 public int read(ExtractorInput input, PositionHolder seekPosition) throws IOException { in read() 184 private boolean readFlvHeader(ExtractorInput input) throws IOException { in readFlvHeader() 217 private void skipToTagHeader(ExtractorInput input) throws IOException { in skipToTagHeader() 230 private boolean readTagHeader(ExtractorInput input) throws IOException { in readTagHeader() 254 private boolean readTagData(ExtractorInput input) throws IOException { in readTagData() 285 private ParsableByteArray prepareTagData(ExtractorInput input) throws IOException { in prepareTagData()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ogg/ |
D | DefaultOggSeeker.java | 22 import com.google.android.exoplayer2.extractor.ExtractorInput; 91 public long read(ExtractorInput input) throws IOException { in read() 152 private long getNextSeekPosition(ExtractorInput input) throws IOException { in getNextSeekPosition() 202 private void skipToPageOfTargetGranule(ExtractorInput input) throws IOException { in skipToPageOfTargetGranule() 221 void skipToNextPage(ExtractorInput input) throws IOException { in skipToNextPage() 236 private boolean skipToNextPage(ExtractorInput input, long limit) throws IOException { in skipToNextPage() 274 long readGranuleOfLastPage(ExtractorInput input) throws IOException { in readGranuleOfLastPage()
|
D | OggExtractor.java | 21 import com.google.android.exoplayer2.extractor.ExtractorInput; 47 public boolean sniff(ExtractorInput input) throws IOException { in sniff() 73 public int read(ExtractorInput input, PositionHolder seekPosition) throws IOException { in read() 91 private boolean sniffInternal(ExtractorInput input) throws IOException { in sniffInternal()
|
D | StreamReader.java | 22 import com.google.android.exoplayer2.extractor.ExtractorInput; 105 final int read(ExtractorInput input, PositionHolder seekPosition) throws IOException { in read() 121 private int readHeaders(ExtractorInput input) throws IOException { in readHeaders() 166 private int readPayload(ExtractorInput input, PositionHolder seekPosition) throws IOException { in readPayload() 252 public long read(ExtractorInput input) { in read()
|
D | OggSeeker.java | 19 import com.google.android.exoplayer2.extractor.ExtractorInput; 56 long read(ExtractorInput input) throws IOException; in read()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flac/ |
D | FlacExtractor.java | 24 import com.google.android.exoplayer2.extractor.ExtractorInput; 137 public boolean sniff(ExtractorInput input) throws IOException { in sniff() 150 public @ReadResult int read(ExtractorInput input, PositionHolder seekPosition) in read() 194 private void readId3Metadata(ExtractorInput input) throws IOException { in readId3Metadata() 199 private void getStreamMarkerAndInfoBlockBytes(ExtractorInput input) throws IOException { in getStreamMarkerAndInfoBlockBytes() 205 private void readStreamMarker(ExtractorInput input) throws IOException { in readStreamMarker() 210 private void readMetadataBlocks(ExtractorInput input) throws IOException { in readMetadataBlocks() 228 private void getFrameStartMarker(ExtractorInput input) throws IOException { in getFrameStartMarker() 239 private @ReadResult int readFrames(ExtractorInput input, PositionHolder seekPosition) in readFrames()
|
D | FlacBinarySearchSeeker.java | 19 import com.google.android.exoplayer2.extractor.ExtractorInput; 75 public TimestampSearchResult searchForTimestamp(ExtractorInput input, long targetSampleNumber) in searchForTimestamp() 114 private long findNextFrame(ExtractorInput input) throws IOException { in findNextFrame()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/ |
D | DefaultEbmlReader.java | 22 import com.google.android.exoplayer2.extractor.ExtractorInput; 82 public boolean read(ExtractorInput input) throws IOException { in read() 165 private long maybeResyncToNextLevel1Element(ExtractorInput input) throws IOException { in maybeResyncToNextLevel1Element() 189 private long readInteger(ExtractorInput input, int byteLength) throws IOException { in readInteger() 206 private double readFloat(ExtractorInput input, int byteLength) throws IOException { in readFloat() 226 private static String readString(ExtractorInput input, int byteLength) throws IOException { in readString()
|
D | Sniffer.java | 19 import com.google.android.exoplayer2.extractor.ExtractorInput; 43 public boolean sniff(ExtractorInput input) throws IOException { in sniff() 88 private long readUint(ExtractorInput input) throws IOException { in readUint()
|
D | EbmlReader.java | 19 import com.google.android.exoplayer2.extractor.ExtractorInput; 54 boolean read(ExtractorInput input) throws IOException; in read()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/amr/ |
D | AmrExtractor.java | 24 import com.google.android.exoplayer2.extractor.ExtractorInput; 163 public boolean sniff(ExtractorInput input) throws IOException { in sniff() 175 public int read(ExtractorInput input, PositionHolder seekPosition) throws IOException { in read() 229 private boolean readAmrHeader(ExtractorInput input) throws IOException { in readAmrHeader() 243 private static boolean peekAmrSignature(ExtractorInput input, byte[] amrSignature) in peekAmrSignature() 268 private int readSample(ExtractorInput extractorInput) throws IOException { in readSample() 306 private int peekNextSampleSize(ExtractorInput extractorInput) throws IOException { in peekNextSampleSize()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/ |
D | TsDurationReader.java | 20 import com.google.android.exoplayer2.extractor.ExtractorInput; 79 ExtractorInput input, PositionHolder seekPositionHolder, int pcrPid) throws IOException { in readDuration() 117 private int finishReadDuration(ExtractorInput input) { in finishReadDuration() 124 private int readFirstPcrValue(ExtractorInput input, PositionHolder seekPositionHolder, int pcrPid) in readFirstPcrValue() 159 private int readLastPcrValue(ExtractorInput input, PositionHolder seekPositionHolder, int pcrPid) in readLastPcrValue()
|
D | PsDurationReader.java | 20 import com.google.android.exoplayer2.extractor.ExtractorInput; 86 ExtractorInput input, PositionHolder seekPositionHolder) throws IOException { in readDuration() 130 private int finishReadDuration(ExtractorInput input) { in finishReadDuration() 137 private int readFirstScrValue(ExtractorInput input, PositionHolder seekPositionHolder) in readFirstScrValue() 173 private int readLastScrValue(ExtractorInput input, PositionHolder seekPositionHolder) in readLastScrValue()
|
D | AdtsExtractor.java | 27 import com.google.android.exoplayer2.extractor.ExtractorInput; 123 public boolean sniff(ExtractorInput input) throws IOException { in sniff() 182 public int read(ExtractorInput input, PositionHolder seekPosition) throws IOException { in read() 214 private int peekId3Header(ExtractorInput input) throws IOException { in peekId3Header() 258 private void calculateAverageFrameSize(ExtractorInput input) throws IOException { in calculateAverageFrameSize()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/ |
D | Sniffer.java | 19 import com.google.android.exoplayer2.extractor.ExtractorInput; 70 public static boolean sniffFragmented(ExtractorInput input) throws IOException { in sniffFragmented() 82 public static boolean sniffUnfragmented(ExtractorInput input) throws IOException { in sniffUnfragmented() 86 private static boolean sniffInternal(ExtractorInput input, boolean fragmented) in sniffInternal()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/ |
D | Mp3Extractor.java | 26 import com.google.android.exoplayer2.extractor.ExtractorInput; 184 public boolean sniff(ExtractorInput input) throws IOException { in sniff() 215 public int read(ExtractorInput input, PositionHolder seekPosition) throws IOException { in read() 241 private int readInternal(ExtractorInput input) throws IOException { in readInternal() 274 private int readSample(ExtractorInput extractorInput) throws IOException { in readSample() 330 private boolean synchronize(ExtractorInput input, boolean sniffing) throws IOException { in synchronize() 407 private boolean peekEndOfStreamOrHeader(ExtractorInput extractorInput) throws IOException { in peekEndOfStreamOrHeader() 423 private Seeker computeSeeker(ExtractorInput input) throws IOException { in computeSeeker() 472 private Seeker maybeReadSeekFrame(ExtractorInput input) throws IOException { in maybeReadSeekFrame() 507 private Seeker getConstantBitrateSeeker(ExtractorInput input) throws IOException { in getConstantBitrateSeeker()
|
/external/exoplayer/tree/extensions/flac/src/main/java/com/google/android/exoplayer2/ext/flac/ |
D | FlacDecoderJni.java | 21 import com.google.android.exoplayer2.extractor.ExtractorInput; 50 @Nullable private ExtractorInput extractorInput; 79 public void setData(ExtractorInput extractorInput) { in setData() 127 ExtractorInput extractorInput = this.extractorInput; in read() 268 ExtractorInput extractorInput, byte[] tempBuffer, int offset, int length) throws IOException { in readFromExtractorInput()
|
D | FlacExtractor.java | 26 import com.google.android.exoplayer2.extractor.ExtractorInput; 116 public boolean sniff(ExtractorInput input) throws IOException { in sniff() 122 public int read(final ExtractorInput input, PositionHolder seekPosition) throws IOException { in read() 178 private FlacDecoderJni initDecoderJni(ExtractorInput input) { in initDecoderJni() 187 private void decodeStreamMetadata(ExtractorInput input) throws IOException { in decodeStreamMetadata() 222 ExtractorInput input, in handlePendingSeek()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/wav/ |
D | WavHeaderReader.java | 23 import com.google.android.exoplayer2.extractor.ExtractorInput; 45 public static WavHeader peek(ExtractorInput input) throws IOException { in peek() 111 public static Pair<Long, Long> skipToData(ExtractorInput input) throws IOException { in skipToData() 176 public static ChunkHeader peek(ExtractorInput input, ParsableByteArray scratch) in peek()
|