Lines Matching refs:bpp
417 uint32_t bpp = lv_color_format_get_bpp(cf); in lv_bin_decoder_get_area() local
454 int32_t x_fraction = decoded_area->x1 % (8 / bpp); in lv_bin_decoder_get_area()
455 uint32_t len = (w_px * bpp + 7) / 8 + 1; /*10px for 1bpp may across 3bytes*/ in lv_bin_decoder_get_area()
460 offset += decoded_area->x1 * bpp / 8; /*Move to x1*/ in lv_bin_decoder_get_area()
488 uint32_t len = (w_px * bpp) / 8; in lv_bin_decoder_get_area()
490 offset += decoded_area->x1 * bpp / 8; /*Move to x1*/ in lv_bin_decoder_get_area()
501 bpp = 16; /* RGB565 + A8 mask*/ in lv_bin_decoder_get_area()
504 offset += decoded_area->x1 * bpp / 8; /*Move to x1*/ in lv_bin_decoder_get_area()
820 static inline uint8_t bit_extend(uint8_t value, uint8_t bpp) in bit_extend() argument
825 uint8_t bpp_now = bpp; in bit_extend()
828 bpp_now += bpp; in bit_extend()
840 uint8_t bpp = lv_color_format_get_bpp(dsc->header.cf); in decode_alpha_only() local
841 uint32_t w = (dsc->header.stride * 8) / bpp; in decode_alpha_only()
877 uint8_t mask = (1 << bpp) - 1; in decode_alpha_only()
890 *out = bit_extend(value, bpp); in decode_alpha_only()
891 shift += bpp; in decode_alpha_only()