Searched refs:pixelBuf (Results 1 – 1 of 1) sorted by relevance
91 ByteBuffer pixelBuf = pixmap.getPixels(); in write() local92 pixelBuf.position(0); in write()93 pixelBuf.limit(pixelBuf.capacity()); in write()95 int remainingBytes = pixelBuf.capacity() % BUFFER_SIZE; in write()96 int iterations = pixelBuf.capacity() / BUFFER_SIZE; in write()100 pixelBuf.get(writeBuffer); in write()104 pixelBuf.get(writeBuffer, 0, remainingBytes); in write()108 pixelBuf.position(0); in write()109 pixelBuf.limit(pixelBuf.capacity()); in write()130 ByteBuffer pixelBuf = pixmap.getPixels(); in read() local[all …]