The Camera Device Interface API encompasses all DevBlk I2C control related functions, including programming of all I2C controlled components such as deserializers, serializers, EEPROMs, and image sensors.
DevBlkCDI needs a device driver for each attached device. This provides the flexibility of adding new devices easily.
Data Structures | |
| struct | DevBlkCDIDevice |
| Holds the handle for an DevBlkCDIDevice object. More... | |
| struct | DevBlkCDIModuleConfig |
| Holds the CDI Module ISP configuration. More... | |
Modules | |
| Basic CDI Types | |
| The Camera Device Interface API provides common CDI processing functions. | |
| CDI Device | |
| An CDI device represents a device that is attached or linked to the root I2C port. | |
| CDI Device Driver | |
Usage considerations | |
| CDI Root Device | |
| Manage DevBlkCDIRootDevice objects, which represent the root of the SIPL device block. | |
Typedefs | |
| typedef struct DevBlkCDIModuleConfig | DevBlkCDIModuleConfig |
| Holds the CDI Module ISP configuration. More... | |
Enumerations | |
| enum | DevBlkCDIPowerItems { DEVBLK_CDI_PWR_AGGREGATOR, DEVBLK_CDI_PWR_LINK_0, DEVBLK_CDI_PWR_LINK_1, DEVBLK_CDI_PWR_LINK_2, DEVBLK_CDI_PWR_LINK_3 } |
| CDI Power control items. More... | |
Functions | |
| NvMediaStatus | DevBlkCDISetSensorCharMode (DevBlkCDIDevice *device, uint8_t expNo) |
| Set sensor in characterization mode. More... | |
| NvMediaStatus | DevBlkCDIGetModuleConfig (DevBlkCDIDevice *device, DevBlkCDIModuleConfig *moduleConfig) |
| Gets the Module ISP configuration. More... | |
| typedef struct DevBlkCDIModuleConfig DevBlkCDIModuleConfig |
Holds the CDI Module ISP configuration.
| enum DevBlkCDIPowerItems |
CDI Power control items.
| Enumerator | |
|---|---|
| DEVBLK_CDI_PWR_AGGREGATOR | Aggregator Power. |
| DEVBLK_CDI_PWR_LINK_0 | LINK 0 Power. |
| DEVBLK_CDI_PWR_LINK_1 | LINK 1 PWR. |
| DEVBLK_CDI_PWR_LINK_2 | LINK 2 PWR. |
| DEVBLK_CDI_PWR_LINK_3 | LINK 3 PWR. |
Definition at line 1627 of file devblk_cdi.h.
| NvMediaStatus DevBlkCDIGetModuleConfig | ( | DevBlkCDIDevice * | device, |
| DevBlkCDIModuleConfig * | moduleConfig | ||
| ) |
Gets the Module ISP configuration.
| [in] | device | A pointer to the device to use. |
| [out] | moduleConfig | A pointer to the module ISP configuration. |
| NvMediaStatus DevBlkCDISetSensorCharMode | ( | DevBlkCDIDevice * | device, |
| uint8_t | expNo | ||
| ) |
Set sensor in characterization mode.
| [in] | device | A pointer to the sensor control device in use. |
| [in] | expNo | Sensor exposure number to be used for characterization. Valid range for expNo : [0, (DEVBLK_CDI_MAX_EXPOSURES-1)] For Non-HDR sensor, this should be set to '1' |