Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/
DVideoDecoderOutputBuffer.java120 int minimumYuvSize = yLength + (uvLength * 2); in initForYuvFrame() local
121 if (!isSafeToMultiply(uvLength, 2) || minimumYuvSize < yLength) { in initForYuvFrame()
126 if (data == null || data.capacity() < minimumYuvSize) { in initForYuvFrame()
127 data = ByteBuffer.allocateDirect(minimumYuvSize); in initForYuvFrame()
130 data.limit(minimumYuvSize); in initForYuvFrame()