Lines Matching refs:x
40 static lv_res_t lv_img_decoder_built_in_line_true_color(lv_img_decoder_dsc_t * dsc, lv_coord_t x, l…
42 static lv_res_t lv_img_decoder_built_in_line_alpha(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_coo…
44 static lv_res_t lv_img_decoder_built_in_line_indexed(lv_img_decoder_dsc_t * dsc, lv_coord_t x, lv_c…
168 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
171 …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()
482 …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
494 res = lv_img_decoder_built_in_line_true_color(dsc, x, y, len, buf); in lv_img_decoder_built_in_read_line()
500 res = lv_img_decoder_built_in_line_alpha(dsc, x, y, len, buf); in lv_img_decoder_built_in_read_line()
504 res = lv_img_decoder_built_in_line_indexed(dsc, x, y, len, buf); in lv_img_decoder_built_in_read_line()
545 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
553 uint32_t pos = ((y * dsc->header.w + x) * px_size) >> 3; in lv_img_decoder_built_in_line_true_color()
571 LV_UNUSED(x); in lv_img_decoder_built_in_line_true_color()
580 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
619 ofs += w * y + (x >> 3); /*First pixel*/ in lv_img_decoder_built_in_line_alpha()
620 pos = 7 - (x & 0x7); in lv_img_decoder_built_in_line_alpha()
626 ofs += w * y + (x >> 2); /*First pixel*/ in lv_img_decoder_built_in_line_alpha()
627 pos = 6 - ((x & 0x3) * 2); in lv_img_decoder_built_in_line_alpha()
633 ofs += w * y + (x >> 1); /*First pixel*/ in lv_img_decoder_built_in_line_alpha()
634 pos = 4 - ((x & 0x1) * 4); in lv_img_decoder_built_in_line_alpha()
639 ofs += w * y + x; /*First pixel*/ in lv_img_decoder_built_in_line_alpha()
690 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
705 ofs += w * y + (x >> 3); /*First pixel*/ in lv_img_decoder_built_in_line_indexed()
707 pos = 7 - (x & 0x7); in lv_img_decoder_built_in_line_indexed()
712 ofs += w * y + (x >> 2); /*First pixel*/ in lv_img_decoder_built_in_line_indexed()
714 pos = 6 - ((x & 0x3) * 2); in lv_img_decoder_built_in_line_indexed()
719 ofs += w * y + (x >> 1); /*First pixel*/ in lv_img_decoder_built_in_line_indexed()
721 pos = 4 - ((x & 0x1) * 4); in lv_img_decoder_built_in_line_indexed()
725 ofs += w * y + x; /*First pixel*/ in lv_img_decoder_built_in_line_indexed()