nn::jpeg::CTR::PixelFormat Enumerated Typeenum PixelFormat;
| Value | Description |
|---|---|
PIXEL_FORMAT_YUYV8 |
Pixel format of images captured by camera devices. With 4 bytes (2 pixels) representing a single pair, the order information is stored beginning from the first byte is: Y component (left side), U component, Y component (right side), and V component. |
PIXEL_FORMAT_CTR_RGB565 |
Equivalent to GPU texture formats GL_RGB and GL_UNSIGNED_SHORT_5_6_5. The upper left pixel in the image is positioned first in memory. V-clipping is used when the graphics library converts images in this format to the native PICA format. CPU processing time of the graphics library increases with conversion. |
PIXEL_FORMAT_CTR_RGB565_BLOCK8 |
Equivalent to GPU texture formats GL_RGB_NATIVE_DMP and GL_UNSIGNED_SHORT_5_6_5. To directly access the buffer to which decoding functions make output from the GPU, the buffer must have 128-byte alignment. This library only checks for 4-byte alignment. |
PIXEL_FORMAT_RGB8 |
Equivalent to GPU texture formats GL_RGB and GL_UNSIGNED_BYTE. Just as with PIXEL_FORMAT_CTR_RGB565, the upper left pixel of the image comes first in memory. |
PIXEL_FORMAT_CTR_RGB8_BLOCK8 |
Equivalent to GPU texture formats GL_RGB_NATIVE_DMP and GL_UNSIGNED_BYTE. Alignment is the same as with PIXEL_FORMAT_CTR_RGB565_BLOCK8. |
PIXEL_FORMAT_RGBA8 |
Equivalent to GPU texture formats GL_RGBA and GL_UNSIGNED_BYTE. The alpha component is ignored during encoder input, and output as 0xFF during decoder output. Just as with PIXEL_FORMAT_CTR_RGB565, the upper left pixel of the image comes first in memory. |
PIXEL_FORMAT_CTR_RGBA8_BLOCK8 |
Equivalent to GPU texture formats GL_RGBA_NATIVE_DMP and GL_UNSIGNED_BYTE. Alignment is the same as with PIXEL_FORMAT_CTR_RGB565_BLOCK8. |
PIXEL_FORMAT_BGR8 |
Equivalent to the LCD display buffer format GL_RGB8_OES. The order of color components is the reversed compared to PIXEL_FORMAT_RGB8. |
PIXEL_FORMAT_ABGR8 |
Equivalent to the LCD display buffer format GL_RGBA8_OES. The order of color components is the reversed compared to PIXEL_FORMAT_RGBA8. The alpha component is handled in the same way as with PIXEL_FORMAT_RGBA8. |
NUM_PIXEL_FORMATS |
Enumerated type indicating the pixel format.
Supported as both encoder input and decoder output.
CONFIDENTIAL