Home
last modified time | relevance | path

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

/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_jpeg.c3073 uint32_t ScaleFactor; in JPEG_Set_Quantization_Mem() local
3080 ScaleFactor = 200UL - (hjpeg->Conf.ImageQuality * 2UL); in JPEG_Set_Quantization_Mem()
3084 ScaleFactor = ((uint32_t) 5000) / ((uint32_t) hjpeg->Conf.ImageQuality); in JPEG_Set_Quantization_Mem()
3099 quantVal = ((((uint32_t) QTable[JPEG_ZIGZAG_ORDER[i + j]]) * ScaleFactor) + 50UL) / 100UL; in JPEG_Set_Quantization_Mem()
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_jpeg.c3102 uint32_t ScaleFactor; in JPEG_Set_Quantization_Mem() local
3109 ScaleFactor = JPEG_HIGH_QUALITY_REFERENCE - (hjpeg->Conf.ImageQuality * 2UL); in JPEG_Set_Quantization_Mem()
3113 ScaleFactor = JPEG_LOW_QUALITY_REFERENCE / ((uint32_t) hjpeg->Conf.ImageQuality); in JPEG_Set_Quantization_Mem()
3128 quantVal = ((((uint32_t) QTable[JPEG_ZIGZAG_ORDER[i + j]]) * ScaleFactor) + 50UL) / 100UL; in JPEG_Set_Quantization_Mem()
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_jpeg.c3068 uint32_t ScaleFactor; in JPEG_Set_Quantization_Mem() local
3075 ScaleFactor = 200UL - (hjpeg->Conf.ImageQuality * 2UL); in JPEG_Set_Quantization_Mem()
3079 ScaleFactor = ((uint32_t) 5000) / ((uint32_t) hjpeg->Conf.ImageQuality); in JPEG_Set_Quantization_Mem()
3094 quantVal = ((((uint32_t) QTable[JPEG_ZIGZAG_ORDER[i + j]]) * ScaleFactor) + 50UL) / 100UL; in JPEG_Set_Quantization_Mem()