Combined gain range limits for brightness control. More...
Functions | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainCombinedLimit_Set (peak_afl_controller_handle controller, peak_afl_double_limit limit) |
| Set autofeature combined gain limit for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainCombinedLimit_Get (peak_afl_controller_handle controller, peak_afl_double_limit *limit) |
| Get autofeature combined gain limit for a controller. | |
| PEAK_AFL_API_STATUS | peak_afl_AutoController_GainCombinedLimit_GetRange (peak_afl_controller_handle controller, peak_afl_double_limit *limit) |
| Get autofeature combined gain limit range for a controller. | |
Combined gain range limits for brightness control.
With this feature it is possible to define precisely the allowed range of the exposure time or gains for automatic adjustments, when auto brightness is enabled.
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainCombinedLimit_Get | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit * | limit ) |
Get autofeature combined gain limit for a controller.
Retrieves the currently configured combined gain limits. This returns the same limits that were previously set using peak_afl_AutoController_GainCombinedLimit_Set, or the default limits if none were set.
| [in] | controller | controller handle |
| [out] | limit | the current combined gain limit |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainCombinedLimit_GetRange | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit * | limit ) |
Get autofeature combined gain limit range for a controller.
Retrieves the valid range of combined gain limit values that can be configured for this controller. Combined gain represents the total amplification from both analog and digital stages. Use this information to determine appropriate combined gain limits before calling peak_afl_AutoController_GainCombinedLimit_Set.
| [in] | controller | controller handle |
| [out] | limit | the possible range for combined gain limit |
| PEAK_AFL_API_STATUS peak_afl_AutoController_GainCombinedLimit_Set | ( | peak_afl_controller_handle | controller, |
| peak_afl_double_limit | limit ) |
Set autofeature combined gain limit for a controller.
Configures limits for the total combined gain (analog + digital). This allows you to constrain the overall amplification regardless of how it's distributed between analog and digital stages. Useful for maintaining overall image quality while allowing the controller to optimize the gain distribution.
The valid values are dependent on the used gain node and can be between minimum and maximum. Default is the complete range.
If any value of the limit is out of range, the value is clamped to be valid. In this case, the function returns with PEAK_AFL_STATUS_VALUE_ADJUSTED. It is recommended to check the current values by calling peak_afl_AutoController_GainCombinedLimit_Get after this call.
| [in] | controller | controller handle |
| [in] | limit | Limits the controller to adjust the combined gain to the supplied range between min and max of limit. |