Searched refs:p_LUT (Results 1 – 1 of 1) sorted by relevance
105 static void icp10125_calculate_conversion_constants(const float *p_LUT, float *A, float *B, in icp10125_calculate_conversion_constants() argument110 *C = (p_LUT[0] * p_LUT[1] * (p_Pa[0] - p_Pa[1]) + in icp10125_calculate_conversion_constants()111 p_LUT[1] * p_LUT[2] * (p_Pa[1] - p_Pa[2]) + in icp10125_calculate_conversion_constants()112 p_LUT[2] * p_LUT[0] * (p_Pa[2] - p_Pa[0])) / in icp10125_calculate_conversion_constants()113 (p_LUT[2] * (p_Pa[0] - p_Pa[1]) + p_LUT[0] * (p_Pa[1] - p_Pa[2]) + in icp10125_calculate_conversion_constants()114 p_LUT[1] * (p_Pa[2] - p_Pa[0])); in icp10125_calculate_conversion_constants()115 *A = (p_Pa[0] * p_LUT[0] - p_Pa[1] * p_LUT[1] - (p_Pa[1] - p_Pa[0]) * (*C)) / in icp10125_calculate_conversion_constants()116 (p_LUT[0] - p_LUT[1]); in icp10125_calculate_conversion_constants()117 *B = (p_Pa[0] - (*A)) * (p_LUT[0] + (*C)); in icp10125_calculate_conversion_constants()