Lines Matching refs:gainStr
8715 char gainStr[30]; in updateAWBParams() local
8716 snprintf(gainStr, sizeof(gainStr), "%f,%f,%f", awb_params.rgb_gains.r_gain, in updateAWBParams()
8719 if (prev_gains == NULL || strcmp(prev_gains, gainStr)) { in updateAWBParams()
8720 set(KEY_QC_MANUAL_WB_GAINS, gainStr); in updateAWBParams()
8721 LOGD("update currernt RGB gains: old %s new %s", prev_gains, gainStr); in updateAWBParams()
8741 int32_t QCameraParameters::parseGains(const char *gainStr, double &r_gain, in parseGains() argument
8746 size_t gains_size = strlen(gainStr) + 1; in parseGains()
8752 strlcpy(gains, gainStr, gains_size); in parseGains()
8788 int32_t QCameraParameters::setManualWBGains(const char *gainStr) in setManualWBGains() argument
8791 if (gainStr != NULL) { in setManualWBGains()
8793 rc = parseGains(gainStr, r_gain, g_gain, b_gain); in setManualWBGains()
8806 updateParamEntry(KEY_QC_MANUAL_WB_GAINS, gainStr); in setManualWBGains()
8820 (gainStr == NULL) ? "NULL" : gainStr); in setManualWBGains()