Home
last modified time | relevance | path

Searched refs:bc (Results 1 – 2 of 2) sorted by relevance

/lvgl-latest/src/extra/libs/sjpg/
Dtjpgd.c708 unsigned int blk, nby, i, bc, z, id, cmp; in mcu_load() local
728 bc = (unsigned int)d; in mcu_load()
730 if (bc) { /* If there is any difference from previous block */ in mcu_load()
731 e = bitext(jd, bc); /* Extract data bits */ in mcu_load()
733 bc = 1 << (bc - 1); /* MSB position */ in mcu_load()
734 if (!(e & bc)) e -= (bc << 1) - 1; /* Restore negative value if needed */ in mcu_load()
748 bc = (unsigned int)d; in mcu_load()
749 z += bc >> 4; /* Skip leading zero run */ in mcu_load()
751 if (bc &= 0x0F) { /* Bit length? */ in mcu_load()
752 d = bitext(jd, bc); /* Extract data bits */ in mcu_load()
[all …]
/lvgl-latest/src/extra/libs/tiny_ttf/
Dstb_truetype_htcw.h4552 stbtt_packedchar * bc = &ranges[i].chardata_for_range[j]; local
4589 bc->x0 = (stbtt_int16)r->x;
4590 bc->y0 = (stbtt_int16)r->y;
4591 bc->x1 = (stbtt_int16)(r->x + r->w);
4592 bc->y1 = (stbtt_int16)(r->y + r->h);
4593 bc->xadvance = scale * advance;
4594 bc->xoff = (float)x0 * recip_h + sub_x;
4595 bc->yoff = (float)y0 * recip_v + sub_y;
4596 bc->xoff2 = (x0 + r->w) * recip_h + sub_x;
4597 bc->yoff2 = (y0 + r->h) * recip_v + sub_y;