Home
last modified time | relevance | path

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

/bsp/Infineon/psoc6-cy8ckit-062S2-43012/board/ports/
A Dslider_sample.c37 uint32_t brightness; member
149 if (ledData->brightness >= 0) in update_led_state()
151 …uint32_t brightness = (ledData->brightness < LED_MIN_BRIGHTNESS) ? LED_MIN_BRIGHTNESS : ledData->b… in update_led_state() local
154 rt_pwm_set(pwm_dev, PWM_DEV_CHANNEL, 1 * 1000 * 1000, GET_DUTY_CYCLE(brightness)); in update_led_state()
178 led_data.brightness = (slider_pos * 100) in process_touch()
/bsp/Infineon/psoc6-evaluationkit-062S2/board/ports/
A Dslider_sample.c37 uint32_t brightness; member
149 if (ledData->brightness >= 0) in update_led_state()
151 …uint32_t brightness = (ledData->brightness < LED_MIN_BRIGHTNESS) ? LED_MIN_BRIGHTNESS : ledData->b… in update_led_state() local
154 rt_pwm_set(pwm_dev, PWM_DEV_CHANNEL, 1 * 1000 * 1000, GET_DUTY_CYCLE(brightness)); in update_led_state()
178 led_data.brightness = (slider_pos * 100) in process_touch()
/bsp/Infineon/libraries/templates/PSOC62/board/ports/
A Dslider_sample.c37 uint32_t brightness; member
148 if (ledData->brightness >= 0) in update_led_state()
150 …uint32_t brightness = (ledData->brightness < LED_MIN_BRIGHTNESS) ? LED_MIN_BRIGHTNESS : ledData->b… in update_led_state() local
153 rt_pwm_set(pwm_dev, PWM_DEV_CHANNEL, 1 * 1000 * 1000, GET_DUTY_CYCLE(brightness)); in update_led_state()
177 led_data.brightness = (slider_pos * 100) in process_touch()
/bsp/Infineon/psoc6-cy8ckit-062-BLE/board/ports/
A Dslider_sample.c37 uint32_t brightness; member
148 if (ledData->brightness >= 0) in update_led_state()
150 …uint32_t brightness = (ledData->brightness < LED_MIN_BRIGHTNESS) ? LED_MIN_BRIGHTNESS : ledData->b… in update_led_state() local
153 rt_pwm_set(pwm_dev, PWM_DEV_CHANNEL, 1 * 1000 * 1000, GET_DUTY_CYCLE(brightness)); in update_led_state()
177 led_data.brightness = (slider_pos * 100) in process_touch()
/bsp/Infineon/psoc6-cy8ckit-062-WIFI-BT/board/ports/
A Dslider_sample.c37 uint32_t brightness; member
148 if (ledData->brightness >= 0) in update_led_state()
150 …uint32_t brightness = (ledData->brightness < LED_MIN_BRIGHTNESS) ? LED_MIN_BRIGHTNESS : ledData->b… in update_led_state() local
153 rt_pwm_set(pwm_dev, PWM_DEV_CHANNEL, 1 * 1000 * 1000, GET_DUTY_CYCLE(brightness)); in update_led_state()
177 led_data.brightness = (slider_pos * 100) in process_touch()
/bsp/Infineon/psoc6-cy8ckit-062s4/board/ports/
A Dslider_sample.c37 uint32_t brightness; member
148 if (ledData->brightness >= 0) in update_led_state()
150 …uint32_t brightness = (ledData->brightness < LED_MIN_BRIGHTNESS) ? LED_MIN_BRIGHTNESS : ledData->b… in update_led_state() local
153 rt_pwm_set(pwm_dev, PWM_DEV_CHANNEL, 1 * 1000 * 1000, GET_DUTY_CYCLE(brightness)); in update_led_state()
177 led_data.brightness = (slider_pos * 100) in process_touch()
/bsp/Infineon/psoc6-cy8cproto-062S3-4343W/board/ports/
A Dslider_sample.c37 uint32_t brightness; member
149 if (ledData->brightness >= 0) in update_led_state()
151 …uint32_t brightness = (ledData->brightness < LED_MIN_BRIGHTNESS) ? LED_MIN_BRIGHTNESS : ledData->b… in update_led_state() local
154 rt_pwm_set(pwm_dev, PWM_DEV_CHANNEL, 1 * 1000 * 1000, GET_DUTY_CYCLE(brightness)); in update_led_state()
178 led_data.brightness = (slider_pos * 100) in process_touch()
/bsp/hpmicro/libraries/hpm_sdk/components/camera/ov5640/
A Dhpm_ov5640.c717 hpm_stat_t ov5640_set_brightness(camera_context_t *context, int32_t brightness) in ov5640_set_brightness() argument
721 if ((brightness < -4) || (brightness > 4)) { in ov5640_set_brightness()
726 if (brightness >= 0) { in ov5640_set_brightness()
729 brightness = -brightness; in ov5640_set_brightness()
733 HPM_CHECK_RET(ov5640_write_register(context, 0x5587, ((uint8_t)brightness) << 4U)); in ov5640_set_brightness()
A Dhpm_ov5640.h142 hpm_stat_t ov5640_set_brightness(camera_context_t *context, int32_t brightness);
/bsp/allwinner/libraries/sunxi-hal/hal/source/disp2/disp/de/lowlevel_v2x/
A Dde_ccsc.c96 config->brightness, config->contrast, in de_ccsc_apply()
394 unsigned int brightness, unsigned int contrast, in de_csc_coeff_calc() argument
415 && out_color_range == DISP_COLOR_RANGE_0_255 && brightness == 50 in de_csc_coeff_calc()
450 if (brightness != 50 || contrast != 50 in de_csc_coeff_calc()
452 brightness = brightness > 100 ? 100 : brightness; in de_csc_coeff_calc()
457 i_bright = (int)(brightness * 64 / 100); in de_csc_coeff_calc()
A Dde_csc.h29 unsigned int brightness, unsigned int contrast,
A Dde_dcsc.c67 config->brightness = _csc_enhance_setting[enhance_mode][0]; in de_dcsc_apply()
78 config->out_mode, config->brightness, in de_dcsc_apply()
A Dde_hal.c537 csc_cfg.brightness = 50; in de_al_lyr_apply()
742 csc_cfg.brightness = 50; in de_al_mgr_apply_color()
/bsp/stm32/stm32h750-fk750m1-vbt6/board/port/camera/
A Ddrv_ov2640.h86 void ov2640_set_brightness(struct rt_i2c_bus_device *bus, rt_int8_t brightness);
A Ddrv_ov2640.c299 void ov2640_set_brightness(struct rt_i2c_bus_device *bus, rt_int8_t brightness) in ov2640_set_brightness() argument
303 switch (brightness) { in ov2640_set_brightness()
/bsp/simulator/SDL2/include/
A DSDL_video.h1597 extern DECLSPEC int SDLCALL SDL_SetWindowBrightness(SDL_Window * window, float brightness);
/bsp/allwinner/libraries/sunxi-hal/hal/source/disp2/disp/de/
A Dinclude.h420 u32 brightness; member

Completed in 53 milliseconds