Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DFormatConversions.cpp106 uint16_t *rgb_ptr = rgb_ptr0 + get_rgb_offset(j, width, rgb_stride) / 2; in rgb565_to_yv12() local
109 uint8_t r = ((rgb_ptr[i]) >> 11) & 0x01f; in rgb565_to_yv12()
110 uint8_t g = ((rgb_ptr[i]) >> 5) & 0x03f; in rgb565_to_yv12()
111 uint8_t b = (rgb_ptr[i]) & 0x01f; in rgb565_to_yv12()
162 uint8_t *rgb_ptr = rgb_ptr0 + get_rgb_offset(j, width, rgb_stride); in rgb888_to_yv12() local
165 uint8_t R = rgb_ptr[i*rgb_stride]; in rgb888_to_yv12()
166 uint8_t G = rgb_ptr[i*rgb_stride+1]; in rgb888_to_yv12()
167 uint8_t B = rgb_ptr[i*rgb_stride+2]; in rgb888_to_yv12()
214 uint8_t *rgb_ptr = rgb_ptr0 + get_rgb_offset(j, width, rgb_stride); in rgb888_to_yuv420p() local
217 uint8_t R = rgb_ptr[i*rgb_stride]; in rgb888_to_yuv420p()
[all …]