Home
last modified time | relevance | path

Searched refs:MAX_FRAME_HEADER_SIZE (Results 1 – 4 of 4) sorted by relevance

/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/
DFlacFrameReaderTest.java49 ParsableByteArray scratch = new ParsableByteArray(FlacConstants.MAX_FRAME_HEADER_SIZE); in checkAndReadFrameHeader_validData_updatesPosition()
50 input.read(scratch.data, 0, FlacConstants.MAX_FRAME_HEADER_SIZE); in checkAndReadFrameHeader_validData_updatesPosition()
69 ParsableByteArray scratch = new ParsableByteArray(FlacConstants.MAX_FRAME_HEADER_SIZE); in checkAndReadFrameHeader_validData_isTrue()
70 input.read(scratch.data, 0, FlacConstants.MAX_FRAME_HEADER_SIZE); in checkAndReadFrameHeader_validData_isTrue()
92 ParsableByteArray scratch = new ParsableByteArray(FlacConstants.MAX_FRAME_HEADER_SIZE); in checkAndReadFrameHeader_validData_writesSampleNumber()
93 input.read(scratch.data, 0, FlacConstants.MAX_FRAME_HEADER_SIZE); in checkAndReadFrameHeader_validData_writesSampleNumber()
109 ParsableByteArray scratch = new ParsableByteArray(FlacConstants.MAX_FRAME_HEADER_SIZE); in checkAndReadFrameHeader_invalidData_isFalse()
110 input.read(scratch.data, 0, FlacConstants.MAX_FRAME_HEADER_SIZE); in checkAndReadFrameHeader_invalidData_isFalse()
230 input.advancePeekPosition(FlacConstants.MAX_FRAME_HEADER_SIZE); in getFirstSampleNumber_doesNotUpdateReadPositionAndAlignsPeekPosition()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DFlacConstants.java30 public static final int MAX_FRAME_HEADER_SIZE = 16; field in FlacConstants
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DFlacFrameReader.java108 ParsableByteArray scratch = new ParsableByteArray(FlacConstants.MAX_FRAME_HEADER_SIZE); in checkFrameHeaderFromPeek()
113 ExtractorUtil.peekToLength(input, scratch.data, 2, FlacConstants.MAX_FRAME_HEADER_SIZE - 2); in checkFrameHeaderFromPeek()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flac/
DFlacExtractor.java293 if (buffer.bytesLeft() < FlacConstants.MAX_FRAME_HEADER_SIZE) { in readFrames()
335 while (frameOffset <= data.limit() - FlacConstants.MAX_FRAME_HEADER_SIZE) { in findFrame()