Searched refs:quantVal (Results 1 – 3 of 3) sorted by relevance
3072 uint32_t quantVal; in JPEG_Set_Quantization_Mem() local3099 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() local4157 quantVal = (quantRow >> (8UL * j)) & 0xFFUL; in JPEG_GetQuality()4158 if (quantVal == 1UL) in JPEG_GetQuality()[all …]
3101 uint32_t quantVal; in JPEG_Set_Quantization_Mem() local3128 quantVal = ((((uint32_t) QTable[JPEG_ZIGZAG_ORDER[i + j]]) * ScaleFactor) + 50UL) / 100UL; in JPEG_Set_Quantization_Mem()3130 if (quantVal == 0UL) in JPEG_Set_Quantization_Mem()3132 quantVal = 1UL; in JPEG_Set_Quantization_Mem()3134 else if (quantVal > 255UL) in JPEG_Set_Quantization_Mem()3136 quantVal = JPEG_QUANTVAL_MAX; in JPEG_Set_Quantization_Mem()3143 quantRow |= ((quantVal & 0xFFUL) << (8UL * j)); in JPEG_Set_Quantization_Mem()4226 uint32_t quantVal; in JPEG_GetQuality() local4238 quantVal = (quantRow >> (8UL * j)) & 0xFFUL; in JPEG_GetQuality()4239 if (quantVal == 1UL) in JPEG_GetQuality()[all …]
3067 uint32_t quantVal; in JPEG_Set_Quantization_Mem() local3094 quantVal = ((((uint32_t) QTable[JPEG_ZIGZAG_ORDER[i + j]]) * ScaleFactor) + 50UL) / 100UL; in JPEG_Set_Quantization_Mem()3096 if (quantVal == 0UL) in JPEG_Set_Quantization_Mem()3098 quantVal = 1UL; in JPEG_Set_Quantization_Mem()3100 else if (quantVal > 255UL) in JPEG_Set_Quantization_Mem()3102 quantVal = 255UL; in JPEG_Set_Quantization_Mem()3109 quantRow |= ((quantVal & 0xFFUL) << (8UL * j)); in JPEG_Set_Quantization_Mem()4115 uint32_t quantRow, quantVal, scale, i, j; in JPEG_GetQuality() local4124 quantVal = (quantRow >> (8UL * j)) & 0xFFUL; in JPEG_GetQuality()4125 if (quantVal == 1UL) in JPEG_GetQuality()[all …]