Searched refs:colorPlane (Results 1 – 1 of 1) sorted by relevance
655 Image.Plane colorPlane = img.getPlanes()[plane]; in writeYuvImage() local656 ByteBuffer colorData = colorPlane.getBuffer(); in writeYuvImage()662 if (colorPlane.getPixelStride() == 1) { in writeYuvImage()665 y++, rowStart += colorPlane.getRowStride()) { in writeYuvImage()672 byte[] row = new byte[(colorW - 1) * colorPlane.getPixelStride() + 1]; in writeYuvImage()676 y++, rowStart += colorPlane.getRowStride()) { in writeYuvImage()680 x++, i += colorPlane.getPixelStride()) { in writeYuvImage()