Lines Matching refs:scale
762 …if (z == 1 || (JD_USE_SCALE && jd->scale == 3)) { /* If no AC element or scale ratio is 1/8, IDCT … in mcu_load()
807 rx >>= jd->scale; ry >>= jd->scale; in mcu_output()
809 img_x >>= jd->scale; img_y >>= jd->scale; in mcu_output()
815 if (!JD_USE_SCALE || jd->scale != 3) { /* Not for 1/8 scaling */ in mcu_output()
859 if (JD_USE_SCALE && jd->scale) { in mcu_output()
864 s = jd->scale * 2; /* Number of shifts for averaging */ in mcu_output()
865 w = 1 << jd->scale; /* Width of square */ in mcu_output()
916 mx >>= jd->scale; in mcu_output()
1121 uint8_t scale /* Output de-scaling factor (0 to 3) */ in jd_decomp() argument
1129 if (scale > (JD_USE_SCALE ? 3 : 0)) return JDR_PAR; in jd_decomp()
1130 jd->scale = scale; in jd_decomp()