Searched refs:ISI_ConvertFloat (Results 1 – 1 of 1) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/isi/ |
D | fsl_isi.c | 56 static uint32_t ISI_ConvertFloat(float floatValue, uint8_t intBits, uint8_t fracBits); 139 static uint32_t ISI_ConvertFloat(float floatValue, uint8_t intBits, uint8_t fracBits) in ISI_ConvertFloat() function 393 coeff = (ISI_ConvertFloat(config->A1, 2, 8) << ISI_CHNL_CSC_COEFF0_A1_SHIFT); in ISI_SetColorSpaceConversionConfig() 394 coeff |= (ISI_ConvertFloat(config->A2, 2, 8) << ISI_CHNL_CSC_COEFF0_A2_SHIFT); in ISI_SetColorSpaceConversionConfig() 397 coeff = (ISI_ConvertFloat(config->A3, 2, 8) << ISI_CHNL_CSC_COEFF1_A3_SHIFT); in ISI_SetColorSpaceConversionConfig() 398 coeff |= (ISI_ConvertFloat(config->B1, 2, 8) << ISI_CHNL_CSC_COEFF1_B1_SHIFT); in ISI_SetColorSpaceConversionConfig() 401 coeff = (ISI_ConvertFloat(config->B2, 2, 8) << ISI_CHNL_CSC_COEFF2_B2_SHIFT); in ISI_SetColorSpaceConversionConfig() 402 coeff |= (ISI_ConvertFloat(config->B3, 2, 8) << ISI_CHNL_CSC_COEFF2_B3_SHIFT); in ISI_SetColorSpaceConversionConfig() 405 coeff = (ISI_ConvertFloat(config->C1, 2, 8) << ISI_CHNL_CSC_COEFF3_C1_SHIFT); in ISI_SetColorSpaceConversionConfig() 406 coeff |= (ISI_ConvertFloat(config->C2, 2, 8) << ISI_CHNL_CSC_COEFF3_C2_SHIFT); in ISI_SetColorSpaceConversionConfig() [all …]
|