Searched refs:palette_size (Results 1 – 8 of 8) sorted by relevance
207 uint32_t palette_size = LV_COLOR_INDEXED_PALETTE_SIZE(src_cf); in decoder_open_variable() local208 LV_ASSERT(palette_size > 0); in decoder_open_variable()210 uint32_t palette_size_bytes = palette_size * sizeof(lv_color32_t); in decoder_open_variable()217 image_color32_pre_mul((lv_color32_t *)dest, palette_size); in decoder_open_variable()278 uint32_t palette_size = LV_COLOR_INDEXED_PALETTE_SIZE(src_header.cf); in decoder_open_file() local279 if(palette_size == 0) { in decoder_open_file()280 LV_LOG_ERROR("file %s invalid palette size: %" LV_PRIu32, path, palette_size); in decoder_open_file()284 uint32_t palette_size_bytes = palette_size * sizeof(lv_color32_t); in decoder_open_file()297 image_color32_pre_mul((lv_color32_t *)dest, palette_size); in decoder_open_file()
840 uint32_t palette_size = LV_COLOR_INDEXED_PALETTE_SIZE(decoded->header.cf); in lv_vg_lite_buffer_open_image() local842 LV_VG_LITE_CHECK_ERROR(vg_lite_set_CLUT(palette_size, (vg_lite_uint32_t *)decoded->data)); in lv_vg_lite_buffer_open_image()
34 uint32_t palette_size : 9; member
98 uint32_t palette_size; member
288 sup.palette_size = decoder_dsc->palette_size; in img_decode_and_draw()
112 … uint32_t palette_size = LV_COLOR_INDEXED_PALETTE_SIZE(lv_display_get_color_format(disp)) * 4; in lv_sdl_window_create() local113 uint32_t buffer_size_bytes = 32 * 1024 + palette_size; in lv_sdl_window_create()
558 palette_size = self.cf.ncolors * 4559 data_out = [self.data[:palette_size]]561 change_stride(self.data[palette_size:], self.h, current.stride,593 palette_size = self.cf.ncolors * 4594 palette = self.data[:palette_size]600 self.data = palette + self.data[palette_size:]
458 offset += dsc->palette_size * 4; /*Skip palette*/ in lv_bin_decoder_get_area()639 dsc->palette_size = LV_COLOR_INDEXED_PALETTE_SIZE(cf); in decode_indexed()