Searched refs:i_curr (Results 1 – 3 of 3) sorted by relevance
/external/libxcam/modules/isp/iq/ |
D | x3a_ciq_tnr_tuning_handler.cpp | 76 uint8_t i_curr = 0; in analyze() local 78 for (i_curr = 0; i_curr < X3A_CIQ_GAIN_STEPS; i_curr++) { in analyze() 79 if (analog_gain <= tuning[i_curr].analog_gain) { in analyze() 82 i_prev = i_curr; in analyze() 84 if (i_curr >= X3A_CIQ_GAIN_STEPS) { in analyze() 85 i_curr = X3A_CIQ_GAIN_STEPS - 1; in analyze() 90 config.gain = linear_interpolate_p2 (tuning[i_prev].yuv_gain, tuning[i_curr].yuv_gain, in analyze() 91 … tuning[i_prev].analog_gain, tuning[i_curr].analog_gain, analog_gain); in analyze() 93 …config.threshold[0] = linear_interpolate_p2 (tuning[i_prev].y_threshold, tuning[i_curr].y_threshol… in analyze() 94 tuning[i_prev].analog_gain, tuning[i_curr].analog_gain, analog_gain); in analyze() [all …]
|
D | x3a_ciq_bnr_ee_tuning_handler.cpp | 88 uint8_t i_curr = 0; in analyze() local 90 for (i_curr = 0; i_curr < X3A_CIQ_EE_GAIN_STEPS; i_curr++) { in analyze() 91 if (analog_gain <= tuning[i_curr].analog_gain) { in analyze() 94 i_prev = i_curr; in analyze() 96 if (i_curr >= X3A_CIQ_EE_GAIN_STEPS) { in analyze() 97 i_curr = X3A_CIQ_EE_GAIN_STEPS - 1; in analyze() 103 ee_config.gain = linear_interpolate_p2 (tuning[i_prev].ee_gain, tuning[i_curr].ee_gain, in analyze() 104 … tuning[i_prev].analog_gain, tuning[i_curr].analog_gain, analog_gain); in analyze() 106 …ee_config.threshold = linear_interpolate_p2 (tuning[i_prev].ee_threshold, tuning[i_curr].ee_thresh… in analyze() 107 tuning[i_prev].analog_gain, tuning[i_curr].analog_gain, analog_gain); in analyze() [all …]
|
D | x3a_ciq_wavelet_tuning_handler.cpp | 71 uint8_t i_curr = 0; in analyze() local 73 for (i_curr = 0; i_curr < X3A_CIQ_GAIN_STEPS; i_curr++) { in analyze() 74 if (analog_gain <= tuning[i_curr].analog_gain) { in analyze() 77 i_prev = i_curr; in analyze() 79 if (i_curr >= X3A_CIQ_GAIN_STEPS) { in analyze() 80 i_curr = X3A_CIQ_GAIN_STEPS - 1; in analyze() 87 …config.threshold[0] = linear_interpolate_p2 (tuning[i_prev].soft_threshold, tuning[i_curr].soft_th… in analyze() 88 tuning[i_prev].analog_gain, tuning[i_curr].analog_gain, analog_gain); in analyze() 90 …config.threshold[1] = linear_interpolate_p2 (tuning[i_prev].hard_threshold, tuning[i_curr].hard_th… in analyze() 91 tuning[i_prev].analog_gain, tuning[i_curr].analog_gain, analog_gain); in analyze()
|