Searched refs:buf0 (Results 1 – 2 of 2) sorted by relevance
45 ByteBuffer buf0 = img.getPlanes()[0].getBuffer(); in bitmapFromYuvImage() local46 int len = buf0.capacity(); in bitmapFromYuvImage()51 green = ((int) buf0.get(i)) & 255; in bitmapFromYuvImage()
267 ByteBuffer buf0 = planeList.get(0).getBuffer(); in colorInscribedDataCircleFromYuvImage() local349 int y00 = (int) (buf0.get(offsetY) & 255); in colorInscribedDataCircleFromYuvImage()385 int y01 = (int) (buf0.get(offsetY + yPixelStride) & 255); in colorInscribedDataCircleFromYuvImage()418 int y10 = (int) (buf0.get(offsetY + yByteStride) & 255); in colorInscribedDataCircleFromYuvImage()452 int y11 = (int) (buf0.get(offsetY + yByteStride + yPixelStride) & 255); in colorInscribedDataCircleFromYuvImage()