Home
last modified time | relevance | path

Searched refs:saturation (Results 1 – 14 of 14) sorted by relevance

/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c247 int saturation = CAMERA_DEF_SATURATION; variable
252 int saturation = 0; variable
1060 saturation += CAMERA_SATURATION_STEP; in increase_saturation()
1061 if (saturation > CAMERA_MAX_SATURATION) { in increase_saturation()
1062 saturation = CAMERA_MAX_SATURATION; in increase_saturation()
1065 printf("Increase Saturation to %d\n", saturation); in increase_saturation()
1066 return mm_app_set_config_parm(cam_id, MM_CAMERA_PARM_SATURATION, saturation); in increase_saturation()
1068 saturation += CAMERA_SATURATION_STEP; in increase_saturation()
1069 if (saturation > CAMERA_MAX_SATURATION) { in increase_saturation()
1070 saturation = CAMERA_MAX_SATURATION; in increase_saturation()
[all …]
Dmm_qcamera_app.c1388 int setSaturation(mm_camera_test_obj_t *test_obj, int saturation) in setSaturation() argument
1399 CAM_INTF_PARM_SATURATION, saturation)) { in setSaturation()
1411 CDBG_ERROR("%s: Saturation set to: %d", __func__, saturation); in setSaturation()
2021 int saturation = *(( int * )in_data); in mm_camera_lib_send_command() local
2022 rc = setSaturation(&handle->test_obj, saturation); in mm_camera_lib_send_command()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c247 int saturation = CAMERA_DEF_SATURATION; variable
252 int saturation = 0; variable
1060 saturation += CAMERA_SATURATION_STEP; in increase_saturation()
1061 if (saturation > CAMERA_MAX_SATURATION) { in increase_saturation()
1062 saturation = CAMERA_MAX_SATURATION; in increase_saturation()
1065 printf("Increase Saturation to %d\n", saturation); in increase_saturation()
1066 return mm_app_set_config_parm(cam_id, MM_CAMERA_PARM_SATURATION, saturation); in increase_saturation()
1068 saturation += CAMERA_SATURATION_STEP; in increase_saturation()
1069 if (saturation > CAMERA_MAX_SATURATION) { in increase_saturation()
1070 saturation = CAMERA_MAX_SATURATION; in increase_saturation()
[all …]
Dmm_qcamera_app.c1523 int setSaturation(mm_camera_test_obj_t *test_obj, int saturation) in setSaturation() argument
1533 int32_t value = saturation; in setSaturation()
2184 int saturation = *(( int * )in_data); in mm_camera_lib_send_command() local
2185 rc = setSaturation(&handle->test_obj, saturation); in mm_camera_lib_send_command()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c247 int saturation = CAMERA_DEF_SATURATION; variable
252 int saturation = 0; variable
1060 saturation += CAMERA_SATURATION_STEP; in increase_saturation()
1061 if (saturation > CAMERA_MAX_SATURATION) { in increase_saturation()
1062 saturation = CAMERA_MAX_SATURATION; in increase_saturation()
1065 printf("Increase Saturation to %d\n", saturation); in increase_saturation()
1066 return mm_app_set_config_parm(cam_id, MM_CAMERA_PARM_SATURATION, saturation); in increase_saturation()
1068 saturation += CAMERA_SATURATION_STEP; in increase_saturation()
1069 if (saturation > CAMERA_MAX_SATURATION) { in increase_saturation()
1070 saturation = CAMERA_MAX_SATURATION; in increase_saturation()
[all …]
Dmm_qcamera_app.c1388 int setSaturation(mm_camera_test_obj_t *test_obj, int saturation) in setSaturation() argument
1399 CAM_INTF_PARM_SATURATION, saturation)) { in setSaturation()
1411 CDBG_ERROR("%s: Saturation set to: %d", __func__, saturation); in setSaturation()
2021 int saturation = *(( int * )in_data); in mm_camera_lib_send_command() local
2022 rc = setSaturation(&handle->test_obj, saturation); in mm_camera_lib_send_command()
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c227 int saturation = CAMERA_DEF_SATURATION; variable
1169 ++saturation; in increase_saturation()
1170 if (saturation > CAMERA_MAX_SATURATION) { in increase_saturation()
1171 saturation = CAMERA_MAX_SATURATION; in increase_saturation()
1174 printf("Increase saturation to %d\n", saturation); in increase_saturation()
1197 control.value = saturation; in increase_saturation()
1214 --saturation; in decrease_saturation()
1215 if (saturation < CAMERA_MIN_SATURATION) { in decrease_saturation()
1216 saturation = CAMERA_MIN_SATURATION; in decrease_saturation()
1219 printf("Decrease saturation to %d\n", saturation); in decrease_saturation()
[all …]
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Parm.cpp1583 int saturation = params.getInt(QCameraParameters::KEY_QC_SATURATION); in setSaturation() local
1585 if((saturation < CAMERA_MIN_SATURATION) in setSaturation()
1586 || (saturation > CAMERA_MAX_SATURATION)) in setSaturation()
1589 ALOGV("Setting saturation %d", saturation); in setSaturation()
1590 mParameters.set(QCameraParameters::KEY_QC_SATURATION, saturation); in setSaturation()
1591 ret = native_set_parms(MM_CAMERA_PARM_SATURATION, sizeof(saturation), in setSaturation()
1592 (void *)&saturation, (int *)&result); in setSaturation()
1594 ALOGI("Saturation Value: %d is not set as the selected value is not supported", saturation); in setSaturation()
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraParameters.cpp2072 int saturation = params.getInt(KEY_QC_SATURATION); in setSaturation() local
2079 if (prev_sat != saturation) { in setSaturation()
2080 if((saturation >= m_pCapability->saturation_ctrl.min_value) && in setSaturation()
2081 (saturation <= m_pCapability->saturation_ctrl.max_value)) { in setSaturation()
2082 CDBG(" new saturation value : %d ", saturation); in setSaturation()
2083 return setSaturation(saturation); in setSaturation()
2086 __func__, saturation, in setSaturation()
5001 int32_t QCameraParameters::setSaturation(int saturation) in setSaturation() argument
5004 sprintf(val, "%d", saturation); in setSaturation()
5008 int32_t value = saturation; in setSaturation()
DQCameraParameters.h696 int32_t setSaturation(int saturation);
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraParameters.cpp2378 int saturation = params.getInt(KEY_QC_SATURATION); in setSaturation() local
2385 if (prev_sat != saturation) { in setSaturation()
2386 if((saturation >= m_pCapability->saturation_ctrl.min_value) && in setSaturation()
2387 (saturation <= m_pCapability->saturation_ctrl.max_value)) { in setSaturation()
2388 CDBG(" new saturation value : %d ", saturation); in setSaturation()
2389 return setSaturation(saturation); in setSaturation()
2392 __func__, saturation, in setSaturation()
6011 int32_t QCameraParameters::setSaturation(int saturation) in setSaturation() argument
6014 snprintf(val, sizeof(val), "%d", saturation); in setSaturation()
6018 if (ADD_SET_PARAM_ENTRY_TO_BATCH(m_pParamBuf, CAM_INTF_PARM_SATURATION, saturation)) { in setSaturation()
DQCameraParameters.h866 int32_t setSaturation(int saturation);
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraParameters.cpp2378 int saturation = params.getInt(KEY_QC_SATURATION); in setSaturation() local
2385 if (prev_sat != saturation) { in setSaturation()
2386 if((saturation >= m_pCapability->saturation_ctrl.min_value) && in setSaturation()
2387 (saturation <= m_pCapability->saturation_ctrl.max_value)) { in setSaturation()
2388 CDBG(" new saturation value : %d ", saturation); in setSaturation()
2389 return setSaturation(saturation); in setSaturation()
2392 __func__, saturation, in setSaturation()
6011 int32_t QCameraParameters::setSaturation(int saturation) in setSaturation() argument
6014 snprintf(val, sizeof(val), "%d", saturation); in setSaturation()
6018 if (ADD_SET_PARAM_ENTRY_TO_BATCH(m_pParamBuf, CAM_INTF_PARM_SATURATION, saturation)) { in setSaturation()
DQCameraParameters.h866 int32_t setSaturation(int saturation);