Lines Matching refs:pos
544 uint32_t pos = ((y * dsc->header.w + x) * px_size) >> 3; in lv_img_decoder_built_in_line_true_color() local
545 pos += 4; /*Skip the header*/ in lv_img_decoder_built_in_line_true_color()
546 res = lv_fs_seek(&user_data->f, pos, LV_FS_SEEK_SET); in lv_img_decoder_built_in_line_true_color()
594 int8_t pos = 0; in lv_img_decoder_built_in_line_alpha() local
599 pos = 7 - (x & 0x7); in lv_img_decoder_built_in_line_alpha()
605 pos = 6 - (x & 0x3) * 2; in lv_img_decoder_built_in_line_alpha()
611 pos = 4 - (x & 0x1) * 4; in lv_img_decoder_built_in_line_alpha()
617 pos = 0; in lv_img_decoder_built_in_line_alpha()
638 uint8_t val_act = (*data_tmp >> pos) & mask; in lv_img_decoder_built_in_line_alpha()
643 pos -= px_size; in lv_img_decoder_built_in_line_alpha()
644 if(pos < 0) { in lv_img_decoder_built_in_line_alpha()
645 pos = 8 - px_size; in lv_img_decoder_built_in_line_alpha()
660 int8_t pos = 0; in lv_img_decoder_built_in_line_indexed() local
667 pos = 7 - (x & 0x7); in lv_img_decoder_built_in_line_indexed()
673 pos = 6 - (x & 0x3) * 2; in lv_img_decoder_built_in_line_indexed()
679 pos = 4 - (x & 0x1) * 4; in lv_img_decoder_built_in_line_indexed()
685 pos = 0; in lv_img_decoder_built_in_line_indexed()
706 uint8_t val_act = (*data_tmp >> pos) & mask; in lv_img_decoder_built_in_line_indexed()
722 pos -= px_size; in lv_img_decoder_built_in_line_indexed()
723 if(pos < 0) { in lv_img_decoder_built_in_line_indexed()
724 pos = 8 - px_size; in lv_img_decoder_built_in_line_indexed()