Searched refs:ScaleFactor (Results 1 – 3 of 3) sorted by relevance
3073 uint32_t ScaleFactor; in JPEG_Set_Quantization_Mem() local3080 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()
3102 uint32_t ScaleFactor; in JPEG_Set_Quantization_Mem() local3109 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()
3068 uint32_t ScaleFactor; in JPEG_Set_Quantization_Mem() local3075 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()