Home
last modified time | relevance | path

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

/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_jpeg.c4148 uint32_t quantRow, quantVal, scale, i, j; in JPEG_GetQuality() local
4166 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()
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_jpeg.c4227 uint32_t scale; in JPEG_GetQuality() local
4247 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()
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_jpeg.c4115 uint32_t quantRow, quantVal, scale, i, j; in JPEG_GetQuality() local
4133 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()