ISVP-SDK
3.12.0
Ingenic Smart Video Platform SDK
|
Image signal processing unit. More...
Data Structures | |
struct | IMPI2CInfo |
Defines I2C bus information. More... | |
struct | IMPSPIInfo |
Defines SPI bus information. More... | |
struct | IMPSensorInfo |
Defines the information of sensor. More... | |
struct | IMPISPDrcAttr |
ISP DRC arrribute. More... | |
struct | IMPISPSinterDenoiseAttr |
ISP Spatial noise reduction module attribute parameter. More... | |
struct | imp_isp_temper_denoise_attr |
ISP noise reduction module attribute for a certain amount of time. More... | |
struct | IMPISPGamma |
Defines the attribute of gamma. More... | |
union | isp_core_expr_attr |
exposure parameters. More... | |
union | isp_core_ae_roi_select |
exposure region of interest. More... | |
struct | isp_core_wb_attr |
White balance attributes. More... | |
struct | isp_core_rgb_coefft_wb_attr |
struct | IMPISPEVAttr |
attributes of ISP exposure value. More... | |
struct | IMPISPITAttr |
Integration time parameters. More... | |
struct | IMPISPWeight |
Weight information. More... | |
struct | IMPISPAEHist |
AE statistics. More... | |
struct | IMPISPAEZone |
struct | isp_core_awb_sta_info |
AWB statistics. More... | |
struct | IMPISPAWBHist |
AWB statictis parameters. More... | |
struct | isp_core_wb_zone_info |
struct | IMPISPAWBZone |
struct | isp_core_af_sta_info |
AF statistics. More... | |
struct | IMPISPAFHist |
AF statistics. More... | |
struct | IMPISPWaitFrameAttr |
ISP Wait Frame paramater。 More... | |
Typedefs | |
typedef struct imp_isp_temper_denoise_attr | IMPISPTemperDenoiseAttr |
ISP noise reduction module attribute for a certain amount of time. | |
typedef union isp_core_expr_attr | IMPISPExpr |
exposure parameters. | |
typedef union isp_core_ae_roi_select | IMPISPAERoi |
exposure region of interest. | |
typedef struct isp_core_wb_attr | IMPISPWB |
White balance attributes. | |
typedef struct isp_core_rgb_coefft_wb_attr | IMPISPCOEFFTWB |
Functions | |
int | IMP_ISP_Open (void) |
Open the ISP module. More... | |
int | IMP_ISP_Close (void) |
Close the ISP module. More... | |
int | IMP_ISP_AddSensor (IMPSensorInfo *pinfo) |
Add a sensor into ISP module. More... | |
int | IMP_ISP_DelSensor (IMPSensorInfo *pinfo) |
Delete a sensor from ISP module. More... | |
int | IMP_ISP_EnableSensor (void) |
Enable the registered sensor. More... | |
int | IMP_ISP_DisableSensor (void) |
Disable the running sensor. More... | |
int | IMP_ISP_SetSensorRegister (uint32_t reg, uint32_t value) |
Set the value of a register of a sensor. More... | |
int | IMP_ISP_GetSensorRegister (uint32_t reg, uint32_t *value) |
Obtain a value of the register of sensor. More... | |
int | IMP_ISP_EnableTuning (void) |
Enable effect debugging of ISP. More... | |
int | IMP_ISP_DisableTuning (void) |
Disable effect debugging of ISP. More... | |
int | IMP_ISP_Tuning_SetSensorFPS (uint32_t fps_num, uint32_t fps_den) |
Set the FPS of enabled sensor. More... | |
int | IMP_ISP_Tuning_GetSensorFPS (uint32_t *fps_num, uint32_t *fps_den) |
Get the FPS of enabled sensor. More... | |
int | IMP_ISP_Tuning_SetAntiFlickerAttr (IMPISPAntiflickerAttr attr) |
Set the antiflicker parameter. More... | |
int | IMP_ISP_Tuning_GetAntiFlickerAttr (IMPISPAntiflickerAttr *pattr) |
Get the mode of antiflicker. More... | |
int | IMP_ISP_Tuning_SetRawDRC (IMPISPDrcAttr *pinfo) |
Set ISP RAW picture DRC attributes. More... | |
int | IMP_ISP_Tuning_GetRawDRC (IMPISPDrcAttr *pinfo) |
Get ISP RAW picture DRC attributes. More... | |
int | IMP_ISP_Tuning_SetSinterDnsAttr (IMPISPSinterDenoiseAttr *pinfo) |
Set the attributes of Spatial noise reduction module. More... | |
int | IMP_ISP_Tuning_GetSinterDnsAttr (IMPISPSinterDenoiseAttr *pinfo) |
Set the attributes of Spatial noise reduction module. More... | |
int | IMP_ISP_Tuning_SetTemperDnsAttr (IMPISPTemperDenoiseAttr *pinfo) |
Set the attribute(s) of noise reduction (for a certain amount of time) module. More... | |
int | IMP_ISP_Tuning_GetTemperDnsAttr (IMPISPTemperDenoiseAttr *pinfo) |
Get the attribute(s) of noise reduction (for a certain amount of time) module. More... | |
int | IMP_ISP_Tuning_SetWDRAttr (IMPISPTuningOpsMode mode) |
Set ISP wide dynamic module mode (enable/ disable) More... | |
int | IMP_ISP_Tuning_GetWDRAttr (IMPISPTuningOpsMode *pmode) |
Get ISP wide dynamic module mode (enable/ disable) More... | |
int | IMP_ISP_Tuning_SetSceneMode (IMPISPSceneMode mode) |
Set ISP synthetical effect scene mode. More... | |
int | IMP_ISP_Tuning_GetSceneMode (IMPISPSceneMode *pmode) |
Get ISP synthetical effect scene mode. More... | |
int | IMP_ISP_Tuning_SetColorfxMode (IMPISPColorfxMode mode) |
Set the color mode of image effect. More... | |
int | IMP_ISP_Tuning_GetColorfxMode (IMPISPColorfxMode *pmode) |
Get the color mode of image effect. More... | |
int | IMP_ISP_Tuning_SetBrightness (unsigned char bright) |
Set the brightness of image effect. More... | |
int | IMP_ISP_Tuning_GetBrightness (unsigned char *pbright) |
Get the brightness of image effect. More... | |
int | IMP_ISP_Tuning_SetContrast (unsigned char contrast) |
Set the contrast of image effect. More... | |
int | IMP_ISP_Tuning_GetContrast (unsigned char *pcontrast) |
Get the contrast of image effect. More... | |
int | IMP_ISP_Tuning_SetSharpness (unsigned char sharpness) |
Set the sharpness of image effect. More... | |
int | IMP_ISP_Tuning_GetSharpness (unsigned char *psharpness) |
Get the sharpness of image effect. More... | |
int | IMP_ISP_Tuning_SetSaturation (unsigned char sat) |
Set the saturation of image effect. More... | |
int | IMP_ISP_Tuning_GetSaturation (unsigned char *psat) |
Get the saturation of image effect. More... | |
int | IMP_ISP_Tuning_SetFWFreeze (IMPISPTuningOpsMode mode) |
Freeze ISP firmware operation. More... | |
int | IMP_ISP_Tuning_SaveAllParam (char *path) |
Saves all debugging parameters of ISP modules. More... | |
int | IMP_ISP_Tuning_SetISPBypass (IMPISPTuningOpsMode enable) |
Control ISP modules. More... | |
int | IMP_ISP_Tuning_GetTotalGain (uint32_t *gain) |
Get the overall gain value of the ISP output image. More... | |
int | IMP_ISP_Tuning_SetISPHflip (IMPISPTuningOpsMode mode) |
Set ISP image mirror(horizontal) effect function (enable/disable) More... | |
int | IMP_ISP_Tuning_GetISPHflip (IMPISPTuningOpsMode *pmode) |
Get ISP image mirror(horizontal) effect function (enable/disable) More... | |
int | IMP_ISP_Tuning_SetISPVflip (IMPISPTuningOpsMode mode) |
Set ISP image mirror(vertical) effect function (enable/disable) More... | |
int | IMP_ISP_Tuning_GetISPVflip (IMPISPTuningOpsMode *pmode) |
Get ISP image mirror(vertical) effect function (enable/disable) More... | |
int | IMP_ISP_Tuning_SetISPHVflip (IMPISPTuningOpsMode hmode, IMPISPTuningOpsMode vmode) |
Set ISP image mirror(horizontal/vertical) effect function (enable/disable) More... | |
int | IMP_ISP_Tuning_GetISPHVflip (IMPISPTuningOpsMode *phmode, IMPISPTuningOpsMode *pvmode) |
获取ISP图像H/V反转效果功能的操作状态 More... | |
int | IMP_ISP_Tuning_SetISPRunningMode (IMPISPRunningMode mode) |
Set ISP running mode, normal mode or night vision mode; default mode: normal mode. More... | |
int | IMP_ISP_Tuning_GetISPRunningMode (IMPISPRunningMode *pmode) |
Get ISP running mode, normal mode or night vision mode;. More... | |
int | IMP_ISP_Tuning_SetAeStrategy (IMPISPAeStrategy strategy) |
Set ISP working mode, auto exposure policy configuration, normal mode or exposure priority mode; default: normal mode. More... | |
int | IMP_ISP_Tuning_GetAeStrategy (IMPISPAeStrategy *pstrategy) |
Get ISP working mode, auto exposure policy configuration, normal mode or exposure priority mode. More... | |
int | IMP_ISP_Tuning_SetGamma (IMPISPGamma *gamma) |
Sets the attributes of ISP gamma. More... | |
int | IMP_ISP_Tuning_GetGamma (IMPISPGamma *gamma) |
Obtains the attributes of gamma. More... | |
int | IMP_ISP_Tuning_SetAeComp (int comp) |
Setting AE compensation.AE compensation parameters can adjust the target of the image AE. More... | |
int | IMP_ISP_Tuning_GetAeComp (int *comp) |
Obtains the compensation of AE. More... | |
int | IMP_ISP_Tuning_SetExpr (IMPISPExpr *expr) |
Set AE attributes. More... | |
int | IMP_ISP_Tuning_GetExpr (IMPISPExpr *expr) |
Get AE attributes. More... | |
int | IMP_ISP_Tuning_AE_GetROI (IMPISPAERoi *isp_ae_roi) |
Access to AE statistical area. More... | |
int | IMP_ISP_Tuning_AE_SetROI (IMPISPAERoi *isp_ae_roi) |
Set AE statistical area. More... | |
int | IMP_ISP_Tuning_SetWB (IMPISPWB *wb) |
Set the white balance function settings. More... | |
int | IMP_ISP_Tuning_GetWB (IMPISPWB *wb) |
Get the white balance function settings. More... | |
int | IMP_ISP_Tuning_GetWB_Statis (IMPISPWB *wb) |
Get the white balance statistic value. More... | |
int | IMP_ISP_Tuning_Awb_GetCwfShift (IMPISPWB *isp_wb_attr) |
Get the position of the AWB's CWF light source in ISP. More... | |
int | IMP_ISP_Tuning_Awb_SetCwfShift (IMPISPWB *isp_wb_attr) |
Set the attributes of CWF light. More... | |
int | IMP_ISP_Tuning_Awb_GetRgbCoefft (IMPISPCOEFFTWB *isp_core_rgb_coefft_wb_attr) |
Set the AWB r g b channel offset source in ISP. More... | |
int | IMP_ISP_Tuning_Awb_SetRgbCoefft (IMPISPCOEFFTWB *isp_core_rgb_coefft_wb_attr) |
Sets the Max value of sensor color r g b. More... | |
int | IMP_ISP_Tuning_SetMaxAgain (uint32_t gain) |
Sets the Max value of sensor analog gain. More... | |
int | IMP_ISP_Tuning_GetMaxAgain (uint32_t *gain) |
Get the Max value of sensor analog gain. More... | |
int | IMP_ISP_Tuning_SetMaxDgain (uint32_t gain) |
Set the Max value of sensor Digital gain. More... | |
int | IMP_ISP_Tuning_GetMaxDgain (uint32_t *gain) |
Obtains the Max value of isp digital gain. More... | |
int | IMP_ISP_Tuning_SetVideoDrop (void(*cb)(void)) |
Set the video loss function. More... | |
int | IMP_ISP_Tuning_SetHiLightDepress (uint32_t strength) |
Set highlight intensity controls. More... | |
int | IMP_ISP_Tuning_SetTemperStrength (uint32_t ratio) |
Set 3D noise reduction intensity. More... | |
int | IMP_ISP_Tuning_SetSinterStrength (uint32_t ratio) |
Set 2D noise reduction intensity. More... | |
int | IMP_ISP_Tuning_SetDPStrength (uint32_t ratio) |
Set DPC intensity. More... | |
int | IMP_ISP_Tuning_SetAntiFogAttr (IMPISPAntiFogAttr attr) |
Sets the attributes of antifog. More... | |
int | IMP_ISP_Tuning_GetEVAttr (IMPISPEVAttr *attr) |
Obtains the attributes of exposure value. More... | |
int | IMP_ISP_Tuning_EnableMovestate (void) |
When the sensor will motion, it should be called. More... | |
int | IMP_ISP_Tuning_DisableMovestate (void) |
When the sensor is from motion to still, it should be called. More... | |
int | IMP_ISP_Tuning_SetIntegrationTime (IMPISPITAttr *itattr) |
Set ISP Integration time attributes. More... | |
int | IMP_ISP_Tuning_GetIntegrationTime (IMPISPITAttr *itattr) |
Get ISP integration time attributes. More... | |
int | IMP_ISP_Tuning_SetAeWeight (IMPISPWeight *ae_weight) |
Set zone weighting for AE. More... | |
int | IMP_ISP_Tuning_GetAeWeight (IMPISPWeight *ae_weight) |
Get zone weighting for AE. More... | |
int | IMP_ISP_Tuning_SetAwbWeight (IMPISPWeight *awb_weight) |
Set zone weighting for AWB. More... | |
int | IMP_ISP_Tuning_GetAwbWeight (IMPISPWeight *awb_weight) |
Get zone weighting for AWB. More... | |
int | IMP_ISP_Tuning_SetAeHist (IMPISPAEHist *ae_hist) |
Set AE statistics parameters. More... | |
int | IMP_ISP_Tuning_GetAeHist (IMPISPAEHist *ae_hist) |
Get AE statistics information. More... | |
int | IMP_ISP_Tuning_GetAeZone (IMPISPAEZone *ae_zone) |
Get AE Statistics every block. More... | |
int | IMP_ISP_Tuning_GetAwbZone (IMPISPAWBZone *awb_zone) |
Get AWB Statistics every blcok。 More... | |
int | IMP_ISP_Tuning_SetAwbHist (IMPISPAWBHist *awb_hist) |
Set AWB statistic parameters. More... | |
int | IMP_ISP_Tuning_GetAfHist (IMPISPAFHist *af_hist) |
Set AF statistic parameters. More... | |
int | IMP_ISP_Tuning_SetAfHist (IMPISPAFHist *af_hist) |
Get AF statistics. More... | |
int | IMP_ISP_Tuning_WaitFrame (IMPISPWaitFrameAttr *attr) |
Wait frame done. More... | |
int | IMP_ISP_Tuning_SetMeshShadingScale (IMPISPMeshShadingScale scale) |
Set Mesh Shading Scale. More... | |
Image signal processing unit.
It contains several key function, for example, image effects setting, night scene, sensor's operations and so on.
ISP module is not related to the data flow, so no need to process Bind, Only used for effect parameters configuration and sensor controls.
The ISP manipulation is as follow:
The process which uninstall(disable)ISP is as follows:
There are more examples in the samples.
enum IMPISPAeStrategy |
ISP Anti-flicker property parameter structure.
enum IMPISPAntiFogAttr |
enum IMPISPColorfxMode |
enum IMPISPDrcMode |
ISP Dynamic range compression (DRC) mode.
enum IMPISPRunningMode |
enum IMPISPSceneMode |
Synthetical expansion function, scene mode selection.
enum IMPISPTemperMode |
enum IMPISPTuningMode |
enum IMPISPTuningOpsMode |
enum IMPISPTuningOpsType |
enum isp_core_expr_mode |
enum isp_core_expr_unit |
enum isp_core_wb_mode |
White balance mode.
int IMP_ISP_AddSensor | ( | IMPSensorInfo * | pinfo | ) |
Add a sensor into ISP module.
[in] | pinfo | The pointer for the sensor information. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Close | ( | void | ) |
Close the ISP module.
none |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_DelSensor | ( | IMPSensorInfo * | pinfo | ) |
Delete a sensor from ISP module.
[in] | pinfo | The pointer for the sensor information |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_DisableSensor | ( | void | ) |
Disable the running sensor.
none |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_DisableTuning | ( | void | ) |
Disable effect debugging of ISP.
none |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_EnableSensor | ( | void | ) |
Enable the registered sensor.
none |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_EnableTuning | ( | void | ) |
Enable effect debugging of ISP.
none |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_GetSensorRegister | ( | uint32_t | reg, |
uint32_t * | value | ||
) |
Obtain a value of the register of sensor.
[in] | reg | The address of the register. |
[in] | value | The pointer of register value. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Open | ( | void | ) |
Open the ISP module.
none |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_SetSensorRegister | ( | uint32_t | reg, |
uint32_t | value | ||
) |
Set the value of a register of a sensor.
[in] | reg | The address of the register. |
[in] | value | The value of the register. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_AE_GetROI | ( | IMPISPAERoi * | isp_ae_roi | ) |
Access to AE statistical area.
[out] | isp_ae_roi | The related pointer |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_AE_SetROI | ( | IMPISPAERoi * | isp_ae_roi | ) |
Set AE statistical area.
[out] | isp_ae_roi | The related pointer |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_Awb_GetCwfShift | ( | IMPISPWB * | isp_wb_attr | ) |
Get the position of the AWB's CWF light source in ISP.
[out] | isp_wb_attr | The pointer for the attributes |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_Awb_GetRgbCoefft | ( | IMPISPCOEFFTWB * | isp_core_rgb_coefft_wb_attr | ) |
Set the AWB r g b channel offset source in ISP.
[out] | isp_wb_attr | The pointer for the attributes |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_Awb_SetCwfShift | ( | IMPISPWB * | isp_wb_attr | ) |
Set the attributes of CWF light.
[out] | isp_wb_attr | The pointer for the attributes |
0 | means success. |
Other | values mean failure, its value is an error code. Example: |
int IMP_ISP_Tuning_Awb_SetRgbCoefft | ( | IMPISPCOEFFTWB * | isp_core_rgb_coefft_wb_attr | ) |
Sets the Max value of sensor color r g b.
[in] | gain | The value for sensor sensor color r g b.. |
0 | means success. |
Other | values mean failure, its value is an error code. |
IMP_ISP_Tuning_DisableMovestate | ( | void | ) |
When the sensor is from motion to still, it should be called.
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_EnableMovestate | ( | void | ) |
When the sensor will motion, it should be called.
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetAeComp | ( | int * | comp | ) |
Obtains the compensation of AE.
[out] | comp | The pointer of the compensation. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetAeHist | ( | IMPISPAEHist * | ae_hist | ) |
Get AE statistics information.
[out] | ae_hist | AE statistics |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetAeStrategy | ( | IMPISPAeStrategy * | pstrategy | ) |
Get ISP working mode, auto exposure policy configuration, normal mode or exposure priority mode.
[in] | pstrategy | The pointer of strategy. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetAeWeight | ( | IMPISPWeight * | ae_weight | ) |
Get zone weighting for AE.
[out] | ae_weight | aexp weight. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetAeZone | ( | IMPISPAEZone * | ae_zone | ) |
Get AE Statistics every block.
[out] | ae_zone | AE statistics every block。 |
0 | means success |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetAfHist | ( | IMPISPAFHist * | af_hist | ) |
Set AF statistic parameters.
[in] | af_hist | AF statistic parameters |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetAntiFlickerAttr | ( | IMPISPAntiflickerAttr * | pattr | ) |
Get the mode of antiflicker.
[in] | pattr | The pointer for antiflicker mode. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetAwbWeight | ( | IMPISPWeight * | awb_weight | ) |
Get zone weighting for AWB.
[out] | awb_weight | awb weight。 |
0 | means success. |
Other | values mean failure, its value is an error code. |
int int IMP_ISP_Tuning_GetAwbZone | ( | IMPISPAWBZone * | awb_zone | ) |
Get AWB Statistics every blcok。
[out] | awb_zone | AWB statistics every block |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetBrightness | ( | unsigned char * | pbright | ) |
Get the brightness of image effect.
[in] | pbright | The pointer for brightness value. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetColorfxMode | ( | IMPISPColorfxMode * | pmode | ) |
Get the color mode of image effect.
[in] | pmode | The pointer for color mode. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetContrast | ( | unsigned char * | pcontrast | ) |
Get the contrast of image effect.
[in] | pcontrast | The pointer for contrast. |
0 | means success. |
Other | value means failure, its value is an error code. |
int IMP_ISP_Tuning_GetEVAttr | ( | IMPISPEVAttr * | attr | ) |
Obtains the attributes of exposure value.
[out] | attr | The pointer for attributes. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetExpr | ( | IMPISPExpr * | expr | ) |
Get AE attributes.
[in] | expr | The pointer for exposure attributes. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetGamma | ( | IMPISPGamma * | gamma | ) |
Obtains the attributes of gamma.
[out] | gamma | The address of the attributes. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetIntegrationTime | ( | IMPISPITAttr * | itattr | ) |
Get ISP integration time attributes.
[out] | itattr | Integration time attribute. |
0 | 0 means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetISPHflip | ( | IMPISPTuningOpsMode * | pmode | ) |
Get ISP image mirror(horizontal) effect function (enable/disable)
[in] | pmode | The pointer for the hflip mode. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetISPHVflip | ( | IMPISPTuningOpsMode * | phmode, |
IMPISPTuningOpsMode * | pvmode | ||
) |
获取ISP图像H/V反转效果功能的操作状态
[in] | phmode | The pointer for hhe vflip mode. |
[in] | pvmode | The pointer for the vflip mode. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetISPRunningMode | ( | IMPISPRunningMode * | pmode | ) |
Get ISP running mode, normal mode or night vision mode;.
[in] | pmode | The pointer of the running mode. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetISPVflip | ( | IMPISPTuningOpsMode * | pmode | ) |
Get ISP image mirror(vertical) effect function (enable/disable)
[in] | pmode | The pointer for the vflip mode. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetMaxAgain | ( | uint32_t * | gain | ) |
Get the Max value of sensor analog gain.
[in] | gain | The pointer for sensor analog gain. The value of 0 corresponds to 1x gain, 32 corresponds to 2x gain and so on. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetMaxDgain | ( | uint32_t * | gain | ) |
Obtains the Max value of isp digital gain.
Get the Max value of sensor Digital gain.
[out] | gain | The pointer for isp digital gain. The value of 0 corresponds to 1x gain, 32 corresponds to 2x gain and so on. |
0 | means success. |
Other | values means failure, its value is an error code. |
[out] | gain | The pointer for sensor digital gain. The value of 0 corresponds to 1x gain, 32 corresponds to 2x gain and so on. |
0 | success |
others | failure |
int IMP_ISP_Tuning_GetRawDRC | ( | IMPISPDrcAttr * | pinfo | ) |
Get ISP RAW picture DRC attributes.
[in] | pinfo | The pointer for DRC attribute. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetSaturation | ( | unsigned char * | psat | ) |
Get the saturation of image effect.
[in] | psat | The pointer for saturation strength. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetSceneMode | ( | IMPISPSceneMode * | pmode | ) |
Get ISP synthetical effect scene mode.
[in] | pmode | The value for scene mode, the default value is auto. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetSensorFPS | ( | uint32_t * | fps_num, |
uint32_t * | fps_den | ||
) |
Get the FPS of enabled sensor.
[in] | fps_num | The pointer for numerator value of FPS. |
[in] | fps_den | The pointer for denominator value of FPS. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetSharpness | ( | unsigned char * | psharpness | ) |
Get the sharpness of image effect.
[in] | psharpness | The pointer for sharpness strength. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetSinterDnsAttr | ( | IMPISPSinterDenoiseAttr * | pinfo | ) |
Set the attributes of Spatial noise reduction module.
[in] | pinfo | The related pointer. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetTemperDnsAttr | ( | IMPISPTemperDenoiseAttr * | pinfo | ) |
Get the attribute(s) of noise reduction (for a certain amount of time) module.
[in] | pinfo | The related pointer |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetTotalGain | ( | uint32_t * | gain | ) |
Get the overall gain value of the ISP output image.
[in] | gain | The pointer of total gain value, its format is [24.8], 24 (integer), 8(decimal) |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetWB | ( | IMPISPWB * | wb | ) |
Get the white balance function settings.
[in] | wb | The pointer for WB attribute. |
0 | means success. |
Other | values mean failure, its value is an error code. |
IMP_ISP_Tuning_GetWB_Statis | ( | IMPISPWB * | wb | ) |
Get the white balance statistic value.
[out] | wb | The pointer for the statistic. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_GetWDRAttr | ( | IMPISPTuningOpsMode * | pmode | ) |
Get ISP wide dynamic module mode (enable/ disable)
[in] | pmode | The related pointer |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SaveAllParam | ( | char * | path | ) |
Saves all debugging parameters of ISP modules.
[in] | path | The pointer for the file path. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetAeComp | ( | int | comp | ) |
Setting AE compensation.AE compensation parameters can adjust the target of the image AE.
the recommended value range is from 90 to 150.
[in] | comp | compensation parameter. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetAeHist | ( | IMPISPAEHist * | ae_hist | ) |
Set AE statistics parameters.
[in] | ae_hist | AE statictics parameters. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetAeStrategy | ( | IMPISPAeStrategy | strategy | ) |
Set ISP working mode, auto exposure policy configuration, normal mode or exposure priority mode; default: normal mode.
[in] | strategy | The mode of auto exposure |
0 | means success. |
Other | values mean failure, its value is an error code. Example: |
int IMP_ISP_Tuning_SetAeWeight | ( | IMPISPWeight * | ae_weight | ) |
Set zone weighting for AE.
[in] | ae_weight | aexp weight. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetAfHist | ( | IMPISPAFHist * | af_hist | ) |
Get AF statistics.
[out] | af_hist | AF statistics parameters |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetAntiFlickerAttr | ( | IMPISPAntiflickerAttr | attr | ) |
Set the antiflicker parameter.
[in] | attr | The value for antiflicker mode |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetAntiFogAttr | ( | IMPISPAntiFogAttr | attr | ) |
Sets the attributes of antifog.
[in] | attr | The value for antifog intensity. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetAwbHist | ( | IMPISPAWBHist * | awb_hist | ) |
Set AWB statistic parameters.
Get AWB Statistics.
[in] | awb_hist | AWB statistic parameters |
0 | means success. |
Other | values mean failure, its value is an error code. |
[out] | awb_hist | AWB statistic |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetAwbWeight | ( | IMPISPWeight * | awb_weight | ) |
Set zone weighting for AWB.
[in] | awb_weight | awb weight. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetBrightness | ( | unsigned char | bright | ) |
Set the brightness of image effect.
[in] | bright | The value for brightness. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetColorfxMode | ( | IMPISPColorfxMode | mode | ) |
Set the color mode of image effect.
[in] | mode | the parameter for color mode, the default value is auto. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetContrast | ( | unsigned char | contrast | ) |
Set the contrast of image effect.
[in] | contrast | The value for contrast. |
0 | means success. |
Other | value means failure, its value is an error code. |
int IMP_ISP_Tuning_SetDPStrength | ( | uint32_t | ratio | ) |
Set DPC intensity.
[in] | ratio | Intensity modulation ratio. If it is set to 90, that means it is set to 90% 0f the default value. The value range is [50-150]. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetExpr | ( | IMPISPExpr * | expr | ) |
Set AE attributes.
[in] | expr | The pointer for exposure attributes. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetFWFreeze | ( | IMPISPTuningOpsMode | mode | ) |
Freeze ISP firmware operation.
Freeze the ISP firmware means that the ISP automatic algorithm will be stopped; If it is disabled, the ISP firmware can be said to work properly.
[in] | mode | ISP firmware freeze parameter. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetGamma | ( | IMPISPGamma * | gamma | ) |
Sets the attributes of ISP gamma.
[in] | gamma | The pointer of the attributes. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetHiLightDepress | ( | uint32_t | strength | ) |
Set highlight intensity controls.
[in] | strength | Highlight control parameter, the value range is [0-10], set to 0 means disable the current function. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetIntegrationTime | ( | IMPISPITAttr * | itattr | ) |
Set ISP Integration time attributes.
[in] | itattr | Integration time attribute. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetISPBypass | ( | IMPISPTuningOpsMode | enable | ) |
Control ISP modules.
[in] | enable | bypass output mode (yes / no) |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetISPHflip | ( | IMPISPTuningOpsMode | mode | ) |
Set ISP image mirror(horizontal) effect function (enable/disable)
[in] | mode | The hflip (enable/disable). |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetISPHVflip | ( | IMPISPTuningOpsMode | hmode, |
IMPISPTuningOpsMode | vmode | ||
) |
Set ISP image mirror(horizontal/vertical) effect function (enable/disable)
[in] | hmode | The hflip enable. |
[in] | vmode | The vflip enable. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetISPRunningMode | ( | IMPISPRunningMode | mode | ) |
Set ISP running mode, normal mode or night vision mode; default mode: normal mode.
[in] | mode | running mode parameter |
0 | means success. |
Other | values mean failure, its value is an error code. |
Example:
int IMP_ISP_Tuning_SetISPVflip | ( | IMPISPTuningOpsMode | mode | ) |
Set ISP image mirror(vertical) effect function (enable/disable)
[in] | mode | The vflip enable. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetMaxAgain | ( | uint32_t | gain | ) |
Sets the Max value of sensor analog gain.
[in] | gain | The value for sensor analog gain. The value of 0 corresponds to 1x gain, 32 corresponds to 2x gain and so on. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetMaxDgain | ( | uint32_t | gain | ) |
Set the Max value of sensor Digital gain.
[in] | gain | The pointer for sensor digital gain. The value of 0 corresponds to 1x gain, 32 corresponds to 2x gain and so on. |
0 | success |
others | failure |
[in] | gain | The value for isp digital gain. The value of 0 corresponds to 1x gain, 32 corresponds to 2x gain and so on. |
0 | means success. |
Other | values means failure, its value is an error code. |
int IMP_ISP_Tuning_SetMeshShadingScale | ( | IMPISPMeshShadingScale | scale | ) |
Set Mesh Shading Scale.
[out] | scale | Mesh Shading Scale |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetRawDRC | ( | IMPISPDrcAttr * | pinfo | ) |
Set ISP RAW picture DRC attributes.
[in] | pinfo | The pointer for DRC attribute. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetSaturation | ( | unsigned char | sat | ) |
Set the saturation of image effect.
[in] | sat | The value for saturation strength. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetSceneMode | ( | IMPISPSceneMode | mode | ) |
Set ISP synthetical effect scene mode.
[in] | mode | The value for scene mode, the default value is auto. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetSensorFPS | ( | uint32_t | fps_num, |
uint32_t | fps_den | ||
) |
Set the FPS of enabled sensor.
[in] | fps_num | The numerator value of FPS. |
[in] | fps_den | The denominator value of FPS. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetSharpness | ( | unsigned char | sharpness | ) |
Set the sharpness of image effect.
[in] | sharpness | The value for sharpening strength. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetSinterDnsAttr | ( | IMPISPSinterDenoiseAttr * | pinfo | ) |
Set the attributes of Spatial noise reduction module.
[in] | pinfo | The related pointer |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetSinterStrength | ( | uint32_t | ratio | ) |
Set 2D noise reduction intensity.
[in] | ratio | Intensity modulation ratio. If it is set to 90, that means it is set to 90% 0f the default value. The value range is [50-150]. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetTemperDnsAttr | ( | IMPISPTemperDenoiseAttr * | pinfo | ) |
Set the attribute(s) of noise reduction (for a certain amount of time) module.
[in] | pinfo | The pointer for temper attributes. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetTemperStrength | ( | uint32_t | ratio | ) |
Set 3D noise reduction intensity.
[in] | ratio | Intensity modulation ratio. If it is set to 90, that means it is set to 90% 0f the default value. The value range is [50-150]. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetVideoDrop | ( | void(*)(void) | cb | ) |
Set the video loss function.
When there is a problem with the connection line of the sensor board, the callback function will be executed.
[in] | cb | The pointer for callback function. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetWB | ( | IMPISPWB * | wb | ) |
Set the white balance function settings.
You can set the automatic and manual mode, manual mode is achieved mainly through setting of bgain, rgain.
[in] | wb | The pointer for WB attribute. |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_SetWDRAttr | ( | IMPISPTuningOpsMode | mode | ) |
Set ISP wide dynamic module mode (enable/ disable)
[in] | mode | The related mode |
0 | means success. |
Other | values mean failure, its value is an error code. |
int IMP_ISP_Tuning_WaitFrame | ( | IMPISPWaitFrameAttr * | attr | ) |
Wait frame done.
[out] | attr | frame done parameters |
0 | means success. |
Other | values mean failure, its value is an error code. |