Home
last modified time | relevance | path

Searched refs:saturation (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.6.0/mcux/mcux-sdk/components/video/camera/device/ov5640/
Dfsl_ov5640.c147 status_t OV5640_SetSaturation(camera_device_handle_t *handle, int32_t saturation);
1049 status_t OV5640_SetSaturation(camera_device_handle_t *handle, int32_t saturation) in OV5640_SetSaturation() argument
1054 if ((-4 > saturation) || (4 < saturation)) in OV5640_SetSaturation()
1059 saturation = 0x40 + saturation * 0x10; in OV5640_SetSaturation()
1060 regVal = (uint8_t)saturation; in OV5640_SetSaturation()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/video/camera/device/ov7725/
Dfsl_ov7725.c116 status_t OV7725_SetSaturation(camera_device_handle_t *handle, int32_t saturation);
568 status_t OV7725_SetSaturation(camera_device_handle_t *handle, int32_t saturation) in OV7725_SetSaturation() argument
572 if ((saturation < -4) || (saturation > 4)) in OV7725_SetSaturation()
577 saturation += 4; in OV7725_SetSaturation()
578 uint8_t val = (uint8_t)saturation * 0x10U; in OV7725_SetSaturation()