hi_fisheye_cfg
Description
Defines the configuration of the LMF parameters for the fisheye lens.
Prototype
typedef struct {
hi_u16 lmf_coef[HI_FISHEYE_LMF_COEF_NUM]; /* RW; LMF coefficient of gdc len */
} hi_fisheye_cfg;
Members
Member |
Description |
|---|---|
lmf_coef |
LMF parameter of the fisheye lens. #define HI_FISHEYE_LMF_COEF_NUM 128 |
The LMF parameters must be converted based on the parameters recommended by the lens vendor before being configured (the correct LMF parameters comply with the rule of lmf_coef[i+1] ≥lmf_coef[i]+5&& lmf_coef [i + 1] <= lmf_coef [i] + 31 && lmf_coef [57] <1024< lmf_coef [85] &&lmf_coef[0] = 0). If the configured parameters do not comply with the rule, an error is reported. If the configured parameters are incorrect, exceptions such as bus errors may occur. If there is no parameter provided by the lens vendor, you are advised to disable the LMF function.
Parent topic: VPSS