Home
last modified time | relevance | path

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

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DRendererCommon.java89 int copyCapacityNeeded = 0; in uploadYuvData() local
92 copyCapacityNeeded = Math.max(copyCapacityNeeded, planeWidths[i] * planeHeights[i]); in uploadYuvData()
96 if (copyCapacityNeeded > 0 in uploadYuvData()
97 && (copyBuffer == null || copyBuffer.capacity() < copyCapacityNeeded)) { in uploadYuvData()
98 copyBuffer = ByteBuffer.allocateDirect(copyCapacityNeeded); in uploadYuvData()