Lines Matching refs:buf
35 lv_coord_t len, uint8_t * buf);
37 lv_coord_t len, uint8_t * buf);
39 lv_coord_t len, uint8_t * buf);
176 …er_read_line(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_coord_t len, uint8_t * buf) in lv_img_decoder_read_line() argument
179 …if(dsc->decoder->read_line_cb) res = dsc->decoder->read_line_cb(dsc->decoder, dsc, x, y, len, buf); in lv_img_decoder_read_line()
481 lv_coord_t y, lv_coord_t len, uint8_t * buf) in lv_img_decoder_built_in_read_line() argument
492 res = lv_img_decoder_built_in_line_true_color(dsc, x, y, len, buf); in lv_img_decoder_built_in_read_line()
497 res = lv_img_decoder_built_in_line_alpha(dsc, x, y, len, buf); in lv_img_decoder_built_in_read_line()
501 res = lv_img_decoder_built_in_line_indexed(dsc, x, y, len, buf); in lv_img_decoder_built_in_read_line()
538 lv_coord_t len, uint8_t * buf) in lv_img_decoder_built_in_line_true_color() argument
553 res = lv_fs_read(&user_data->f, buf, btr, &br); in lv_img_decoder_built_in_line_true_color()
563 lv_coord_t len, uint8_t * buf) in lv_img_decoder_built_in_line_alpha() argument
576 buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE] = bg_color.full; in lv_img_decoder_built_in_line_alpha()
579 buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE] = bg_color.full & 0xFF; in lv_img_decoder_built_in_line_alpha()
580 buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE + 1] = (bg_color.full >> 8) & 0xFF; in lv_img_decoder_built_in_line_alpha()
582 *((uint32_t *)&buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE]) = bg_color.full; in lv_img_decoder_built_in_line_alpha()
640 buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE + LV_IMG_PX_SIZE_ALPHA_BYTE - 1] = in lv_img_decoder_built_in_line_alpha()
654 lv_coord_t len, uint8_t * buf) in lv_img_decoder_built_in_line_indexed() argument
710 buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE] = color.full; in lv_img_decoder_built_in_line_indexed()
713 buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE] = color.full & 0xFF; in lv_img_decoder_built_in_line_indexed()
714 buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE + 1] = (color.full >> 8) & 0xFF; in lv_img_decoder_built_in_line_indexed()
716 *((uint32_t *)&buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE]) = color.full; in lv_img_decoder_built_in_line_indexed()
720 … buf[i * LV_IMG_PX_SIZE_ALPHA_BYTE + LV_IMG_PX_SIZE_ALPHA_BYTE - 1] = user_data->opa[val_act]; in lv_img_decoder_built_in_line_indexed()