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.cpp93 uint16_t *rgb_ptr = rgb_ptr0 + get_rgb_offset(j, width, rgb_stride); in rgb565_to_yv12() local
96 uint8_t r = ((rgb_ptr[i]) >> 11) & 0x01f; in rgb565_to_yv12()
97 uint8_t g = ((rgb_ptr[i]) >> 5) & 0x03f; in rgb565_to_yv12()
98 uint8_t b = (rgb_ptr[i]) & 0x01f; in rgb565_to_yv12()
136 uint8_t *rgb_ptr = rgb_ptr0 + get_rgb_offset(j, width, rgb_stride); in rgb888_to_yv12() local
139 uint8_t R = rgb_ptr[i*rgb_stride]; in rgb888_to_yv12()
140 uint8_t G = rgb_ptr[i*rgb_stride+1]; in rgb888_to_yv12()
141 uint8_t B = rgb_ptr[i*rgb_stride+2]; in rgb888_to_yv12()
172 uint8_t *rgb_ptr = rgb_ptr0 + get_rgb_offset(j, width, rgb_stride); in rgb888_to_yuv420p() local
175 uint8_t R = rgb_ptr[i*rgb_stride]; in rgb888_to_yuv420p()
[all …]