Home | History | Annotate | Download | only in camera

Lines Matching refs:RGB565

45  * RGB565 color masks
81 /* Extract red, green, and blue bytes from RGB565 word. */
85 /* Make 8 bits red, green, and blue, extracted from RGB565 word. */
93 /* Build RGB565 word from red, green, and blue bytes. */
94 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(b) << 6) | g) << 5) | r)
98 /* Extract red, green, and blue bytes from RGB565 word. */
102 /* Make 8 bits red, green, and blue, extracted from RGB565 word. */
110 /* Build RGB565 word from red, green, and blue bytes. */
111 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(r) << 6) | g) << 5) | b)
160 /* Converts RGB565 color to YUV. */
179 * RGB format that is used is RGB565, we can limit YUV -> RGB conversions to
180 * RGB565 only.
204 /* Converts YUV color to RGB565. */
213 return RGB565(r, g, b);
240 inline explicit YUVPixel(uint16_t rgb565)
242 RGB565ToYUV(rgb565, &Y, &U, &V);
256 /* Converts an YV12 framebuffer to RGB565 framebuffer.
259 * rgb - RGB565 framebuffer.
280 /* Converts an NV12 framebuffer to RGB565 framebuffer.
283 * rgb - RGB565 framebuffer.
296 /* Converts an NV21 framebuffer to RGB565 framebuffer.
299 * rgb - RGB565 framebuffer.