Home
last modified time | relevance | path

Searched refs:effectValue (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/drivers/peripheral/audio/effect/config/src/
H A Dparse_effect_config.c117 char *effectValue = cJSONName->valuestring; in AudioEffectGetAndCheckName() local
118 if (strlen(effectValue) == 0) { in AudioEffectGetAndCheckName()
124 if (!isalpha(*effectValue)) { // Names must begin with a letter in AudioEffectGetAndCheckName()
128 effectValue++; in AudioEffectGetAndCheckName()
131 while (*effectValue != '\0') { in AudioEffectGetAndCheckName()
132 if (*effectValue == '_' || (strcmp(name, "effectId") == 0 && *effectValue == '-')) { in AudioEffectGetAndCheckName()
133 effectValue++; in AudioEffectGetAndCheckName()
137 if (!isalnum(*effectValue++)) { in AudioEffectGetAndCheckName()
138 HDF_LOGE("%{public}s: effectValue is illegal!, %{public}c", __func__, *effectValue); in AudioEffectGetAndCheckName()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/input/
H A Dcamera_manager_napi.cpp812 int32_t effectValue; in ParseSettingParam() local
814 napi_get_value_int32(env, tempValue, &effectValue); in ParseSettingParam()
815 effectParam->skinSmoothLevel = effectValue; in ParseSettingParam()
818 napi_get_value_int32(env, tempValue, &effectValue); in ParseSettingParam()
819 effectParam->faceSlender = effectValue; in ParseSettingParam()
823 napi_get_value_int32(env, tempValue, &effectValue); in ParseSettingParam()
824 effectParam->skinTone = effectValue; in ParseSettingParam()