Searched refs:brightness (Results 1 - 22 of 22) sorted by relevance

/hardware/qcom/display/msm8960/liblight/
H A Dlights.c45 = "/sys/class/leds/red/brightness";
48 = "/sys/class/leds/green/brightness";
51 = "/sys/class/leds/blue/brightness";
54 = "/sys/class/leds/white/brightness";
57 = "/sys/class/leds/lcd-backlight/brightness";
134 int brightness = rgb_to_brightness(state); local
136 err = write_int(LCD_FILE, brightness);
212 int brightness = ((77 * ((colorRGB >> 16) & 0xFF)) + local
215 write_int(WHITE_LED_FILE, (int) brightness);
/hardware/qcom/display/msm8974/liblight/
H A Dlights.c45 = "/sys/class/leds/red/brightness";
48 = "/sys/class/leds/green/brightness";
51 = "/sys/class/leds/blue/brightness";
54 = "/sys/class/leds/white/brightness";
57 = "/sys/class/leds/lcd-backlight/brightness";
134 int brightness = rgb_to_brightness(state); local
136 err = write_int(LCD_FILE, brightness);
212 int brightness = ((77 * ((colorRGB >> 16) & 0xFF)) + local
215 write_int(WHITE_LED_FILE, (int) brightness);
/hardware/qcom/display/msm8x26/liblight/
H A Dlights.c45 = "/sys/class/leds/red/brightness";
48 = "/sys/class/leds/green/brightness";
51 = "/sys/class/leds/blue/brightness";
54 = "/sys/class/leds/white/brightness";
57 = "/sys/class/leds/lcd-backlight/brightness";
134 int brightness = rgb_to_brightness(state); local
136 err = write_int(LCD_FILE, brightness);
212 int brightness = ((77 * ((colorRGB >> 16) & 0xFF)) + local
215 write_int(WHITE_LED_FILE, (int) brightness);
/hardware/libhardware/tests/camera2/
H A DCameraBurstTests.cpp231 // Get each frame (metadata) and then the buffer. Calculate brightness.
247 long long brightness = TotalBrightness(imgBuffer, &underexposed, local
249 float avgBrightness = brightness * 1.0f /
251 ALOGV("Total brightness for frame %d was %lld (underexposed %d, "
252 "overexposed %d), avg %f", i, brightness, underexposed,
254 dout << "Average brightness (frame " << i << ") was " << avgBrightness
282 * Make this check warning only, since the brightness calculation is not reliable
287 << "average brightness should double at least "
325 // measured brightness, in 0-255 luminance.
631 // Get each frame (metadata) and then the buffer. Calculate brightness
662 long long brightness = TotalBrightness(imgBuffer, &underexposed, local
[all...]
/hardware/samsung_slsi/exynos5/libcamera/
H A DExynosExif.h209 srational_t brightness; member in struct:__anon1516
H A DExynosCamera.cpp186 brightness = 0;
3811 exifInfo->brightness.num = bv*EXIF_DEF_APEX_DEN;
3812 exifInfo->brightness.den = EXIF_DEF_APEX_DEN;
4583 bool ExynosCamera::setBrightness(int brightness) argument
4585 int internalValue = brightness;
4601 if (m_curCameraInfo->brightness != brightness) {
4602 m_curCameraInfo->brightness = brightness;
4623 return m_curCameraInfo->brightness;
[all...]
H A DExynosJpegEncoderForCamera.cpp445 1, (rational_t *)&exifInfo->brightness, &LongerTagOffest, pIfdStart);
/hardware/samsung_slsi/exynos5/libcamera2/
H A DExynosExif.h209 srational_t brightness; member in struct:__anon1524
H A Dfimc-is-metadata.h270 uint32_t brightness; member in struct:camera2_colorcorrection_ctl
279 uint32_t brightness; member in struct:camera2_colorcorrection_dm
H A DExynosJpegEncoderForCamera.cpp404 1, (rational_t *)&exifInfo->brightness, &LongerTagOffest, pIfdStart);
H A DExynosCameraHWInterface2.cpp5828 exifInfo->brightness.num = bv*EXIF_DEF_APEX_DEN;
5829 exifInfo->brightness.den = EXIF_DEF_APEX_DEN;
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
H A DOMX3A.cpp965 OMX_CONFIG_BRIGHTNESSTYPE brightness; local
975 OMX_INIT_STRUCT_PTR (&brightness, OMX_CONFIG_BRIGHTNESSTYPE);
976 brightness.nPortIndex = mCameraAdapterParameters.mPrevPortIndex;
977 brightness.nBrightness = Gen3A.Brightness;
981 &brightness);
985 ( unsigned int ) brightness.nBrightness,
991 ( unsigned int ) brightness.nBrightness);
/hardware/ti/omap4xxx/test/CameraHal/
H A Dcamera_test_menu.cpp74 int brightness = 0; variable
1147 brightness = 50;
1152 brightness = 100;
1181 params.set(KEY_BRIGHTNESS, brightness);
1375 printf(" b. Brightness: %d\n", brightness);
1916 if ( brightness >= 200) {
1917 brightness = 0;
1919 brightness += 10;
1922 params.set(KEY_BRIGHTNESS, brightness);
H A Dcamera_test_script.cpp68 extern int brightness;
765 brightness = atoi(cmd + 1);
766 params.set(KEY_BRIGHTNESS, brightness);
/hardware/samsung_slsi/exynos5/include/
H A DExynosCamera.h152 int brightness; member in struct:android::ExynosCameraInfo
845 //! Sets brightness
846 bool setBrightness(int brightness);
847 //! Gets brightness
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
H A Dfimc-is-metadata.h308 uint32_t brightness; member in struct:camera2_colorcorrection_ctl
316 uint32_t brightness; member in struct:camera2_colorcorrection_dm
/hardware/qcom/camera/QCamera2/HAL/
H A DQCameraParameters.cpp244 const char QCameraParameters::KEY_QC_MIN_BRIGHTNESS[] = "min-brightness";
245 const char QCameraParameters::KEY_QC_MAX_BRIGHTNESS[] = "max-brightness";
246 const char QCameraParameters::KEY_QC_BRIGHTNESS_STEP[] = "brightness-step";
1521 * DESCRIPTION: set brightness control value from user setting
1533 int brightness = params.getInt(KEY_QC_BRIGHTNESS); local
1534 if (currentBrightness != brightness) {
1535 if (brightness >= m_pCapability->brightness_ctrl.min_value &&
1536 brightness <= m_pCapability->brightness_ctrl.max_value) {
1537 ALOGV(" new brightness value : %d ", brightness);
3605 setBrightness(int brightness) argument
[all...]
H A DQCameraParameters.h475 int32_t setBrightness(int brightness);
/hardware/qcom/msm8960/kernel-headers/media/
H A Dmsm_camera.h1472 int8_t brightness; member in union:sensor_cfg_data::__anon1046
/hardware/qcom/msm8960/original-kernel-headers/media/
H A Dmsm_camera.h1395 int8_t brightness; member in union:sensor_cfg_data::__anon1083
/hardware/qcom/msm8x74/kernel-headers/media/
H A Dmsm_camera.h1621 int8_t brightness; member in union:sensor_cfg_data::__anon1139
/hardware/qcom/msm8x74/original-kernel-headers/media/
H A Dmsm_camera.h1672 int8_t brightness; member in union:sensor_cfg_data::__anon1200

Completed in 1818 milliseconds