MPI for DIP algorithms. More...
#include "mpi_dip_sns.h"
Data Structures | |
struct | MPI_AE_ROI_WEIGHT_S |
Structure for parameters of weight distribution of AE metering. More... | |
struct | MPI_AE_DELAY_S |
Structure for parameters of AE delayed. More... | |
struct | MPI_AE_ANTI_FLICKER_S |
Structure for parameters of AE anti-flicker. More... | |
struct | MPI_AE_EXP_STRATEGY_S |
Structure for parameters of AE exposure strategy. More... | |
struct | MPI_AE_MANUAL_S |
Structure for parameters of AE manual mode. More... | |
struct | MPI_AWB_COLOR_TEMP_BIAS_S |
Structure for parameters of AWB color temperature bias. More... | |
struct | MPI_ROI_ATTR_S |
Defines the region of interest(ROI) attribute. More... | |
struct | MPI_AE_ZONE_WEIGHT_TABLE_S |
Structure for parameters of AE zone weight table. More... | |
struct | MPI_AE_ATTR_S |
Defines auto exposure(AE) attribute. More... | |
struct | MPI_AWB_ATTR_S |
Defines auto white balance(AWB) attribure. More... | |
struct | MPI_CAL_ATTR_S |
Defines calibration(CAL) module attribute. More... | |
struct | MPI_DCC_ATTR_S |
Defines device color correction(DCC) attribute. More... | |
struct | MPI_DBC_BLACK_LEVLE_S |
Structure for parameters of DBC black level. More... | |
struct | MPI_DBC_MANUAL_S |
Structure for parameters of manual dbc. More... | |
struct | MPI_DBC_AUTO_S |
Structure for parameters of auto dbc. More... | |
struct | MPI_DBC_ATTR_S |
Defines device black-level correction(DBC) attribute. More... | |
struct | MPI_LSC_ATTR_S |
Defines lens shadding correction(LSC) attribute. More... | |
struct | MPI_ISO_AUTO_S |
Structure for parameters of automatic effective iso. More... | |
struct | MPI_ISO_MANUAL_S |
Structure for parameters of manual effective iso. More... | |
struct | MPI_ISO_DAA_S |
Structure of attributes for Distortion-aware Adaptation controls. More... | |
struct | MPI_ISO_ATTR_S |
Defines effective iso attribute. More... | |
struct | MPI_PTA_AUTO_S |
Structure for paramters of automatic post tone adjustment. More... | |
struct | MPI_PTA_MANUAL_S |
Structure for paramters of manual post tone adjustment. More... | |
struct | MPI_PTA_ATTR_S |
Defines post tone adjustment(PTA) attribute. More... | |
struct | MPI_CSM_AUTO_S |
Structure for paramters of automatic color saturation. More... | |
struct | MPI_CSM_MANUAL_S |
Structure for paramters of manual color saturation. More... | |
struct | MPI_CST_MATRIX_S |
Structure of CST matrix used for convert RGB to YUV. More... | |
struct | MPI_CSM_ATTR_S |
Defines color saturation management(CSM) attribute. More... | |
struct | MPI_SHP_AUTO_S |
Structure for paramters of automatic sharpness. More... | |
struct | MPI_SHP_MANUAL_S |
Structure for paramters of manual sharpness. More... | |
struct | MPI_SHP_ATTR_S |
Defines sharpness(SHP) attribute. More... | |
struct | MPI_SHP_AUTO_V2_S |
Structure for paramters of automatic sharpness V2. More... | |
struct | MPI_SHP_MANUAL_V2_S |
Structure for paramters of manual sharpness V2. More... | |
struct | MPI_SHP_TRANSFER_CURVE_S |
Structure for parameters of SHP transfer curve. More... | |
struct | MPI_SHP_LUMA_CTRL_GAIN_S |
Structure for parameters of SHP luma control gain. More... | |
struct | MPI_SHP_EX_AUTO_S |
Structure for parameters of auto extend type SHP . More... | |
struct | MPI_SHP_EX_MANUAL_S |
Structure for parameters of manual extend type SHP. More... | |
struct | MPI_SHP_ATTR_V2_S |
Define sharpness V2(SHP_V2) attribute. More... | |
struct | MPI_NR_AUTO_S |
Structure for paramters of automatic noise reduction. More... | |
struct | MPI_NR_MANUAL_S |
Structure for paramters of manual noise reduction. More... | |
struct | MPI_NR_ATTR_S |
Defines noise reduction(NR) attribute. More... | |
struct | MPI_CORING_AUTO_S |
Structure for paramters of automatic coring. More... | |
struct | MPI_CORING_MANUAL_S |
Structure for paramters of manual coring. More... | |
struct | MPI_CORING_ATTR_S |
Defines coring(CORING) attribute. More... | |
struct | MPI_GAMMA_CURVE_S |
Structure of the gamma curve for manual mode. More... | |
struct | MPI_GAMMA_ATTR_S |
Defines gamma(GAMMA) attribute. More... | |
struct | MPI_ENH_AUTO_S |
Structure for paramters of automatic enhancement. More... | |
struct | MPI_ENH_MANUAL_S |
Structure for paramters of manual enhancement. More... | |
struct | MPI_ENH_ATTR_S |
Defines enhancement(ENH) attribute. More... | |
struct | MPI_TE_NORMAL_S |
Structure for tone enhancement under normal mode. More... | |
struct | MPI_TE_WDR_S |
Structure for tone enhancement under WDR mode. More... | |
struct | MPI_TE_WDR_AUTO_S |
Structure for tone enhancement under WDR auto mode. More... | |
struct | MPI_TE_ADAPT_S |
Structure for tone enhancement under the Adaptive Mode. More... | |
struct | MPI_TE_ATTR_S |
Defines tone enhancement(TE) attribute. More... | |
struct | MPI_HDR_SYNTH_WEIGHT_S |
Structure for high dynamic range synthesis weight. More... | |
struct | MPI_HDR_SYNTH_ATTR_S |
Defines high dynamic range synthesis(HDR_SYNTH) attribute. More... | |
struct | MPI_DIP_ATTR_S |
Defines 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_TE_INFO_S |
Defines the internal tone enhancement status information. More... | |
struct | MPI_FOCUS_STAT_S |
Structure for focus statistics. More... | |
struct | MPI_WB_STAT_S |
Structure of white balance statistics. More... | |
struct | MPI_AE_STAT_S |
Structure of auto exposure statistics. More... | |
struct | MPI_DIP_STAT_S |
Defines DIP statistics. More... | |
struct | MPI_WB_STAT_CFG_S |
Structure of white balance statistics configurations. More... | |
struct | MPI_STAT_CFG_S |
Structure of different MPI statistics configurations. More... | |
struct | MPI_PCA_TABLE_S |
Defines preference color adjustment(PCA) table. More... | |
struct | MPI_FCS_AUTO_S |
Structure for paramters of automatic false color suppression. More... | |
struct | MPI_FCS_MANUAL_S |
Structure for paramters of manual sharpness. More... | |
struct | MPI_FCS_ATTR_S |
Defines false color suppression(FCS) attribute. More... | |
struct | MPI_DHZ_AUTO_S |
Structure for paramters of automatic dehaze. More... | |
struct | MPI_DHZ_MANUAL_S |
Structure for paramters of manual dehaze. More... | |
struct | MPI_DHZ_ATTR_S |
Define Dehaze (DHZ) attributes. 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) |
#define | MPI_WB_RB_POINT_NUM (5) |
#define | MPI_SHP_TRANSFER_CURVE_CTRL_POINT_NUM (6) |
#define | MPI_SHP_LUMA_CTRL_GAIN_POINT_NUM (11) |
Enumerations | |
enum | MPI_AE_FPS_MODE_E { AE_FPS_DROP = 0, AE_FPS_FIXED, AE_FPS_NUM } |
Enumeration of AE frame rate mode. More... | |
enum | MPI_PTA_MODE_E { PTA_NORMAL = 0, PTA_MANUAL, PTA_MODE_NUM } |
Enumeration of PTA mode. More... | |
enum | MPI_GAMMA_MODE_E { GAMMA_BT709 = 0, GAMMA_CRT, GAMMA_MANUAL, GAMMA_MODE_NUM } |
Enumeration of gamma mode. More... | |
enum | MPI_TE_MODE_E { TE_NORMAL = 0, TE_WDR, TE_WDR_AUTO, TE_ADAPT, TE_MODE_NUM } |
Enumeration of tone enhancement mode. More... | |
enum | MPI_AE_EXP_STRATEGY_MODE_E { AE_EXP_NORMAL = 0, AE_EXP_HIGHLIGHT_PRIOR, AE_STRATEGY_NUM } |
Enumeration of AE exposure strategy mode. More... | |
enum | MPI_AE_ZONE_WEIGHT_TABLE_MODE_E { MPI_AE_ZONE_WEIGHT_TABLE_MODE_AVG = 0, MPI_AE_ZONE_WEIGHT_TABLE_MODE_CENTRAL, MPI_AE_ZONE_WEIGHT_TABLE_MODE_SPOT, MPI_AE_ZONE_WEIGHT_TABLE_MODE_MANUAL, MPI_AE_ZONE_WEIGHT_TABLE_MODE_NUM } |
Enumeration of AE zone weight table mode. More... | |
enum | MPI_DBC_TYPE_E { DBC_TYPE_CHN_SAME_BLACK_LEVEL = 0, DBC_TYPE_CHN_IND_BLACK_LEVEL, DEC_TYPE_NUM } |
Enumeration of device black-level correction algorithm opreating type. More... | |
enum | MPI_ISO_TYPE_E { MPI_ISO_VER_0 = 0, MPI_ISO_VER_1 = 1 } |
Enumeration of iso definition. More... | |
enum | MPI_SHP_TYPE_E { SHP_TYPE = 0, SHP_TYPE_EX, SHP_TYPE_NUM } |
Enumeration of SHP algorithm operating type. More... | |
enum | MPI_NR_LUT_TYPE_E { NR_LUT_TYPE_0 = 0, NR_LUT_TYPE_1, NR_LUT_TYPE_2, NR_LUT_TYPE_3, NR_LUT_TYPE_NUM } |
Enumeration of NR look-up table type. More... | |
enum | MPI_TE_DRI_TYPE_E { TE_DRI_TYPE_GAMMA_DOMAIN_HIST_CV, TE_DRI_TYPE_LINEAR_DOMAIN_HIST_CV, TE_DRI_TYPE_NUM } |
Enumeration of tone enhancement dynamic range index type. More... | |
enum | MPI_TE_ADAPT_BASED_TYPE_E { TE_ADAPT_NL_BASED = 0, TE_ADAPT_INTTIME_BASED, TE_ADAPT_EV_BASED, TE_ADAPT_BASED_TYPE_RSV, TE_ADAPT_BASED_TYPE_NUM } |
Enumeration of methods for determining attributes in the Adaptive Mode of TE. 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_getShpAttrV2 (MPI_PATH idx, MPI_SHP_ATTR_V2_S *attr) |
Get Sharpness(SHP_V2) attribute. More... | |
INT32 | MPI_getDipAttr (MPI_PATH idx, MPI_DIP_ATTR_S *attr) |
Get Digital Image Processing enable(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_getEnhAttr (MPI_PATH idx, MPI_ENH_ATTR_S *attr) |
Get Enhancement(ENH) attribute. More... | |
INT32 | MPI_getCoringAttr (MPI_PATH idx, MPI_CORING_ATTR_S *attr) |
Get coring(CORING) attribute. More... | |
INT32 | MPI_getHdrSynthAttr (MPI_PATH idx, MPI_HDR_SYNTH_ATTR_S *attr) |
Get High Dynamic Range Synthesis(HDR_SYNTH) attribute. More... | |
INT32 | MPI_getFcsAttr (MPI_PATH idx, MPI_FCS_ATTR_S *attr) |
Get False Color Suppression(FCS) attribute. More... | |
INT32 | MPI_getDhzAttr (MPI_PATH idx, MPI_DHZ_ATTR_S *attr) |
Get Dehaze (DHZ) 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_setShpAttrV2 (MPI_PATH idx, const MPI_SHP_ATTR_V2_S *attr) |
Set Sharpness(SHP_V2) attribute. More... | |
INT32 | MPI_setDipAttr (MPI_PATH idx, const MPI_DIP_ATTR_S *attr) |
Set Digital Image Processing(DIP) enable 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_setEnhAttr (MPI_PATH idx, const MPI_ENH_ATTR_S *attr) |
Set Enhancement(ENH) attribute. More... | |
INT32 | MPI_setCoringAttr (MPI_PATH idx, const MPI_CORING_ATTR_S *attr) |
Set coring(CORING) attribute. More... | |
INT32 | MPI_setHdrSynthAttr (MPI_PATH idx, const MPI_HDR_SYNTH_ATTR_S *attr) |
Set High Dynamic Range Synthesis(HDR_SYNTH) attribute. More... | |
INT32 | MPI_setFcsAttr (MPI_PATH idx, const MPI_FCS_ATTR_S *attr) |
Set False Color Suppression(FCS) attribute. More... | |
INT32 | MPI_setDhzAttr (MPI_PATH idx, const MPI_DHZ_ATTR_S *attr) |
Set Dehaze (DHZ) 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_queryTeInfo (MPI_PATH idx, MPI_TE_INFO_S *info) |
Query internal tone enhancement 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_getStatisticsConfig (MPI_PATH idx, MPI_STAT_CFG_S *stat_config) |
get DIP statistics configs. More... | |
INT32 | MPI_setStatisticsConfig (MPI_PATH idx, const MPI_STAT_CFG_S *stat_config) |
set DIP statistics configs. More... | |
INT32 | MPI_getPcaTable (MPI_PATH idx, MPI_PCA_TABLE_S *table) |
Get Preference Color Adjustment(PCA) table. More... | |
INT32 | MPI_setPcaTable (MPI_PATH idx, const MPI_PCA_TABLE_S *table) |
Set Preference Color Adjustment(PCA) table. More... | |
INT32 | MPI_getWinShpAttr (MPI_WIN idx, MPI_SHP_ATTR_S *attr) |
Get window Sharpness(SHP) attribute. More... | |
INT32 | MPI_getWinShpAttrV2 (MPI_WIN idx, MPI_SHP_ATTR_V2_S *attr) |
Get window Sharpness(SHP_V2) 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_setWinShpAttrV2 (MPI_WIN idx, const MPI_SHP_ATTR_V2_S *attr) |
Set window Sharpness(SHP_V2) 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.
#define MPI_SHP_LUMA_CTRL_GAIN_POINT_NUM (11) |
Number of luma control gain points in Sharpness
#define MPI_SHP_TRANSFER_CURVE_CTRL_POINT_NUM (6) |
Number of transfer curve control points in Sharpness
#define MPI_WB_RB_POINT_NUM (5) |
Number of points in the White Balance statistics setting.
enum MPI_AE_FPS_MODE_E |
Enumeration of AE zone weight table mode.
enum MPI_DBC_TYPE_E |
enum MPI_GAMMA_MODE_E |
enum MPI_ISO_TYPE_E |
enum MPI_NR_LUT_TYPE_E |
enum MPI_PTA_MODE_E |
enum MPI_SHP_TYPE_E |
Enumeration of methods for determining attributes in the Adaptive Mode of TE.
enum MPI_TE_DRI_TYPE_E |
Enumeration of tone enhancement dynamic range index type.
enum MPI_TE_MODE_E |
Deregisters the AE default algorithm library.
[in] | idx | Index of the input path. |
MPI_SUCCESS | success |
others | failure |
Deregisters the AWB default algorithm library.
[in] | idx | Index of the input path. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getAeAttr | ( | MPI_PATH | idx, |
MPI_AE_ATTR_S * | ae_attr | ||
) |
Get Auto Exposure(AE) attribute.
[in] | idx | Index of the input path. |
[out] | attr | AE attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getAwbAttr | ( | MPI_PATH | idx, |
MPI_AWB_ATTR_S * | awb_attr | ||
) |
Get Auto White Balance(AWB) attribute.
[in] | idx | Index of the input path. |
[out] | attr | AWB attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getCalAttr | ( | MPI_PATH | idx, |
MPI_CAL_ATTR_S * | cal_attr | ||
) |
Get Calibration enbale(CAL) attribute.
[in] | idx | path index. |
[out] | attr | CAL attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getCoringAttr | ( | MPI_PATH | idx, |
MPI_CORING_ATTR_S * | coring_attr | ||
) |
Get coring(CORING) attribute.
[in] | idx | Index of the input path. |
[out] | attr | CORING attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getCsmAttr | ( | MPI_PATH | idx, |
MPI_CSM_ATTR_S * | csm_attr | ||
) |
Get Color Saturation Management(CSM) attribute.
[in] | idx | Index of the input path. |
[out] | attr | CSM attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getDbcAttr | ( | MPI_PATH | idx, |
MPI_DBC_ATTR_S * | dbc_attr | ||
) |
Get Digital Black Correction(DBC) attribute.
[in] | idx | path index. |
[out] | attr | DBC attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getDccAttr | ( | MPI_PATH | idx, |
MPI_DCC_ATTR_S * | dcc_attr | ||
) |
Get Device Color Correction(DCC) attribute.
[in] | idx | path index. |
[out] | attr | DCC attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getDhzAttr | ( | MPI_PATH | idx, |
MPI_DHZ_ATTR_S * | dhz_attr | ||
) |
Get Dehaze (DHZ) attribute.
[in] | idx | Index of the input path. |
[out] | attr | DHZ attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getDipAttr | ( | MPI_PATH | idx, |
MPI_DIP_ATTR_S * | dip_attr | ||
) |
Get Digital Image Processing enable(DIP) attribute.
[in] | idx | Index of the input path. |
[out] | attr | DIP attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getEnhAttr | ( | MPI_PATH | idx, |
MPI_ENH_ATTR_S * | enh_attr | ||
) |
Get Enhancement(ENH) attribute.
[in] | idx | Index of the input path. |
[out] | attr | ENH attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getFcsAttr | ( | MPI_PATH | idx, |
MPI_FCS_ATTR_S * | fcs_attr | ||
) |
Get False Color Suppression(FCS) attribute.
[in] | idx | Index of the input path. |
[out] | attr | FCS attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getGammaAttr | ( | MPI_PATH | idx, |
MPI_GAMMA_ATTR_S * | gamma_attr | ||
) |
Get Gamma attribute.
[in] | idx | Index of the input path. |
[out] | attr | Gamma attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getHdrSynthAttr | ( | MPI_PATH | idx, |
MPI_HDR_SYNTH_ATTR_S * | hdr_synth_attr | ||
) |
Get High Dynamic Range Synthesis(HDR_SYNTH) attribute.
[in] | idx | Index of the input path. |
[out] | attr | HDR_SYNTH attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getIsoAttr | ( | MPI_PATH | idx, |
MPI_ISO_ATTR_S * | iso_attr | ||
) |
Get DIP effective iso(DIP_ISO) attribute.
[in] | idx | Index of the input path. |
[out] | attr | DIP_ISO attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getLscAttr | ( | MPI_PATH | idx, |
MPI_LSC_ATTR_S * | lsc_attr | ||
) |
Get Lens Shading Correction(LSC) attribute.
[in] | idx | path index. |
[out] | attr | LSC attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getNrAttr | ( | MPI_PATH | idx, |
MPI_NR_ATTR_S * | nr_attr | ||
) |
Get Noise Reduction(NR) attribute.
[in] | idx | Index of the input path. |
[out] | attr | NR attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getPcaTable | ( | MPI_PATH | idx, |
MPI_PCA_TABLE_S * | pca_table | ||
) |
Get Preference Color Adjustment(PCA) table.
[in] | idx | path index. |
[out] | table | PCA table. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getPtaAttr | ( | MPI_PATH | idx, |
MPI_PTA_ATTR_S * | pta_attr | ||
) |
Get Post Tone Enhancement(PTA) attribute.
[in] | idx | Index of the input path. |
[out] | attr | PTA attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getRoiAttr | ( | MPI_PATH | idx, |
MPI_ROI_ATTR_S * | roi_attr | ||
) |
Get ROI attribute.
[in] | idx | Index of the input path. |
[out] | attr | ROI attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getShpAttr | ( | MPI_PATH | idx, |
MPI_SHP_ATTR_S * | shp_attr | ||
) |
Get Sharpness(SHP) attribute.
[in] | idx | Index of the input path. |
[out] | attr | SHP attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getShpAttrV2 | ( | MPI_PATH | idx, |
MPI_SHP_ATTR_V2_S * | shp_attr_v2 | ||
) |
Get Sharpness(SHP_V2) attribute.
[in] | idx | Index of the input path. |
[out] | attr | SHP_V2 attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getStatistics | ( | MPI_PATH | idx, |
MPI_DIP_STAT_S * | stat | ||
) |
get DIP statistics.
This function can be used to get the statistics of the input image given by our underlying statistics system. The statistics system can be configured to get a more preferrable outcome.
[in] | idx | path index of the video system. |
[in] | stat | pointer of the statistics data structure that will be filled. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getStatisticsConfig | ( | MPI_PATH | idx, |
MPI_STAT_CFG_S * | stat_config | ||
) |
get DIP statistics configs.
This function can be used to get the statistics configs of our statistics system.
[in] | idx | path index of the video system. |
[in] | stat_config | pointer to MPI_STAT_CFG_S that will be filled. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getTeAttr | ( | MPI_PATH | idx, |
MPI_TE_ATTR_S * | te_attr | ||
) |
Get Tone Enhancement(TE) attribute.
[in] | idx | Index of the input path. |
[out] | attr | TE attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getWinNrAttr | ( | MPI_WIN | idx, |
MPI_NR_ATTR_S * | win_nr_attr | ||
) |
Get window Noise Reduction(NR) attribute.
[in] | idx | window index. |
[out] | attr | NR attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getWinShpAttr | ( | MPI_WIN | idx, |
MPI_SHP_ATTR_S * | win_shp_attr | ||
) |
Get window Sharpness(SHP) attribute.
[in] | idx | window index. |
[out] | attr | SHP attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_getWinShpAttrV2 | ( | MPI_WIN | idx, |
MPI_SHP_ATTR_V2_S * | win_shp_attr_v2 | ||
) |
Get window Sharpness(SHP_V2) attribute.
[in] | idx | window index. |
[out] | attr | SHP_V2 attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_queryExposureInfo | ( | MPI_PATH | idx, |
MPI_EXPOSURE_INFO_S * | exposure_info | ||
) |
Query internal exposure status information.
[in] | idx | Index of the input path. |
[out] | info | internal exposure status information. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_queryTeInfo | ( | MPI_PATH | idx, |
MPI_TE_INFO_S * | te_info | ||
) |
Query internal tone enhancement status information.
[in] | idx | Index of the input path. |
[out] | info | internal tone enhancement status information. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_queryWhiteBalanceInfo | ( | MPI_PATH | idx, |
MPI_WHITE_BALANCE_INFO_S * | awb_info | ||
) |
Query internal white balance status information.
[in] | idx | Index of the input path. |
[out] | info | internal white balance status information. |
MPI_SUCCESS | success |
others | failure |
Registers the default AE algorithm library.
[in] | idx | Index of the input path. |
MPI_SUCCESS | success |
others | failure |
Registers the default AWB algorithm library.
[in] | idx | Index of the input path. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setAeAttr | ( | MPI_PATH | idx, |
const MPI_AE_ATTR_S * | ae_attr | ||
) |
Set Auto Exposure(AE) attribute.
[in] | idx | Index of the input path. |
[in] | attr | AE attribute. |
MPI_SUCCESS | success |
others | failure |
set AE FPS
[in] | idx | Index of the input path. |
[in] | fps | whish fps. |
[out] | fps_out | effective fps. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setAwbAttr | ( | MPI_PATH | idx, |
const MPI_AWB_ATTR_S * | awb_attr | ||
) |
Set Auto White Balance(AWB) attribute.
[in] | idx | Index of the input path. |
[in] | attr | AWB attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setCalAttr | ( | MPI_PATH | idx, |
const MPI_CAL_ATTR_S * | cal_attr | ||
) |
Set Calibration enbale(CAL) attribute.
[in] | idx | Index of the input path. |
[in] | attr | CAL attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setCoringAttr | ( | MPI_PATH | idx, |
const MPI_CORING_ATTR_S * | coring_attr | ||
) |
Set coring(CORING) attribute.
[in] | idx | Index of the input path. |
[in] | attr | CORING attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setCsmAttr | ( | MPI_PATH | idx, |
const MPI_CSM_ATTR_S * | csm_attr | ||
) |
Set Color Saturation Management(CSM) attribute.
[in] | idx | Index of the input path. |
[in] | attr | CSM attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setDbcAttr | ( | MPI_PATH | idx, |
const MPI_DBC_ATTR_S * | dbc_attr | ||
) |
Set Digital Black Correction(DBC) attribute.
[in] | idx | Index of the input path. |
[in] | attr | DBC attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setDccAttr | ( | MPI_PATH | idx, |
const MPI_DCC_ATTR_S * | dcc_attr | ||
) |
Set Device Color Correction(DCC) attribute.
[in] | idx | Index of the input path. |
[in] | attr | DCC attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setDhzAttr | ( | MPI_PATH | idx, |
const MPI_DHZ_ATTR_S * | dhz_attr | ||
) |
Set Dehaze (DHZ) attribute.
[in] | idx | Index of the input path. |
[in] | attr | DHZ attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setDipAttr | ( | MPI_PATH | idx, |
const MPI_DIP_ATTR_S * | dip_attr | ||
) |
Set Digital Image Processing(DIP) enable attribute.
[in] | idx | Index of the input path. |
[in] | attr | DIP attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setEnhAttr | ( | MPI_PATH | idx, |
const MPI_ENH_ATTR_S * | enh_attr | ||
) |
Set Enhancement(ENH) attribute.
[in] | idx | Index of the input path. |
[in] | attr | ENH attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setFcsAttr | ( | MPI_PATH | idx, |
const MPI_FCS_ATTR_S * | fcs_attr | ||
) |
Set False Color Suppression(FCS) attribute.
[in] | idx | Index of the input path. |
[in] | attr | FCS attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setGammaAttr | ( | MPI_PATH | idx, |
const MPI_GAMMA_ATTR_S * | gamma_attr | ||
) |
Set Gamma attribute.
[in] | idx | Index of the input path. |
[in] | attr | Gamma attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setHdrSynthAttr | ( | MPI_PATH | idx, |
const MPI_HDR_SYNTH_ATTR_S * | hdr_synth_attr | ||
) |
Set High Dynamic Range Synthesis(HDR_SYNTH) attribute.
[in] | idx | Index of the input path. |
[in] | attr | HDR_SYNTH attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setIsoAttr | ( | MPI_PATH | idx, |
const MPI_ISO_ATTR_S * | iso_attr | ||
) |
Set DIP effective iso(DIP_ISO) attribute.
[in] | idx | Index of the input path. |
[in] | attr | DIP_ISO attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setLscAttr | ( | MPI_PATH | idx, |
const MPI_LSC_ATTR_S * | lsc_attr | ||
) |
Set Lens Shading Correction(LSC) attribute.
[in] | idx | Index of the input path. |
[in] | attr | LSC attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setNrAttr | ( | MPI_PATH | idx, |
const MPI_NR_ATTR_S * | nr_attr | ||
) |
Set Noise Reduction(NR) attribute.
[in] | idx | Index of the input path. |
[in] | attr | NR attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setPcaTable | ( | MPI_PATH | idx, |
const MPI_PCA_TABLE_S * | pca_table | ||
) |
Set Preference Color Adjustment(PCA) table.
[in] | idx | Index of the input path. |
[in] | table | PCA table. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setPtaAttr | ( | MPI_PATH | idx, |
const MPI_PTA_ATTR_S * | pta_attr | ||
) |
Set Post Tone Enhancement(PTA) attribute.
[in] | idx | Index of the input path. |
[in] | attr | PTA attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setRoiAttr | ( | MPI_PATH | idx, |
const MPI_ROI_ATTR_S * | roi_attr | ||
) |
Set ROI attribute.
[in] | idx | Index of the input path. |
[out] | attr | ROI attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setShpAttr | ( | MPI_PATH | idx, |
const MPI_SHP_ATTR_S * | shp_attr | ||
) |
Set Sharpness(SHP) attribute.
[in] | idx | Index of the input path. |
[in] | attr | SHP attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setShpAttrV2 | ( | MPI_PATH | idx, |
const MPI_SHP_ATTR_V2_S * | shp_attr_v2 | ||
) |
Set Sharpness(SHP_V2) attribute.
[in] | idx | Index of the input path. |
[in] | attr | SHP_V2 attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setStatisticsConfig | ( | MPI_PATH | idx, |
const MPI_STAT_CFG_S * | stat_config | ||
) |
set DIP statistics configs.
This function can be used to set the statistics configs of our statistics system.
[in] | idx | path index of the video system. |
[in] | stat_config | pointer to MPI_STAT_CFG_S that will be set. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setTeAttr | ( | MPI_PATH | idx, |
const MPI_TE_ATTR_S * | te_attr | ||
) |
Set Tone Enhancement(TE) attribute.
[in] | idx | Index of the input path. |
[in] | attr | TE attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setWinNrAttr | ( | MPI_WIN | idx, |
const MPI_NR_ATTR_S * | win_nr_attr | ||
) |
Set window Noise Reduction(NR) attribute.
[in] | idx | window index. |
[in] | attr | NR attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setWinShpAttr | ( | MPI_WIN | idx, |
const MPI_SHP_ATTR_S * | win_shp_attr | ||
) |
Set window Sharpness(SHP) attribute.
[in] | idx | window index. |
[in] | attr | SHP attribute. |
MPI_SUCCESS | success |
others | failure |
INT32 MPI_setWinShpAttrV2 | ( | MPI_WIN | idx, |
const MPI_SHP_ATTR_V2_S * | win_shp_attr_v2 | ||
) |
Set window Sharpness(SHP_V2) attribute.
[in] | idx | window index. |
[in] | attr | SHP_V2 attribute. |
MPI_SUCCESS | success |
others | failure |