Lines Matching refs:quantVal
3072 uint32_t quantVal; in JPEG_Set_Quantization_Mem() local
3099 quantVal = ((((uint32_t) QTable[JPEG_ZIGZAG_ORDER[i + j]]) * ScaleFactor) + 50UL) / 100UL; in JPEG_Set_Quantization_Mem()
3101 if (quantVal == 0UL) in JPEG_Set_Quantization_Mem()
3103 quantVal = 1UL; in JPEG_Set_Quantization_Mem()
3105 else if (quantVal > 255UL) in JPEG_Set_Quantization_Mem()
3107 quantVal = 255UL; in JPEG_Set_Quantization_Mem()
3114 quantRow |= ((quantVal & 0xFFUL) << (8UL * j)); in JPEG_Set_Quantization_Mem()
4148 uint32_t quantRow, quantVal, scale, i, j; in JPEG_GetQuality() local
4157 quantVal = (quantRow >> (8UL * j)) & 0xFFUL; in JPEG_GetQuality()
4158 if (quantVal == 1UL) in JPEG_GetQuality()
4166 scale = (quantVal * 100UL) / ((uint32_t) hjpeg->QuantTable0[JPEG_ZIGZAG_ORDER[i + j]]); in JPEG_GetQuality()