Searched refs:bytesPerElement (Results 1 – 1 of 1) sorted by relevance
283 final int bytesPerElement = 1; in testCopyWithDirectByteBuffer() local284 final int bufferSize = pad + width * height * bytesPerPixel / bytesPerElement + pad; in testCopyWithDirectByteBuffer()295 pad + width * height * bytesPerPixel / bytesPerElement); in testCopyWithDirectByteBuffer() local321 final int bytesPerElement = 2; in testCopyWithDirectShortBuffer() local322 final int bufferSize = pad + width * height * bytesPerPixel / bytesPerElement + pad; in testCopyWithDirectShortBuffer()324 ByteBuffer.allocateDirect(bufferSize * bytesPerElement).asShortBuffer(); in testCopyWithDirectShortBuffer()334 pad + width * height * bytesPerPixel / bytesPerElement); in testCopyWithDirectShortBuffer() local360 final int bytesPerElement = 4; in testCopyWithDirectIntBuffer() local361 final int bufferSize = pad + width * height * bytesPerPixel / bytesPerElement + pad; in testCopyWithDirectIntBuffer()363 ByteBuffer.allocateDirect(bufferSize * bytesPerElement).asIntBuffer(); in testCopyWithDirectIntBuffer()[all …]