hi_stitching_gain_param
Function
Defines the gain compensation parameters.
Definition
typedef struct {
hi_stitching_histogram_type hist_type;
hi_stitching_gain_type gain_type;
hi_void *user_data;
hi_s32 (*calulate_gain_callback)(
hi_void *user_data,
hi_void *hist_config,
hi_u32 hist_count,
hi_void *gain,
hi_u32 gain_size);
} hi_stitching_gain_param;
For details about basic data types hi_s32, hi_u32, and hi_void, see Basic Data Types.
Members
Member |
Description |
|---|---|
hist_type |
Histogram statistics type. For details, see hi_stitching_histogram_type. |
gain_type |
Gain compensation type. For details, see hi_stitching_gain_type. |
user_data |
User-defined data. |
calulate_gain_callback |
Callback function pointer. If gain_type is set to GAIN_LUT or GAIN_VALUE, the callback function pointer must be configured. The parameters in the callback function are described as follows:
|