The Image Sensor Control API encompasses all NvMedia I2C control related functions, including programming of all I2C controlled components such as deserializers, serializers, EEPROMs, and image sensors.
NvMediaISC needs a device driver for each attached device. This provides the flexibility of adding new devices easily.
Data Structures | |
struct | NvMediaISCDevice |
Holds the handle for an NvMediaISCDevice object. More... | |
struct | NvMediaISCModuleConfig |
Holds the ISC Module ISP configuration. More... | |
struct | NvMediaISCExposureControl |
Holds exposure control information. More... | |
struct | NvMediaISCWBGainControl |
Holds the white balance control structure. More... | |
struct | NvMediaISCEmbeddedDataBuffer |
Holds the embedded data buffer structure. More... | |
struct | NvMediaISCEmbeddedData |
Holds the embedded data structure. More... | |
Modules | |
Basic ISC Types | |
The Image Sensor Control API provides common ISC processing functions. | |
ISC Device | |
An ISC device represents a device that is attached or linked to the root I2C port. | |
ISC Device Driver | |
Program elements related to NvMediaISCDeviceDriver, which defines a device driver. The core NvMediaISC calls the driver when the client calls the related public NvMediaISC function. | |
ISC Root Device | |
Manage NvMediaISCRootDevice objects, which represent the root of the Nvmedia ISC object system. | |
ISC Version Information | |
Provides version information for the NvMedia ISC library. | |
Typedefs | |
typedef struct NvMediaISCModuleConfig | NvMediaISCModuleConfig |
Holds the ISC Module ISP configuration. More... | |
typedef struct NvMediaISCExposureControl | NvMediaISCExposureControl |
Holds exposure control information. More... | |
typedef struct NvMediaISCWBGainControl | NvMediaISCWBGainControl |
Holds the white balance control structure. More... | |
typedef struct NvMediaISCEmbeddedData | NvMediaISCEmbeddedData |
Holds the embedded data structure. More... | |
Functions | |
NvMediaStatus | NvMediaISCRootDevicePowerControl (NvMediaISCRootDevice *device, NvMediaISCPowerItems powerItem, NvMediaBool powerOn) |
Turns ON/OFF the power of a specific sub-device. More... | |
NvMediaStatus | NvMediaISCRootDeviceGetPowerStatus (NvMediaISCRootDevice *device, NvMediaISCPowerItems powerItem, NvMediaBool *powerStatus) |
Gets the power ON/OFF status of a specific sub-device. More... | |
NvMediaStatus | NvMediaISCRootDeviceEnableSync (NvMediaISCRootDevice *device, NvMediaBool enable) |
Enables or disables pulse width modulation (PWM) for the external synchronization. More... | |
NvMediaStatus | NvMediaISCRootDeviceSetSyncConfig (NvMediaISCRootDevice *device, float_t freq, float_t dutyRatio) |
Sets the pulse width modulation (PWM) frequency and duty. More... | |
NvMediaStatus | NvMediaISCRootDeviceGetSyncConfig (NvMediaISCRootDevice *device, float_t *freq, float_t *dutyRatio) |
Gets the pulse width modulation (PWM) frequency and duty. More... | |
NvMediaStatus | NvMediaISCSetSensorCharMode (NvMediaISCDevice *device, uint8_t expNo) |
Set sensor in characterization mode. More... | |
NvMediaStatus | NvMediaISCGetModuleConfig (NvMediaISCDevice *device, NvMediaISCModuleConfig *moduleConfig) |
Gets the Module ISP configuration. More... | |
typedef struct NvMediaISCEmbeddedData NvMediaISCEmbeddedData |
Holds the embedded data structure.
typedef struct NvMediaISCExposureControl NvMediaISCExposureControl |
Holds exposure control information.
typedef struct NvMediaISCModuleConfig NvMediaISCModuleConfig |
Holds the ISC Module ISP configuration.
typedef struct NvMediaISCWBGainControl NvMediaISCWBGainControl |
Holds the white balance control structure.
Defines Exposure mode.
Definition at line 1500 of file nvmedia_isc.h.
enum NvMediaISCPowerItems |
ISC Power control items.
Enumerator | |
---|---|
NVMEDIA_ISC_PWR_AGGREGATOR | Aggregator Power. |
NVMEDIA_ISC_PWR_LINK_0 | LINK 0 Power. |
NVMEDIA_ISC_PWR_LINK_1 | LINK 1 PWR. |
NVMEDIA_ISC_PWR_LINK_2 | LINK 2 PWR. |
NVMEDIA_ISC_PWR_LINK_3 | LINK 3 PWR. |
Definition at line 1367 of file nvmedia_isc.h.
ISC sensor attributes.
Definition at line 1578 of file nvmedia_isc.h.
NvMediaStatus NvMediaISCGetModuleConfig | ( | NvMediaISCDevice * | device, |
NvMediaISCModuleConfig * | 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 NvMediaISCRootDeviceEnableSync | ( | NvMediaISCRootDevice * | device, |
NvMediaBool | enable | ||
) |
Enables or disables pulse width modulation (PWM) for the external synchronization.
[in] | device | The root device to use. |
[in] | enable | The PWM state. Possible values are: NVMEDIA_TRUE PWM is enabled. NVMEDIA_FALSE PWM is disabled. |
NvMediaStatus NvMediaISCRootDeviceGetPowerStatus | ( | NvMediaISCRootDevice * | device, |
NvMediaISCPowerItems | powerItem, | ||
NvMediaBool * | powerStatus | ||
) |
Gets the power ON/OFF status of a specific sub-device.
[in] | device | The root device to use. |
[in] | powerItem | The power item to get power status in the root device. |
[in] | powerStatus | The power state of the power item provided Possible values are: NVMEDIA_TRUE power is on NVMEDIA_FALSE power is off |
NvMediaStatus NvMediaISCRootDeviceGetSyncConfig | ( | NvMediaISCRootDevice * | device, |
float_t * | freq, | ||
float_t * | dutyRatio | ||
) |
Gets the pulse width modulation (PWM) frequency and duty.
[in] | device | The root device to use. |
[out] | freq | PWM frequency. |
[out] | dutyRatio | High level ratio in one PWM period. |
NvMediaStatus NvMediaISCRootDevicePowerControl | ( | NvMediaISCRootDevice * | device, |
NvMediaISCPowerItems | powerItem, | ||
NvMediaBool | powerOn | ||
) |
Turns ON/OFF the power of a specific sub-device.
[in] | device | The root device to use. |
[in] | powerItem | The power item to control the power in the root device. |
[in] | powerOn | The power state after this call. Possible values are:
|
NvMediaStatus NvMediaISCRootDeviceSetSyncConfig | ( | NvMediaISCRootDevice * | device, |
float_t | freq, | ||
float_t | dutyRatio | ||
) |
Sets the pulse width modulation (PWM) frequency and duty.
[in] | device | The root device to use. |
[in] | freq | PWM frequency. |
[in] | dutyRatio | High level ratio in one PWM period. |
NvMediaStatus NvMediaISCSetSensorCharMode | ( | NvMediaISCDevice * | 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, (NVMEDIA_ISC_MAX_EXPOSURES-1)] For Non-HDR sensor, this should be set to '1' |