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

12

/hardware/qcom/display/msm8960/liblight/
H A Dlights.c46 = "/sys/class/leds/red/brightness";
49 = "/sys/class/leds/green/brightness";
52 = "/sys/class/leds/blue/brightness";
55 = "/sys/class/leds/white/brightness";
58 = "/sys/class/leds/lcd-backlight/brightness";
135 int brightness = rgb_to_brightness(state); local
137 err = write_int(LCD_FILE, brightness);
212 int brightness = ((77 * ((colorRGB >> 16) & 0xFF)) + local
215 write_int(WHITE_LED_FILE, (int) brightness);
/hardware/intel/img/psb_video/src/
H A Dpsb_texture.h98 sgx_psb_fixed32 brightness; member in struct:psb_texture_s
H A Dpsb_texture.c145 double brightness, double contrast,
230 texture_priv->brightness.Value = OV_BRIGHTNESS_DEFAULT_VALUE;
231 texture_priv->brightness.Fraction = 0;
741 bright_off = pPriv->brightness.Value;
751 * (including brightness and contrast correction)
765 * (including brightness and contrast correction)
780 * (including brightness and contrast correction)
1003 * Performs brightness and contrast adjustment as well as the required
1009 double brightness, double contrast,
1017 *pConstant = (((yOff + brightness) * yScal
1007 psb_create_coeffs(double yOff, double uOff, double vOff, double rgbOff, double yScale, double uScale, double vScale, double brightness, double contrast, double *pYCoeff, double *pUCoeff, double *pVCoeff, double *pConstant) argument
[all...]
H A Dpsb_overlay.h308 ov_psb_fixed32 brightness; member in struct:_PsbPortPrivRec
H A Dpsb_overlay.c79 overlayA->OCLRC0 = (pPriv->contrast.Value << 18) | (pPriv->brightness.Value & 0xff);
82 overlayC->OCLRC0 = (pPriv->contrast.Value << 18) | (pPriv->brightness.Value & 0xff);
246 overlay->OCLRC0 = (pPriv->contrast.Value << 18) | (pPriv->brightness.Value & 0xff);
1237 pPriv->brightness.Value = OV_BRIGHTNESS_DEFAULT_VALUE;
1238 pPriv->brightness.Fraction = 0;
1293 pPriv->brightness.Value = 0; /*-19*/
1358 driver_data->brightness.value = (-10.1f * (1 << 10));
H A Dpsb_drv_video.h272 VADisplayAttribute brightness; member in struct:psb_driver_data_s
H A Dpsb_output.c2020 p->value = (driver_data->brightness.value / (1 << 10)) + 50;
2134 driver_data->brightness.value = (p->value - 50) * (1 << 10);
2136 overlay_priv->brightness.Value = texture_priv->brightness.Value = p->value - 50;
/hardware/libhardware/tests/camera2/
H A DCameraBurstTests.cpp232 // Get each frame (metadata) and then the buffer. Calculate brightness.
248 long long brightness = TotalBrightness(imgBuffer, &underexposed, local
250 float avgBrightness = brightness * 1.0f /
252 ALOGV("Total brightness for frame %d was %lld (underexposed %d, "
253 "overexposed %d), avg %f", i, brightness, underexposed,
255 dout << "Average brightness (frame " << i << ") was " << avgBrightness
283 * Make this check warning only, since the brightness calculation is not reliable
288 << "average brightness should double at least "
326 // measured brightness, in 0-255 luminance.
636 // Get each frame (metadata) and then the buffer. Calculate brightness
667 long long brightness = TotalBrightness(imgBuffer, &underexposed, local
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
H A Dmm_qcamera_main_menu.c160 { BRIGHTNESS_CTRL, "Get brightness value"},
242 int brightness = CAMERA_DEF_BRIGHTNESS; variable
247 int brightness = 0; variable
788 printf(" Camera is in change brightness mode \n");
963 brightness -= CAMERA_BRIGHTNESS_STEP;
964 if (brightness < CAMERA_MIN_BRIGHTNESS) {
965 brightness = CAMERA_MIN_BRIGHTNESS;
968 printf("Decrease Brightness to %d\n", brightness);
971 &brightness,
981 brightness
[all...]
H A Dmm_qcamera_app.c1222 int setBrightness(mm_camera_test_obj_t *test_obj, int brightness) argument
1233 CAM_INTF_PARM_BRIGHTNESS, brightness)) {
1245 LOGE("Brightness set to: %d", brightness);
1979 int brightness = *(( int * )in_data); local
1980 rc = setBrightness(&handle->test_obj, brightness);
/hardware/qcom/display/msm8084/liblight/
H A Dlights.c44 = "/sys/class/leds/red/brightness";
47 = "/sys/class/leds/green/brightness";
50 = "/sys/class/leds/blue/brightness";
53 = "/sys/class/leds/lcd-backlight/brightness";
56 = "/sys/class/leds/button-backlight/brightness";
118 int brightness = rgb_to_brightness(state); local
123 err = write_int(LCD_FILE, brightness);
/hardware/qcom/display/msm8226/liblight/
H A Dlights.c44 = "/sys/class/leds/red/brightness";
47 = "/sys/class/leds/green/brightness";
50 = "/sys/class/leds/blue/brightness";
53 = "/sys/class/leds/lcd-backlight/brightness";
56 = "/sys/class/leds/button-backlight/brightness";
118 int brightness = rgb_to_brightness(state); local
123 err = write_int(LCD_FILE, brightness);
/hardware/qcom/display/msm8909/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/bt/brightness";
57 = "/sys/class/leds/lcd-backlight/brightness";
60 = "/sys/class/leds/button-backlight/brightness";
122 int brightness = rgb_to_brightness(state); local
127 err = write_int(LCD_FILE, brightness);
/hardware/qcom/display/msm8994/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/lcd-backlight/brightness";
57 = "/sys/class/leds/button-backlight/brightness";
119 int brightness = rgb_to_brightness(state); local
124 err = write_int(LCD_FILE, brightness);
/hardware/qcom/display/msm8996/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/lcd-backlight/brightness";
57 = "/sys/class/leds/button-backlight/brightness";
119 int brightness = rgb_to_brightness(state); local
124 err = write_int(LCD_FILE, brightness);
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
H A Dhw_primary.cpp616 DLOGV_IF(kTagDriverConfig, "Set brightness level to %d", level);
626 DLOGV_IF(kTagDriverConfig, "Failed to copy new brightness level = %d", level);
644 char brightness[kMaxStringLength] = {0}; local
653 DLOGV_IF(kTagDriverConfig, "Failed to open brightness node = %s, error = %s", kBrightnessNode,
658 if (Sys::pread_(fd, brightness, sizeof(brightness), 0) > 0) {
659 *level = atoi(brightness);
H A Dhw_device.cpp880 char brightness[kMaxStringLength] = { 0 }; local
889 DLOGW("Failed to open max brightness node = %s, error = %s", kMaxBrightnessNode,
894 if (Sys::pread_(fd, brightness, sizeof(brightness), 0) > 0) {
895 panel_info->panel_max_brightness = atoi(brightness);
896 DLOGW("Max brightness level = %d", panel_info->panel_max_brightness);
898 DLOGW("Failed to read max brightness level. error = %s", strerror(errno));
/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/ti/omap4-aah/camera/OMXCameraAdapter/
H A DOMX3A.cpp1147 OMX_CONFIG_BRIGHTNESSTYPE brightness; local
1157 OMX_INIT_STRUCT_PTR (&brightness, OMX_CONFIG_BRIGHTNESSTYPE);
1158 brightness.nPortIndex = mCameraAdapterParameters.mPrevPortIndex;
1159 brightness.nBrightness = Gen3A.Brightness;
1163 &brightness);
1167 ( unsigned int ) brightness.nBrightness,
1173 ( unsigned int ) brightness.nBrightness);
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
H A Dmm_jpeg_exif.c508 LOGD("brightness %f",
509 p_3a_params->brightness);
512 val_srat.num = (int32_t) (p_3a_params->brightness * 100.0f);
/hardware/ti/omap4-aah/test/CameraHal/
H A Dcamera_test_script.cpp75 extern int brightness;
1077 brightness = atoi(cmd + 1);
1078 params.set(KEY_BRIGHTNESS, brightness);
H A Dcamera_test_menu.cpp98 int brightness = 0; variable
2159 brightness = 50;
2162 brightness = 100;
2207 params.set(KEY_BRIGHTNESS, brightness);
2644 snprintf(area2[k++], MAX_SYMBOLS, "b. Brightness: %d", brightness);
3369 if ( brightness >= 100)
3371 if ( brightness >= 200)
3374 brightness = 0;
3376 brightness += 10;
3379 params.set(KEY_BRIGHTNESS, brightness);
[all...]
/hardware/qcom/camera/QCamera2/HAL/
H A DQCameraParameters.h951 int32_t setBrightness(int brightness);

Completed in 2036 milliseconds

12