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/ |
D | FlacFrameReaderTest.java | 49 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/ |
D | FlacConstants.java | 30 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/ |
D | FlacFrameReader.java | 108 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/ |
D | FlacExtractor.java | 293 if (buffer.bytesLeft() < FlacConstants.MAX_FRAME_HEADER_SIZE) { in readFrames() 335 while (frameOffset <= data.limit() - FlacConstants.MAX_FRAME_HEADER_SIZE) { in findFrame()
|