Lines Matching full:x
34 static lv_res_t lv_img_decoder_built_in_line_true_color(lv_img_decoder_dsc_t * dsc, lv_coord_t x, l…
36 static lv_res_t lv_img_decoder_built_in_line_alpha(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coo…
38 static lv_res_t lv_img_decoder_built_in_line_indexed(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_c…
170 * @param x start X coordinate (from left)
176 lv_res_t lv_img_decoder_read_line(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coord_t y, lv_coord_… 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()
470 * Decode `len` pixels starting from the given `x`, `y` coordinates and store them in `buf`.
474 * @param x start x coordinate
480 …mg_decoder_built_in_read_line(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc, lv_coord_t x, 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()
537 static lv_res_t lv_img_decoder_built_in_line_true_color(lv_img_decoder_dsc_t * dsc, lv_coord_t x, l… in lv_img_decoder_built_in_line_true_color() argument
544 uint32_t pos = ((y * dsc->header.w + x) * px_size) >> 3; in lv_img_decoder_built_in_line_true_color()
562 static lv_res_t lv_img_decoder_built_in_line_alpha(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coo… in lv_img_decoder_built_in_line_alpha() argument
598 ofs += w * y + (x >> 3); /*First pixel*/ in lv_img_decoder_built_in_line_alpha()
599 pos = 7 - (x & 0x7); in lv_img_decoder_built_in_line_alpha()
604 ofs += w * y + (x >> 2); /*First pixel*/ in lv_img_decoder_built_in_line_alpha()
605 pos = 6 - (x & 0x3) * 2; in lv_img_decoder_built_in_line_alpha()
610 ofs += w * y + (x >> 1); /*First pixel*/ in lv_img_decoder_built_in_line_alpha()
611 pos = 4 - (x & 0x1) * 4; in lv_img_decoder_built_in_line_alpha()
615 w = dsc->header.w; /*E.g. x = 7 -> w = 7 (bytes)*/ in lv_img_decoder_built_in_line_alpha()
616 ofs += w * y + x; /*First pixel*/ in lv_img_decoder_built_in_line_alpha()
653 static lv_res_t lv_img_decoder_built_in_line_indexed(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_c… in lv_img_decoder_built_in_line_indexed() argument
665 ofs += w * y + (x >> 3); /*First pixel*/ in lv_img_decoder_built_in_line_indexed()
667 pos = 7 - (x & 0x7); in lv_img_decoder_built_in_line_indexed()
671 ofs += w * y + (x >> 2); /*First pixel*/ in lv_img_decoder_built_in_line_indexed()
673 pos = 6 - (x & 0x3) * 2; in lv_img_decoder_built_in_line_indexed()
677 ofs += w * y + (x >> 1); /*First pixel*/ in lv_img_decoder_built_in_line_indexed()
679 pos = 4 - (x & 0x1) * 4; in lv_img_decoder_built_in_line_indexed()
682 w = dsc->header.w; /*E.g. x = 7 -> w = 7 (bytes)*/ in lv_img_decoder_built_in_line_indexed()
683 ofs += w * y + x; /*First pixel*/ in lv_img_decoder_built_in_line_indexed()