Home
last modified time | relevance | path

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

/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c246 int contrast = CAMERA_DEF_CONTRAST; variable
251 int contrast = 0; variable
930 contrast += CAMERA_CONTRAST_STEP; in increase_contrast()
931 if (contrast > CAMERA_MAX_CONTRAST) { in increase_contrast()
932 contrast = CAMERA_MAX_CONTRAST; in increase_contrast()
935 printf("Increase Contrast to %d\n", contrast); in increase_contrast()
938 &contrast, in increase_contrast()
948 contrast -= CAMERA_CONTRAST_STEP; in decrease_contrast()
949 if (contrast < CAMERA_MIN_CONTRAST) { in decrease_contrast()
950 contrast = CAMERA_MIN_CONTRAST; in decrease_contrast()
[all …]
Dmm_qcamera_app.c1330 int setContrast(mm_camera_test_obj_t *test_obj, int contrast) in setContrast() argument
1341 CAM_INTF_PARM_CONTRAST, contrast)) { in setContrast()
1353 CDBG_ERROR("%s: Contrast set to: %d", __func__, contrast); in setContrast()
2032 int contrast = *(( int * )in_data); in mm_camera_lib_send_command() local
2033 rc = setContrast(&handle->test_obj, contrast); in mm_camera_lib_send_command()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c246 int contrast = CAMERA_DEF_CONTRAST; variable
251 int contrast = 0; variable
930 contrast += CAMERA_CONTRAST_STEP; in increase_contrast()
931 if (contrast > CAMERA_MAX_CONTRAST) { in increase_contrast()
932 contrast = CAMERA_MAX_CONTRAST; in increase_contrast()
935 printf("Increase Contrast to %d\n", contrast); in increase_contrast()
938 &contrast, in increase_contrast()
948 contrast -= CAMERA_CONTRAST_STEP; in decrease_contrast()
949 if (contrast < CAMERA_MIN_CONTRAST) { in decrease_contrast()
950 contrast = CAMERA_MIN_CONTRAST; in decrease_contrast()
[all …]
Dmm_qcamera_app.c1457 int setContrast(mm_camera_test_obj_t *test_obj, int contrast) in setContrast() argument
1467 int32_t value = contrast; in setContrast()
2195 int contrast = *(( int * )in_data); in mm_camera_lib_send_command() local
2196 rc = setContrast(&handle->test_obj, contrast); in mm_camera_lib_send_command()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c246 int contrast = CAMERA_DEF_CONTRAST; variable
251 int contrast = 0; variable
930 contrast += CAMERA_CONTRAST_STEP; in increase_contrast()
931 if (contrast > CAMERA_MAX_CONTRAST) { in increase_contrast()
932 contrast = CAMERA_MAX_CONTRAST; in increase_contrast()
935 printf("Increase Contrast to %d\n", contrast); in increase_contrast()
938 &contrast, in increase_contrast()
948 contrast -= CAMERA_CONTRAST_STEP; in decrease_contrast()
949 if (contrast < CAMERA_MIN_CONTRAST) { in decrease_contrast()
950 contrast = CAMERA_MIN_CONTRAST; in decrease_contrast()
[all …]
Dmm_qcamera_app.c1330 int setContrast(mm_camera_test_obj_t *test_obj, int contrast) in setContrast() argument
1341 CAM_INTF_PARM_CONTRAST, contrast)) { in setContrast()
1353 CDBG_ERROR("%s: Contrast set to: %d", __func__, contrast); in setContrast()
2032 int contrast = *(( int * )in_data); in mm_camera_lib_send_command() local
2033 rc = setContrast(&handle->test_obj, contrast); in mm_camera_lib_send_command()
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c226 int contrast = CAMERA_DEF_CONTRAST; variable
904 ++contrast; in increase_contrast()
905 if (contrast > CAMERA_MAX_CONTRAST) { in increase_contrast()
906 contrast = CAMERA_MAX_CONTRAST; in increase_contrast()
909 printf("Increase CONTRAST to %d\n", contrast); in increase_contrast()
932 control.value = contrast; in increase_contrast()
949 --contrast; in decrease_contrast()
950 if (contrast < CAMERA_MIN_CONTRAST) { in decrease_contrast()
951 contrast = CAMERA_MIN_CONTRAST; in decrease_contrast()
954 printf("Decrease CONTRAST to %d\n", contrast); in decrease_contrast()
[all …]
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Parm.cpp1612 int contrast = params.getInt(QCameraParameters::KEY_QC_CONTRAST); in setContrast() local
1613 if((contrast < CAMERA_MIN_CONTRAST) in setContrast()
1614 || (contrast > CAMERA_MAX_CONTRAST)) in setContrast()
1619 ALOGV("setting contrast %d", contrast); in setContrast()
1620 mParameters.set(QCameraParameters::KEY_QC_CONTRAST, contrast); in setContrast()
1622 bool ret = native_set_parms(MM_CAMERA_PARM_CONTRAST, sizeof(contrast), in setContrast()
1623 (void *)&contrast); in setContrast()
1630 if (mContrast != contrast) { in setContrast()
1631 mContrast = contrast; in setContrast()
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraParameters.cpp2111 int contrast = params.getInt(KEY_QC_CONTRAST); in setContrast() local
2118 if (prev_contrast != contrast) { in setContrast()
2119 if((contrast >= m_pCapability->contrast_ctrl.min_value) && in setContrast()
2120 (contrast <= m_pCapability->contrast_ctrl.max_value)) { in setContrast()
2121 CDBG(" new contrast value : %d ", contrast); in setContrast()
2122 int32_t rc = setContrast(contrast); in setContrast()
2126 __func__, contrast, in setContrast()
5027 int32_t QCameraParameters::setContrast(int contrast) in setContrast() argument
5030 sprintf(val, "%d", contrast); in setContrast()
5034 int32_t value = contrast; in setContrast()
DQCameraParameters.h697 int32_t setContrast(int contrast);
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraParameters.cpp2417 int contrast = params.getInt(KEY_QC_CONTRAST); in setContrast() local
2424 if (prev_contrast != contrast) { in setContrast()
2425 if((contrast >= m_pCapability->contrast_ctrl.min_value) && in setContrast()
2426 (contrast <= m_pCapability->contrast_ctrl.max_value)) { in setContrast()
2427 CDBG(" new contrast value : %d ", contrast); in setContrast()
2428 int32_t rc = setContrast(contrast); in setContrast()
2432 __func__, contrast, in setContrast()
6037 int32_t QCameraParameters::setContrast(int contrast) in setContrast() argument
6040 snprintf(val, sizeof(val), "%d", contrast); in setContrast()
6044 if (ADD_SET_PARAM_ENTRY_TO_BATCH(m_pParamBuf, CAM_INTF_PARM_CONTRAST, contrast)) { in setContrast()
DQCameraParameters.h867 int32_t setContrast(int contrast);
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraParameters.cpp2417 int contrast = params.getInt(KEY_QC_CONTRAST); in setContrast() local
2424 if (prev_contrast != contrast) { in setContrast()
2425 if((contrast >= m_pCapability->contrast_ctrl.min_value) && in setContrast()
2426 (contrast <= m_pCapability->contrast_ctrl.max_value)) { in setContrast()
2427 CDBG(" new contrast value : %d ", contrast); in setContrast()
2428 int32_t rc = setContrast(contrast); in setContrast()
2432 __func__, contrast, in setContrast()
6037 int32_t QCameraParameters::setContrast(int contrast) in setContrast() argument
6040 snprintf(val, sizeof(val), "%d", contrast); in setContrast()
6044 if (ADD_SET_PARAM_ENTRY_TO_BATCH(m_pParamBuf, CAM_INTF_PARM_CONTRAST, contrast)) { in setContrast()
DQCameraParameters.h867 int32_t setContrast(int contrast);