Home
last modified time | relevance | path

Searched refs:rgb (Results 1 – 4 of 4) sorted by relevance

/device/generic/goldfish/camera/
DConverters.h82 #define R16(rgb) static_cast<uint8_t>(rgb & kRed5) argument
83 #define G16(rgb) static_cast<uint8_t>((rgb & kGreen6) >> 5) argument
84 #define B16(rgb) static_cast<uint8_t>((rgb & kBlue5) >> 11) argument
86 #define R16_32(rgb) static_cast<uint8_t>(((rgb & kRed5) << 3) | ((rgb & kRed5) >> 2)) argument
87 #define G16_32(rgb) static_cast<uint8_t>(((rgb & kGreen6) >> 3) | ((rgb & kGreen6) >> 9)) argument
88 #define B16_32(rgb) static_cast<uint8_t>(((rgb & kBlue5) >> 8) | ((rgb & kBlue5) >> 14)) argument
90 #define R32(rgb) static_cast<uint8_t>(rgb & kRed8) argument
91 #define G32(rgb) static_cast<uint8_t>(((rgb & kGreen8) >> 8) & 0xff) argument
92 #define B32(rgb) static_cast<uint8_t>(((rgb & kBlue8) >> 16) & 0xff) argument
99 #define R16(rgb) static_cast<uint8_t>((rgb & kRed5) >> 11) argument
[all …]
DConverters.cpp32 uint16_t* rgb, in _YUV420SToRGB565() argument
43 *rgb = YUVToRGB565(*Y, nU, nV); in _YUV420SToRGB565()
44 Y++; rgb++; in _YUV420SToRGB565()
45 *rgb = YUVToRGB565(*Y, nU, nV); in _YUV420SToRGB565()
46 Y++; rgb++; in _YUV420SToRGB565()
62 uint32_t* rgb, in _YUV420SToRGB32() argument
73 *rgb = YUVToRGB32(*Y, nU, nV); in _YUV420SToRGB32()
74 Y++; rgb++; in _YUV420SToRGB32()
75 *rgb = YUVToRGB32(*Y, nU, nV); in _YUV420SToRGB32()
76 Y++; rgb++; in _YUV420SToRGB32()
[all …]
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
DQCameraMjpegDecode.cpp385 jpeg_buffer_init(&p_output_buffers.data.rgb.rgb_buf); in decoder_test()
588 jpeg_buffer_get_addr(p_thread_arg->p_whole_output_buf->data.rgb.rgb_buf, &whole_output_buf_ptr); in decoder_output_handler()
589 jpeg_buffer_get_addr(p_output_buffer->data.rgb.rgb_buf, &tiling_buf_ptr); in decoder_output_handler()
/device/asus/fugu/recovery/
Drecovery_ui.cpp54 uint8_t rgb[3]; member