MPI for DIP algorithms. More...
Data Structures | |
struct | MPI_AE_ROI_WEIGHT_S |
Structure for AE roi attribute. More... | |
struct | MPI_AE_DELAY_S |
Structure for AE delayed attribute. More... | |
struct | MPI_AE_ANTI_FLICKER_S |
Structure for AE anti-flicker attribute. More... | |
struct | MPI_AE_EXP_STRATEGY_S |
Structure for AE strategy attributes. More... | |
struct | MPI_AE_MANUAL_S |
Structure for manual mode AE attributes. More... | |
struct | MPI_AWB_COLOR_TEMP_BIAS_S |
struct | dip_roi_attr |
Structure for Dip roi attribute. More... | |
struct | MPI_AE_ATTR_S |
Structure for AE attributes. More... | |
struct | MPI_AWB_ATTR_S |
Structure for auto white balance attribure. More... | |
struct | MPI_CAL_ATTR_S |
Structure for device CAL module attribute. More... | |
struct | MPI_DCC_ATTR_S |
Structure for device color correction attribute. More... | |
struct | MPI_DBC_ATTR_S |
Structure for device block-level correction attribute. More... | |
struct | MPI_LSC_ATTR_S |
Structure for lens shadding correction attribute. More... | |
struct | MPI_ISO_AUTO_S |
Structure for automatic effective iso attribute. More... | |
struct | MPI_ISO_MANUAL_S |
Structure for manual effective iso attribute. More... | |
struct | MPI_ISO_ATTR_S |
Structure for effective iso attribute. More... | |
struct | MPI_PTA_AUTO_S |
Structure for automatic post tone enhancement attribute. More... | |
struct | MPI_PTA_MANUAL_S |
Structure for manual post tone enhancement attribute. More... | |
struct | MPI_PTA_ATTR_S |
Structure for post tone enhancement attribute. More... | |
struct | MPI_CSM_AUTO_S |
Structure for automatic color saturation attribute. More... | |
struct | MPI_CSM_MANUAL_S |
Structure for manual color saturation attribute. More... | |
struct | MPI_CSM_ATTR_S |
Structure for color saturation attribute. More... | |
struct | MPI_SHP_AUTO_S |
Structure for automatic sharpness attribute. More... | |
struct | MPI_SHP_MANUAL_S |
Structure for manual sharpness attribute. More... | |
struct | MPI_SHP_ATTR_S |
Structure for sharpness attribute. More... | |
struct | MPI_NR_AUTO_S |
Structure for automatic noise reduction attribute. More... | |
struct | MPI_NR_MANUAL_S |
Structure for manual noise reduction attribute. More... | |
struct | MPI_NR_ATTR_S |
Structure for noise reduction attribute. More... | |
struct | MPI_GAMMA_ATTR_S |
Structure for gamma attribute. More... | |
struct | MPI_TE_NORMAL_S |
Structure for tone enhancement attribute under normal mode. More... | |
struct | MPI_TE_WDR_S |
Structure for tone enhancement attribute under WDR mode. More... | |
struct | MPI_TE_ATTR_S |
Structure for tone enhancement attribute. More... | |
struct | MPI_DIP_ATTR_S |
Structure for DIP module attribute. More... | |
struct | MPI_EXPOSURE_INFO_S |
Defines the internal exposure status information. More... | |
struct | MPI_WHITE_BALANCE_INFO_S |
Defines the internal white balance status information. More... | |
struct | MPI_FOCUS_STAT_S |
Structure for focus statistics. More... | |
struct | MPI_DIP_STAT_S |
Structure for DIP statistics. More... | |
Macros | |
#define | AE_MANUAL_ENABLE_EXP_VALUE (0x1) |
#define | AE_MANUAL_ENABLE_INTTIME (0x2) |
#define | AE_MANUAL_ENABLE_SENSOR_GAIN (0x4) |
#define | AE_MANUAL_ENABLE_ISP_GAIN (0x8) |
#define | AE_MANUAL_ENABLE_SYS_GAIN (0x10) |
Typedefs | |
typedef struct dip_roi_attr | MPI_ROI_ATTR_S |
Structure for Dip roi attribute. | |
Enumerations | |
enum | MPI_AE_FPS_MODE_E { AE_FPS_DROP = 0, AE_FPS_FIXED, AE_FPS_NUM } |
Enumeration for AE frame rate behavior mode. More... | |
enum | MPI_PTA_MODE_E { PTA_NORMAL = 0, PTA_MANUAL, PTA_MODE_NUM } |
Enumeration for PTA frame rate behavior mode. More... | |
enum | MPI_GAMMA_MODE_E { GAMMA_BT709 = 0, GAMMA_CRT } |
Enumeration for gamma mode. More... | |
enum | MPI_TE_MODE_E { TE_NORMAL = 0, TE_WDR, TE_MODE_NUM } |
Enumeration for tone enhancement behavior mode. More... | |
enum | MPI_AE_EXP_STRATEGY_MODE_E { AE_EXP_NORMAL = 0, AE_EXP_HIGHLIGHT_PRIOR, AE_STRATEGY_NUM } |
Enumeration for AE exposure strategy mode. More... | |
Functions | |
INT32 | MPI_updateSnsParam (MPI_PATH idx) |
Obtain sensor related parameters. More... | |
INT32 | MPI_regAeDftLib (MPI_PATH idx) |
Registers the default AE algorithm library. More... | |
INT32 | MPI_regAwbDftLib (MPI_PATH idx) |
Registers the default AWB algorithm library. More... | |
INT32 | MPI_deregAeDftLib (MPI_PATH idx) |
Deregisters the AE default algorithm library. More... | |
INT32 | MPI_deregAwbDftLib (MPI_PATH idx) |
Deregisters the AWB default algorithm library. More... | |
INT32 | MPI_getRoiAttr (MPI_PATH idx, MPI_ROI_ATTR_S *attr) |
Get ROI attribute. More... | |
INT32 | MPI_getAeAttr (MPI_PATH idx, MPI_AE_ATTR_S *attr) |
Get Auto Exposure(AE) attribute. More... | |
INT32 | MPI_getNrAttr (MPI_PATH idx, MPI_NR_ATTR_S *attr) |
Get Noise Reduction(NR) attribute. More... | |
INT32 | MPI_getTeAttr (MPI_PATH idx, MPI_TE_ATTR_S *attr) |
Get Tone Enhancement(TE) attribute. More... | |
INT32 | MPI_getAwbAttr (MPI_PATH idx, MPI_AWB_ATTR_S *attr) |
Get Auto White Balance(AWB) attribute. More... | |
INT32 | MPI_getPtaAttr (MPI_PATH idx, MPI_PTA_ATTR_S *attr) |
Get Post Tone Enhancement(PTA) attribute. More... | |
INT32 | MPI_getCsmAttr (MPI_PATH idx, MPI_CSM_ATTR_S *attr) |
Get Color Saturation Management(CSM) attribute. More... | |
INT32 | MPI_getShpAttr (MPI_PATH idx, MPI_SHP_ATTR_S *attr) |
Get Sharpness(SHP) attribute. More... | |
INT32 | MPI_getDipAttr (MPI_PATH idx, MPI_DIP_ATTR_S *attr) |
Get Digital Image Processing(DIP) attribute. More... | |
INT32 | MPI_getGammaAttr (MPI_PATH idx, MPI_GAMMA_ATTR_S *attr) |
Get Gamma attribute. More... | |
INT32 | MPI_getIsoAttr (MPI_PATH idx, MPI_ISO_ATTR_S *attr) |
Get DIP effective iso(DIP_ISO) attribute. More... | |
INT32 | MPI_setRoiAttr (MPI_PATH idx, const MPI_ROI_ATTR_S *attr) |
Set ROI attribute. More... | |
INT32 | MPI_setAeAttr (MPI_PATH idx, const MPI_AE_ATTR_S *attr) |
Set Auto Exposure(AE) attribute. More... | |
INT32 | MPI_setTeAttr (MPI_PATH idx, const MPI_TE_ATTR_S *attr) |
Set Tone Enhancement(TE) attribute. More... | |
INT32 | MPI_setNrAttr (MPI_PATH idx, const MPI_NR_ATTR_S *attr) |
Set Noise Reduction(NR) attribute. More... | |
INT32 | MPI_setAwbAttr (MPI_PATH idx, const MPI_AWB_ATTR_S *attr) |
Set Auto White Balance(AWB) attribute. More... | |
INT32 | MPI_setPtaAttr (MPI_PATH idx, const MPI_PTA_ATTR_S *attr) |
Set Post Tone Enhancement(PTA) attribute. More... | |
INT32 | MPI_setCsmAttr (MPI_PATH idx, const MPI_CSM_ATTR_S *attr) |
Set Color Saturation Management(CSM) attribute. More... | |
INT32 | MPI_setShpAttr (MPI_PATH idx, const MPI_SHP_ATTR_S *attr) |
Set Sharpness(SHP) attribute. More... | |
INT32 | MPI_setDipAttr (MPI_PATH idx, const MPI_DIP_ATTR_S *attr) |
Set Digital Image Processing(DIP) attribute. More... | |
INT32 | MPI_setGammaAttr (MPI_PATH idx, const MPI_GAMMA_ATTR_S *attr) |
Set Gamma attribute. More... | |
INT32 | MPI_setIsoAttr (MPI_PATH idx, const MPI_ISO_ATTR_S *attr) |
Set DIP effective iso(DIP_ISO) attribute. More... | |
INT32 | MPI_getDbcAttr (MPI_PATH idx, MPI_DBC_ATTR_S *attr) |
Get Digital Black Correction(DBC) attribute. More... | |
INT32 | MPI_getDccAttr (MPI_PATH idx, MPI_DCC_ATTR_S *attr) |
Get Device Color Correction(DCC) attribute. More... | |
INT32 | MPI_getLscAttr (MPI_PATH idx, MPI_LSC_ATTR_S *attr) |
Get Lens Shading Correction(LSC) attribute. More... | |
INT32 | MPI_getCalAttr (MPI_PATH idx, MPI_CAL_ATTR_S *attr) |
Get Calibration enbale(CAL) attribute. More... | |
INT32 | MPI_setDbcAttr (MPI_PATH idx, const MPI_DBC_ATTR_S *attr) |
Set Digital Black Correction(DBC) attribute. More... | |
INT32 | MPI_setDccAttr (MPI_PATH idx, const MPI_DCC_ATTR_S *attr) |
Set Device Color Correction(DCC) attribute. More... | |
INT32 | MPI_setLscAttr (MPI_PATH idx, const MPI_LSC_ATTR_S *attr) |
Set Lens Shading Correction(LSC) attribute. More... | |
INT32 | MPI_setCalAttr (MPI_PATH idx, const MPI_CAL_ATTR_S *attr) |
Set Calibration enbale(CAL) attribute. More... | |
INT32 | MPI_queryExposureInfo (MPI_PATH idx, MPI_EXPOSURE_INFO_S *info) |
Query internal exposure status information. More... | |
INT32 | MPI_queryWhiteBalanceInfo (MPI_PATH idx, MPI_WHITE_BALANCE_INFO_S *info) |
Query internal white balance status information. More... | |
INT32 | MPI_setAeFps (MPI_PATH idx, const FLOAT fps, FLOAT *fps_out) |
set AE FPS More... | |
INT32 | MPI_getStatistics (MPI_PATH idx, MPI_DIP_STAT_S *stat) |
get DIP statistics. More... | |
INT32 | MPI_getWinShpAttr (MPI_WIN idx, MPI_SHP_ATTR_S *attr) |
Get window Sharpness(SHP) attribute. More... | |
INT32 | MPI_getWinNrAttr (MPI_WIN idx, MPI_NR_ATTR_S *attr) |
Get window Noise Reduction(NR) attribute. More... | |
INT32 | MPI_setWinShpAttr (MPI_WIN idx, const MPI_SHP_ATTR_S *attr) |
Set window Sharpness(SHP) attribute. More... | |
INT32 | MPI_setWinNrAttr (MPI_WIN idx, const MPI_NR_ATTR_S *attr) |
Set window Noise Reduction(NR) attribute. More... | |
MPI for DIP algorithms.
#define AE_MANUAL_ENABLE_EXP_VALUE (0x1) |
Toggle AE exposure value for manual mode
#define AE_MANUAL_ENABLE_INTTIME (0x2) |
Toggle AE manual integration time for manual mode
#define AE_MANUAL_ENABLE_ISP_GAIN (0x8) |
Toggle AE ISP gain for manual mode
#define AE_MANUAL_ENABLE_SENSOR_GAIN (0x4) |
Toggle AE sensore gain for manual mode
#define AE_MANUAL_ENABLE_SYS_GAIN (0x10) |
Toggle AE system gain for manual mode
enum MPI_AE_FPS_MODE_E |
enum MPI_GAMMA_MODE_E |
enum MPI_PTA_MODE_E |
enum MPI_TE_MODE_E |
Deregisters the AE default algorithm library.
[in] | idx | path index. |
Deregisters the AWB default algorithm library.
[in] | idx | path index. |
INT32 MPI_getAeAttr | ( | MPI_PATH | idx, |
MPI_AE_ATTR_S * | attr | ||
) |
Get Auto Exposure(AE) attribute.
[in] | idx | path index. |
[out] | attr | AE attribute. |
INT32 MPI_getAwbAttr | ( | MPI_PATH | idx, |
MPI_AWB_ATTR_S * | attr | ||
) |
Get Auto White Balance(AWB) attribute.
[in] | idx | path index. |
[out] | attr | AWB attribute. |
INT32 MPI_getCalAttr | ( | MPI_PATH | idx, |
MPI_CAL_ATTR_S * | attr | ||
) |
Get Calibration enbale(CAL) attribute.
[in] | idx | path index. |
[out] | attr | CAL attribute. |
INT32 MPI_getCsmAttr | ( | MPI_PATH | idx, |
MPI_CSM_ATTR_S * | attr | ||
) |
Get Color Saturation Management(CSM) attribute.
[in] | idx | path index. |
[out] | attr | CSM attribute. |
INT32 MPI_getDbcAttr | ( | MPI_PATH | idx, |
MPI_DBC_ATTR_S * | attr | ||
) |
Get Digital Black Correction(DBC) attribute.
[in] | idx | path index. |
[out] | attr | DBC attribute. |
INT32 MPI_getDccAttr | ( | MPI_PATH | idx, |
MPI_DCC_ATTR_S * | attr | ||
) |
Get Device Color Correction(DCC) attribute.
[in] | idx | path index. |
[out] | attr | DCC attribute. |
INT32 MPI_getDipAttr | ( | MPI_PATH | idx, |
MPI_DIP_ATTR_S * | attr | ||
) |
Get Digital Image Processing(DIP) attribute.
[in] | idx | path index. |
[out] | attr | DIP attribute. |
INT32 MPI_getGammaAttr | ( | MPI_PATH | idx, |
MPI_GAMMA_ATTR_S * | attr | ||
) |
Get Gamma attribute.
[in] | idx | path index. |
[out] | attr | Gamma attribute. |
INT32 MPI_getIsoAttr | ( | MPI_PATH | idx, |
MPI_ISO_ATTR_S * | attr | ||
) |
Get DIP effective iso(DIP_ISO) attribute.
[in] | idx | path index. |
[out] | attr | DIP_ISO attribute. |
INT32 MPI_getLscAttr | ( | MPI_PATH | idx, |
MPI_LSC_ATTR_S * | attr | ||
) |
Get Lens Shading Correction(LSC) attribute.
[in] | idx | path index. |
[out] | attr | LSC attribute. |
INT32 MPI_getNrAttr | ( | MPI_PATH | idx, |
MPI_NR_ATTR_S * | attr | ||
) |
Get Noise Reduction(NR) attribute.
[in] | idx | path index. |
[out] | attr | NR attribute. |
INT32 MPI_getPtaAttr | ( | MPI_PATH | idx, |
MPI_PTA_ATTR_S * | attr | ||
) |
Get Post Tone Enhancement(PTA) attribute.
[in] | idx | path index. |
[out] | attr | PTA attribute. |
INT32 MPI_getRoiAttr | ( | MPI_PATH | idx, |
MPI_ROI_ATTR_S * | attr | ||
) |
Get ROI attribute.
[in] | idx | path index. |
[out] | attr | ROI attribute. |
INT32 MPI_getShpAttr | ( | MPI_PATH | idx, |
MPI_SHP_ATTR_S * | attr | ||
) |
Get Sharpness(SHP) attribute.
[in] | idx | path index. |
[out] | attr | SHP attribute. |
INT32 MPI_getStatistics | ( | MPI_PATH | idx, |
MPI_DIP_STAT_S * | stat | ||
) |
get DIP statistics.
[in] | idx | path index. |
[in] | attr | statistics. |
INT32 MPI_getTeAttr | ( | MPI_PATH | idx, |
MPI_TE_ATTR_S * | attr | ||
) |
Get Tone Enhancement(TE) attribute.
[in] | idx | path index. |
[out] | attr | TE attribute. |
INT32 MPI_getWinNrAttr | ( | MPI_WIN | idx, |
MPI_NR_ATTR_S * | attr | ||
) |
Get window Noise Reduction(NR) attribute.
[in] | idx | window index. |
[out] | attr | NR attribute. |
INT32 MPI_getWinShpAttr | ( | MPI_WIN | idx, |
MPI_SHP_ATTR_S * | attr | ||
) |
Get window Sharpness(SHP) attribute.
[in] | idx | window index. |
[out] | attr | SHP attribute. |
INT32 MPI_queryExposureInfo | ( | MPI_PATH | idx, |
MPI_EXPOSURE_INFO_S * | info | ||
) |
Query internal exposure status information.
[in] | idx | path index. |
[out] | info | internal exposure status information. |
INT32 MPI_queryWhiteBalanceInfo | ( | MPI_PATH | idx, |
MPI_WHITE_BALANCE_INFO_S * | info | ||
) |
Query internal white balance status information.
[in] | idx | path index. |
[out] | attr | internal white balance status information. |
Registers the default AE algorithm library.
[in] | idx | path index. |
Registers the default AWB algorithm library.
[in] | idx | path index. |
INT32 MPI_setAeAttr | ( | MPI_PATH | idx, |
const MPI_AE_ATTR_S * | attr | ||
) |
Set Auto Exposure(AE) attribute.
[in] | idx | path index. |
[in] | attr | AE attribute. |
set AE FPS
[in] | idx | path index. |
[in] | fps | whish fps. |
[out] | fps_out | effective fps. |
INT32 MPI_setAwbAttr | ( | MPI_PATH | idx, |
const MPI_AWB_ATTR_S * | attr | ||
) |
Set Auto White Balance(AWB) attribute.
[in] | idx | path index. |
[in] | attr | AWB attribute. |
INT32 MPI_setCalAttr | ( | MPI_PATH | idx, |
const MPI_CAL_ATTR_S * | attr | ||
) |
Set Calibration enbale(CAL) attribute.
[in] | idx | path index. |
[in] | attr | CAL attribute. |
INT32 MPI_setCsmAttr | ( | MPI_PATH | idx, |
const MPI_CSM_ATTR_S * | attr | ||
) |
Set Color Saturation Management(CSM) attribute.
[in] | idx | path index. |
[in] | attr | CSM attribute. |
INT32 MPI_setDbcAttr | ( | MPI_PATH | idx, |
const MPI_DBC_ATTR_S * | attr | ||
) |
Set Digital Black Correction(DBC) attribute.
[in] | idx | path index. |
[in] | attr | DBC attribute. |
INT32 MPI_setDccAttr | ( | MPI_PATH | idx, |
const MPI_DCC_ATTR_S * | attr | ||
) |
Set Device Color Correction(DCC) attribute.
[in] | idx | path index. |
[in] | attr | DCC attribute. |
INT32 MPI_setDipAttr | ( | MPI_PATH | idx, |
const MPI_DIP_ATTR_S * | attr | ||
) |
Set Digital Image Processing(DIP) attribute.
[in] | idx | path index. |
[in] | attr | DIP attribute. |
INT32 MPI_setGammaAttr | ( | MPI_PATH | idx, |
const MPI_GAMMA_ATTR_S * | attr | ||
) |
Set Gamma attribute.
[in] | idx | path index. |
[in] | attr | Gamma attribute. |
INT32 MPI_setIsoAttr | ( | MPI_PATH | idx, |
const MPI_ISO_ATTR_S * | attr | ||
) |
Set DIP effective iso(DIP_ISO) attribute.
[in] | idx | path index. |
[in] | attr | DIP_ISO attribute. |
INT32 MPI_setLscAttr | ( | MPI_PATH | idx, |
const MPI_LSC_ATTR_S * | attr | ||
) |
Set Lens Shading Correction(LSC) attribute.
[in] | idx | path index. |
[in] | attr | LSC attribute. |
INT32 MPI_setNrAttr | ( | MPI_PATH | idx, |
const MPI_NR_ATTR_S * | attr | ||
) |
Set Noise Reduction(NR) attribute.
[in] | idx | path index. |
[in] | attr | NR attribute. |
INT32 MPI_setPtaAttr | ( | MPI_PATH | idx, |
const MPI_PTA_ATTR_S * | attr | ||
) |
Set Post Tone Enhancement(PTA) attribute.
[in] | idx | path index. |
[in] | attr | PTA attribute. |
INT32 MPI_setRoiAttr | ( | MPI_PATH | idx, |
const MPI_ROI_ATTR_S * | attr | ||
) |
Set ROI attribute.
[in] | idx | path index. |
[out] | attr | ROI attribute. |
INT32 MPI_setShpAttr | ( | MPI_PATH | idx, |
const MPI_SHP_ATTR_S * | attr | ||
) |
Set Sharpness(SHP) attribute.
[in] | idx | path index. |
[in] | attr | SHP attribute. |
INT32 MPI_setTeAttr | ( | MPI_PATH | idx, |
const MPI_TE_ATTR_S * | attr | ||
) |
Set Tone Enhancement(TE) attribute.
[in] | idx | path index. |
[in] | attr | TE attribute. |
INT32 MPI_setWinNrAttr | ( | MPI_WIN | idx, |
const MPI_NR_ATTR_S * | attr | ||
) |
Set window Noise Reduction(NR) attribute.
[in] | idx | window index. |
[in] | attr | NR attribute. |
INT32 MPI_setWinShpAttr | ( | MPI_WIN | idx, |
const MPI_SHP_ATTR_S * | attr | ||
) |
Set window Sharpness(SHP) attribute.
[in] | idx | window index. |
[in] | attr | SHP attribute. |