- in
- a native order direct buffer of size DECODED_BLOCK_SIZE that represent a 4 x 4 square of 3-byte pixels in form R, G, B. Byte (3 * (x + 4 * y) is the R value of pixel (x, y).
- validPixelMask
- is a 16-bit mask where bit (1
- out
- a native order direct buffer of size ENCODED_BLOCK_SIZE that receives the ETC1 compressed version of the data.
Encode a block of pixels.