Lines Matching refs:Conf
1144 hjpeg->Conf.ColorSpace = pConf->ColorSpace; in HAL_JPEG_ConfigEncoding()
1145 hjpeg->Conf.ChromaSubsampling = pConf->ChromaSubsampling; in HAL_JPEG_ConfigEncoding()
1146 hjpeg->Conf.ImageHeight = pConf->ImageHeight; in HAL_JPEG_ConfigEncoding()
1147 hjpeg->Conf.ImageWidth = pConf->ImageWidth; in HAL_JPEG_ConfigEncoding()
1148 hjpeg->Conf.ImageQuality = pConf->ImageQuality; in HAL_JPEG_ConfigEncoding()
1154 if (hjpeg->Conf.ColorSpace == JPEG_GRAYSCALE_COLORSPACE) in HAL_JPEG_ConfigEncoding()
1157 hjpeg->Conf.ChromaSubsampling = JPEG_444_SUBSAMPLING; in HAL_JPEG_ConfigEncoding()
1163 else if (hjpeg->Conf.ColorSpace == JPEG_YCBCR_COLORSPACE) in HAL_JPEG_ConfigEncoding()
1239 …MODIFY_REG(hjpeg->Instance->CONFR1, JPEG_CONFR1_YSIZE, ((hjpeg->Conf.ImageHeight & 0x0000FFFFUL) <… in HAL_JPEG_ConfigEncoding()
1241 …MODIFY_REG(hjpeg->Instance->CONFR3, JPEG_CONFR3_XSIZE, ((hjpeg->Conf.ImageWidth & 0x0000FFFFUL) <<… in HAL_JPEG_ConfigEncoding()
1244 if (hjpeg->Conf.ChromaSubsampling == JPEG_420_SUBSAMPLING) /* 4:2:0*/ in HAL_JPEG_ConfigEncoding()
1249 else if (hjpeg->Conf.ChromaSubsampling == JPEG_422_SUBSAMPLING) /* 4:2:2*/ in HAL_JPEG_ConfigEncoding()
1260 hMCU = (hjpeg->Conf.ImageWidth / hfactor); in HAL_JPEG_ConfigEncoding()
1261 if ((hjpeg->Conf.ImageWidth % hfactor) != 0UL) in HAL_JPEG_ConfigEncoding()
1266 vMCU = (hjpeg->Conf.ImageHeight / vfactor); in HAL_JPEG_ConfigEncoding()
1267 if ((hjpeg->Conf.ImageHeight % vfactor) != 0UL) in HAL_JPEG_ConfigEncoding()
3073 if ((hjpeg->Conf.ImageQuality >= 50UL) && (hjpeg->Conf.ImageQuality <= 100UL)) in JPEG_Set_Quantization_Mem()
3075 ScaleFactor = 200UL - (hjpeg->Conf.ImageQuality * 2UL); in JPEG_Set_Quantization_Mem()
3077 else if (hjpeg->Conf.ImageQuality > 0UL) in JPEG_Set_Quantization_Mem()
3079 ScaleFactor = ((uint32_t) 5000) / ((uint32_t) hjpeg->Conf.ImageQuality); in JPEG_Set_Quantization_Mem()
3138 if (hjpeg->Conf.ChromaSubsampling == JPEG_420_SUBSAMPLING) in JPEG_SetColorYCBCR()
3145 else if (hjpeg->Conf.ChromaSubsampling == JPEG_422_SUBSAMPLING) in JPEG_SetColorYCBCR()
3218 if (hjpeg->Conf.ChromaSubsampling == JPEG_420_SUBSAMPLING) in JPEG_SetColorCMYK()
3225 else if (hjpeg->Conf.ChromaSubsampling == JPEG_422_SUBSAMPLING) in JPEG_SetColorCMYK()
3334 (void) HAL_JPEG_GetInfo(hjpeg, &hjpeg->Conf); in JPEG_Process()
3336 hjpeg->Conf.ImageQuality = 0; in JPEG_Process()
3342 hjpeg->InfoReadyCallback(hjpeg, &hjpeg->Conf); in JPEG_Process()
3344 HAL_JPEG_InfoReadyCallback(hjpeg, &hjpeg->Conf); in JPEG_Process()
3719 (void) HAL_JPEG_GetInfo(hjpeg, &hjpeg->Conf); in JPEG_DMA_ContinueProcess()
3722 hjpeg->Conf.ImageQuality = 0; in JPEG_DMA_ContinueProcess()
3728 hjpeg->InfoReadyCallback(hjpeg, &hjpeg->Conf); in JPEG_DMA_ContinueProcess()
3730 HAL_JPEG_InfoReadyCallback(hjpeg, &hjpeg->Conf); in JPEG_DMA_ContinueProcess()