Home
last modified time | relevance | path

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

/lvgl-latest/src/extra/libs/png/
Dlv_png.c235 lv_color32_t * img_argb = (lv_color32_t *)img; in convert_color_depth() local
240 c = lv_color_make(img_argb[i].ch.red, img_argb[i].ch.green, img_argb[i].ch.blue); in convert_color_depth()
245 lv_color32_t * img_argb = (lv_color32_t *)img; in convert_color_depth()
249 c = lv_color_make(img_argb[i].ch.blue, img_argb[i].ch.green, img_argb[i].ch.red); in convert_color_depth()
250 img[i * 3 + 2] = img_argb[i].ch.alpha; in convert_color_depth()
255 lv_color32_t * img_argb = (lv_color32_t *)img; in convert_color_depth()
259 c = lv_color_make(img_argb[i].ch.red, img_argb[i].ch.green, img_argb[i].ch.blue); in convert_color_depth()
260 img[i * 2 + 1] = img_argb[i].ch.alpha; in convert_color_depth()
264 lv_color32_t * img_argb = (lv_color32_t *)img; in convert_color_depth()
268 b = img_argb[i].ch.red | img_argb[i].ch.green | img_argb[i].ch.blue; in convert_color_depth()
[all …]