Home
last modified time | relevance | path

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

/lvgl-latest/src/extra/libs/sjpg/
Dtjpgd.c796 unsigned int ix, iy, mx, my, rx, ry; in mcu_output() local
804rx = (img_x + mx <= jd->width) ? mx : jd->width - img_x; /* Output rectangular size (it may be cli… in mcu_output()
807 rx >>= jd->scale; ry >>= jd->scale; in mcu_output()
808 if (!rx || !ry) return JDR_OK; /* Skip this MCU if all pixel is to be rounded off */ in mcu_output()
811 rect.left = img_x; rect.right = img_x + rx - 1; /* Rectangular area in the frame buffer */ in mcu_output()
917 if (rx < mx) { /* Is the MCU spans rigit edge? */ in mcu_output()
923 for (x = 0; x < rx; x++) { /* Copy effective pixels */ in mcu_output()
930 s += (mx - rx) * (JD_FORMAT != 2 ? 3 : 1); /* Skip truncated pixels */ in mcu_output()
938 unsigned int n = rx * ry; in mcu_output()