Searched refs:copyCapacityNeeded (Results 1 – 1 of 1) sorted by relevance
89 int copyCapacityNeeded = 0; in uploadYuvData() local92 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()