MPP Programming Interface Reference Manual  jpl-r3.2.0
mpi_dip_types.h File Reference

MPI for DIP common header. More...

#include "mpi_index.h"

Data Structures

struct  MPI_ALG_LIB_S
 Structure for DIP algorithm library. More...
 

Macros

#define MPI_AWB_CHN_NUM   (4)
 
#define MPI_K_TABLE_ENTRY_NUM   (8)
 
#define MPI_COLOR_CHN_NUM   (3)
 
#define MPI_DCC_CHN_NUM   (4)
 
#define MPI_LUM_HIST_ENTRY_NUM   (60)
 
#define MPI_AE_MAX_LUM_AVG_ROI_NUM   (4)
 
#define MPI_AE_ZONE_NUM   ((8) * (8))
 
#define MPI_AWB_WHITE_POINT_NUM   (15)
 
#define MPI_AWB_ZONE_NUM   ((8) * (8))
 
#define MPI_AWB_MAX_PIX_AVG_ROI_NUM   (4)
 
#define MPI_LUMA_HIST_ENTRY_NUM   (33)
 
#define MPI_MV_HIST_ENTRY_NUM   (32)
 
#define MPI_SAD_HIST_ENTRY_NUM   (19)
 
#define MPI_TDIFF_ENTRY_NUM   (4)
 
#define MPI_GAMMA_CURVE_ENTRY_NUM   (60)
 
#define MPI_TE_CURVE_ENTRY_NUM   (60)
 
#define MPI_PTA_CURVE_ENTRY_NUM   (33)
 
#define MPI_SHP_CTRL_POINT_NUM   (6)
 
#define MPI_NR_LUT_ENTRY_NUM   (9)
 
#define MPI_SNS_TABLE_REGS_NUM   (32)
 
#define MPI_ISO_LUT_ENTRY_NUM   (11)
 
#define MPI_SENSOR_GAIN_LUT_ENTRY_NUM   (11)
 
#define MPI_MAX_DIP_DEV_NUM   (2)
 
#define MPI_MAX_SNP_DEV_NUM   (2)
 
#define MPI_MAX_ALG_LIB_NAME   (32)
 
#define DIP_SENSOR_PATH(d, p)   MPI_INPUT_PATH(d, p)
 
#define DIP_GET_DEV(i)   MPI_GET_VIDEO_DEV(i)
 
#define DIP_GET_SNP(i)   MPI_GET_INPUT_PATH(i)
 

Typedefs

typedef MPI_DEV DIP_DEV
 
typedef MPI_PATH SNP_DEV
 
typedef MPI_SIZE_S SIZE_S
 
typedef MPI_RANGE_S RANGE_S
 
typedef MPI_BAYER_E BAYER_E
 

Enumerations

enum  MPI_ALG_OPT_E { ALG_OPT_AUTO = 0, ALG_OPT_HALF_AUTO, ALG_OPT_MANUAL, ALG_OPT_NUM }
 Enumration for DIP algorithm operation mode. More...
 
enum  MPI_AWB_CCM_DOMAIN_E { AWB_CCM_DOMAIN_GAMMA = 0, AWB_CCM_DOMAIN_LINEAR, AWB_CCM_DOMAIN_NUM }
 Enumeration of domains on which AWB CCM is calibrated.
 

Detailed Description

MPI for DIP common header.

Macro Definition Documentation

#define DIP_GET_DEV (   i)    MPI_GET_VIDEO_DEV(i)

Get DIP device

#define DIP_GET_SNP (   i)    MPI_GET_INPUT_PATH(i)

Get DIP sensor path

#define DIP_SENSOR_PATH (   d,
 
)    MPI_INPUT_PATH(d, p)

DIP sensor path

#define MPI_AE_MAX_LUM_AVG_ROI_NUM   (4)

Number of maximum ROI luminance average for AE

#define MPI_AE_ZONE_NUM   ((8) * (8))

Number of zone luminance for AE to calculate luminance average

#define MPI_AWB_CHN_NUM   (4)

Number of channels for AWB, bayer domain

#define MPI_AWB_MAX_PIX_AVG_ROI_NUM   (4)

Number of maximum ROI pixel average for AWB

#define MPI_AWB_WHITE_POINT_NUM   (15)

Number of brightest points for AWB, bayer domain

#define MPI_AWB_ZONE_NUM   ((8) * (8))

Number of zone for AWB to calculate brightest points

#define MPI_COLOR_CHN_NUM   (3)

Number of color channels in RGB domain

#define MPI_DCC_CHN_NUM   (4)

Number of channel for DCC, bayer domain

#define MPI_GAMMA_CURVE_ENTRY_NUM   (60)

Number of bins of a GAMMA curve

#define MPI_ISO_LUT_ENTRY_NUM   (11)

Number of entries in ISO look up table

#define MPI_K_TABLE_ENTRY_NUM   (8)

Number of color temperature in table, this will be used for interpolation

#define MPI_LUM_HIST_ENTRY_NUM   (60)

Number of luminance histograms for AE

#define MPI_LUMA_HIST_ENTRY_NUM   (33)

Number of luminance histograms for PTA

#define MPI_MAX_ALG_LIB_NAME   (32)

Number of maximum algorithm libraries

#define MPI_MAX_DIP_DEV_NUM   (2)

Number of maximum DIP device

#define MPI_MAX_SNP_DEV_NUM   (2)

Number of maximum sensor path device

#define MPI_MV_HIST_ENTRY_NUM   (32)

Number of MV histograms

#define MPI_NR_LUT_ENTRY_NUM   (9)

Number of entries in NR look up table

#define MPI_PTA_CURVE_ENTRY_NUM   (33)

Number of bins of a PTA curve

#define MPI_SAD_HIST_ENTRY_NUM   (19)

Number of SAD histograms

#define MPI_SENSOR_GAIN_LUT_ENTRY_NUM   (11)

Number of entries in sensor gain look up table

#define MPI_SHP_CTRL_POINT_NUM   (6)

Number of SHP control point

#define MPI_SNS_TABLE_REGS_NUM   (32)

Number of Sensor table register

#define MPI_TDIFF_ENTRY_NUM   (4)

Number of TDIFF histograms

#define MPI_TE_CURVE_ENTRY_NUM   (60)

Number of bins of a TE curve

Enumeration Type Documentation

Enumration for DIP algorithm operation mode.

Enumerator
ALG_OPT_AUTO 

0: automatic mode.

ALG_OPT_HALF_AUTO 

1: semi-automatic mode.

ALG_OPT_MANUAL 

2: manual mode.