Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DFormatConversions.cpp103 uint8_t *yv12_y = yv12_y0 + j * yStride; in rgb565_to_yv12() local
119 yv12_y[i] = clamp_rgb((77 * R + 150 * G + 29 * B) >> 8); in rgb565_to_yv12()
161 uint8_t *yv12_y = yv12_y0 + j * yStride; in rgb888_to_yv12() local
171yv12_y[i] = clamp_rgb(1.0 * ((0.25678823529411765 * R) + (0.5041294117647058 * G) + (0.09790588235… in rgb888_to_yv12()
211 uint8_t *yv12_y = yv12_y0 + j * yStride; in rgb888_to_yuv420p() local
222 yv12_y[i] = clamp_rgb((77 * R + 150 * G + 29 * B) >> 8); in rgb888_to_yuv420p()
249 uint8_t *yv12_y = yv12_y0 + j * yStride; in yv12_to_rgb565() local
256 signed y1 = (signed)yv12_y[i] - 16; in yv12_to_rgb565()
294 uint8_t *yv12_y = yv12_y0 + j * yStride; in yv12_to_rgb888() local
302 signed y1 = (signed)yv12_y[i] - 16; in yv12_to_rgb888()
[all …]