Searched refs:scale (Results 1 – 3 of 3) sorted by relevance
4148 uint32_t quantRow, quantVal, scale, i, j; in JPEG_GetQuality() local4166 scale = (quantVal * 100UL) / ((uint32_t) hjpeg->QuantTable0[JPEG_ZIGZAG_ORDER[i + j]]); in JPEG_GetQuality()4168 if (scale <= 100UL) in JPEG_GetQuality()4170 quality += (200UL - scale) / 2UL; in JPEG_GetQuality()4174 quality += 5000UL / scale; in JPEG_GetQuality()
4227 uint32_t scale; in JPEG_GetQuality() local4247 scale = (quantVal * 100UL) / ((uint32_t) hjpeg->QuantTable0[JPEG_ZIGZAG_ORDER[i + j]]); in JPEG_GetQuality()4249 if (scale <= 100UL) in JPEG_GetQuality()4251 quality += (200UL - scale) / 2UL; in JPEG_GetQuality()4255 quality += 5000UL / scale; in JPEG_GetQuality()
4115 uint32_t quantRow, quantVal, scale, i, j; in JPEG_GetQuality() local4133 scale = (quantVal * 100UL) / ((uint32_t) hjpeg->QuantTable0[JPEG_ZIGZAG_ORDER[i + j]]); in JPEG_GetQuality()4135 if (scale <= 100UL) in JPEG_GetQuality()4137 quality += (200UL - scale) / 2UL; in JPEG_GetQuality()4141 quality += 5000UL / scale; in JPEG_GetQuality()