Home
last modified time | relevance | path

Searched refs:brightness (Results 1 – 25 of 32) sorted by relevance

12

/hardware/qcom/display/msm8960/liblight/
Dlights.c135 int brightness = rgb_to_brightness(state); in set_light_backlight() local
137 err = write_int(LCD_FILE, brightness); in set_light_backlight()
212 int brightness = ((77 * ((colorRGB >> 16) & 0xFF)) + in set_speaker_light_locked() local
215 write_int(WHITE_LED_FILE, (int) brightness); in set_speaker_light_locked()
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c242 int brightness = CAMERA_DEF_BRIGHTNESS; variable
247 int brightness = 0; variable
963 brightness -= CAMERA_BRIGHTNESS_STEP; in decrease_brightness()
964 if (brightness < CAMERA_MIN_BRIGHTNESS) { in decrease_brightness()
965 brightness = CAMERA_MIN_BRIGHTNESS; in decrease_brightness()
968 printf("Decrease Brightness to %d\n", brightness); in decrease_brightness()
971 &brightness, in decrease_brightness()
981 brightness += CAMERA_BRIGHTNESS_STEP; in increase_brightness()
982 if (brightness > CAMERA_MAX_BRIGHTNESS) { in increase_brightness()
983 brightness = CAMERA_MAX_BRIGHTNESS; in increase_brightness()
[all …]
Dmm_qcamera_app.c1222 int setBrightness(mm_camera_test_obj_t *test_obj, int brightness) in setBrightness() argument
1233 CAM_INTF_PARM_BRIGHTNESS, brightness)) { in setBrightness()
1245 LOGE("Brightness set to: %d", brightness); in setBrightness()
1979 int brightness = *(( int * )in_data); in mm_camera_lib_send_command() local
1980 rc = setBrightness(&handle->test_obj, brightness); in mm_camera_lib_send_command()
/hardware/libhardware/tests/camera2/
DCameraBurstTests.cpp248 long long brightness = TotalBrightness(imgBuffer, &underexposed, in TEST_F() local
250 float avgBrightness = brightness * 1.0f / in TEST_F()
253 "overexposed %d), avg %f", i, brightness, underexposed, in TEST_F()
667 long long brightness = TotalBrightness(imgBuffer, &underexposed, in TEST_F() local
671 avgBrightness = brightness * 1.0f / numValidPixels; in TEST_F()
677 "overexposed %d), avg %f", i, brightness, underexposed, in TEST_F()
/hardware/qcom/display/msm8084/liblight/
Dlights.c118 int brightness = rgb_to_brightness(state); in set_light_backlight() local
123 err = write_int(LCD_FILE, brightness); in set_light_backlight()
/hardware/qcom/display/msm8226/liblight/
Dlights.c118 int brightness = rgb_to_brightness(state); in set_light_backlight() local
123 err = write_int(LCD_FILE, brightness); in set_light_backlight()
/hardware/qcom/display/msm8994/liblight/
Dlights.c119 int brightness = rgb_to_brightness(state); in set_light_backlight() local
124 err = write_int(LCD_FILE, brightness); in set_light_backlight()
/hardware/qcom/display/msm8996/liblight/
Dlights.c119 int brightness = rgb_to_brightness(state); in set_light_backlight() local
124 err = write_int(LCD_FILE, brightness); in set_light_backlight()
/hardware/qcom/display/msm8909/liblight/
Dlights.c122 int brightness = rgb_to_brightness(state); in set_light_backlight() local
127 err = write_int(LCD_FILE, brightness); in set_light_backlight()
/hardware/intel/img/psb_video/src/
Dpsb_texture.c145 double brightness, double contrast,
230 texture_priv->brightness.Value = OV_BRIGHTNESS_DEFAULT_VALUE; in psb_ctexture_init()
231 texture_priv->brightness.Fraction = 0; in psb_ctexture_init()
741 bright_off = pPriv->brightness.Value; in psb_setup_coeffs()
1009 double brightness, double contrast, in psb_create_coeffs() argument
1017 *pConstant = (((yOff + brightness) * yScale) in psb_create_coeffs()
Dpsb_texture.h98 sgx_psb_fixed32 brightness; member
Dpsb_overlay.c79 overlayA->OCLRC0 = (pPriv->contrast.Value << 18) | (pPriv->brightness.Value & 0xff); in I830ResetVideo()
82 overlayC->OCLRC0 = (pPriv->contrast.Value << 18) | (pPriv->brightness.Value & 0xff); in I830ResetVideo()
246 overlay->OCLRC0 = (pPriv->contrast.Value << 18) | (pPriv->brightness.Value & 0xff);
1237 pPriv->brightness.Value = OV_BRIGHTNESS_DEFAULT_VALUE; in psbPortPrivCreate()
1238 pPriv->brightness.Fraction = 0; in psbPortPrivCreate()
1293 pPriv->brightness.Value = 0; /*-19*/ in psbSetupImageVideoOverlay()
1358 driver_data->brightness.value = (-10.1f * (1 << 10)); in psbSetupImageVideoOverlay()
Dpsb_overlay.h308 ov_psb_fixed32 brightness; member
Dpsb_drv_video.h272 VADisplayAttribute brightness; member
Dpsb_output.c2020 p->value = (driver_data->brightness.value / (1 << 10)) + 50; in psb_GetDisplayAttributes()
2134 driver_data->brightness.value = (p->value - 50) * (1 << 10); in psb_SetDisplayAttributes()
2136 overlay_priv->brightness.Value = texture_priv->brightness.Value = p->value - 50; in psb_SetDisplayAttributes()
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_menu.cpp74 int brightness = 0; variable
1147 brightness = 50; in initDefaults()
1152 brightness = 100; in initDefaults()
1181 params.set(KEY_BRIGHTNESS, brightness); in initDefaults()
1375 printf(" b. Brightness: %d\n", brightness); in functional_menu()
1916 if ( brightness >= 200) { in functional_menu()
1917 brightness = 0; in functional_menu()
1919 brightness += 10; in functional_menu()
1922 params.set(KEY_BRIGHTNESS, brightness); in functional_menu()
Dcamera_test_script.cpp68 extern int brightness;
765 brightness = atoi(cmd + 1); in execute_functional_script()
766 params.set(KEY_BRIGHTNESS, brightness); in execute_functional_script()
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_primary.cpp644 char brightness[kMaxStringLength] = {0}; in GetPanelBrightness() local
658 if (Sys::pread_(fd, brightness, sizeof(brightness), 0) > 0) { in GetPanelBrightness()
659 *level = atoi(brightness); in GetPanelBrightness()
Dhw_device.cpp880 char brightness[kMaxStringLength] = { 0 }; in GetHWPanelMaxBrightnessFromNode() local
894 if (Sys::pread_(fd, brightness, sizeof(brightness), 0) > 0) { in GetHWPanelMaxBrightnessFromNode()
895 panel_info->panel_max_brightness = atoi(brightness); in GetHWPanelMaxBrightnessFromNode()
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMX3A.cpp965 OMX_CONFIG_BRIGHTNESSTYPE brightness; in setBrightness() local
975 OMX_INIT_STRUCT_PTR (&brightness, OMX_CONFIG_BRIGHTNESSTYPE); in setBrightness()
976 brightness.nPortIndex = mCameraAdapterParameters.mPrevPortIndex; in setBrightness()
977 brightness.nBrightness = Gen3A.Brightness; in setBrightness()
981 &brightness); in setBrightness()
985 ( unsigned int ) brightness.nBrightness, in setBrightness()
991 ( unsigned int ) brightness.nBrightness); in setBrightness()
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMX3A.cpp1147 OMX_CONFIG_BRIGHTNESSTYPE brightness; in setBrightness() local
1157 OMX_INIT_STRUCT_PTR (&brightness, OMX_CONFIG_BRIGHTNESSTYPE); in setBrightness()
1158 brightness.nPortIndex = mCameraAdapterParameters.mPrevPortIndex; in setBrightness()
1159 brightness.nBrightness = Gen3A.Brightness; in setBrightness()
1163 &brightness); in setBrightness()
1167 ( unsigned int ) brightness.nBrightness, in setBrightness()
1173 ( unsigned int ) brightness.nBrightness); in setBrightness()
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_exif.c509 p_3a_params->brightness); in process_3a_data()
512 val_srat.num = (int32_t) (p_3a_params->brightness * 100.0f); in process_3a_data()
/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test_menu.cpp98 int brightness = 0; variable
2159 brightness = 50; in initDefaults()
2162 brightness = 100; in initDefaults()
2207 params.set(KEY_BRIGHTNESS, brightness); in initDefaults()
2644 snprintf(area2[k++], MAX_SYMBOLS, "b. Brightness: %d", brightness); in functional_menu()
3369 if ( brightness >= 100) in functional_menu()
3371 if ( brightness >= 200) in functional_menu()
3374 brightness = 0; in functional_menu()
3376 brightness += 10; in functional_menu()
3379 params.set(KEY_BRIGHTNESS, brightness); in functional_menu()
Dcamera_test_script.cpp75 extern int brightness;
1077 brightness = atoi(cmd + 1); in execute_functional_script()
1078 params.set(KEY_BRIGHTNESS, brightness); in execute_functional_script()
/hardware/qcom/camera/QCamera2/HAL/
DQCameraParameters.cpp2557 int brightness = params.getInt(KEY_QC_BRIGHTNESS); in setBrightness() local
2563 if (currentBrightness != brightness) { in setBrightness()
2564 if (brightness >= m_pCapability->brightness_ctrl.min_value && in setBrightness()
2565 brightness <= m_pCapability->brightness_ctrl.max_value) { in setBrightness()
2566 LOGD("new brightness value : %d ", brightness); in setBrightness()
2567 return setBrightness(brightness); in setBrightness()
2570 brightness, in setBrightness()
6516 int32_t QCameraParameters::setBrightness(int brightness) in setBrightness() argument
6519 snprintf(val, sizeof(val), "%d", brightness); in setBrightness()
6523 if (ADD_SET_PARAM_ENTRY_TO_BATCH(m_pParamBuf, CAM_INTF_PARM_BRIGHTNESS, brightness)) { in setBrightness()

12