Home
last modified time | relevance | path

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

/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_jpeg.c3072 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()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_jpeg.c3101 uint32_t quantVal; in JPEG_Set_Quantization_Mem() local
3128 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() local
4238 quantVal = (quantRow >> (8UL * j)) & 0xFFUL; in JPEG_GetQuality()
4239 if (quantVal == 1UL) in JPEG_GetQuality()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_jpeg.c3067 uint32_t quantVal; in JPEG_Set_Quantization_Mem() local
3094 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() local
4124 quantVal = (quantRow >> (8UL * j)) & 0xFFUL; in JPEG_GetQuality()
4125 if (quantVal == 1UL) in JPEG_GetQuality()
[all …]