NVIDIA DRIVE 5.0 Linux SDK API Reference

5.0.5.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvMediaISCDeviceDriver Struct Reference

Detailed Description

Holds device driver data.

Definition at line 474 of file nvmedia_isc.h.

Data Fields

char * deviceName
 Holds the device name. More...
 
int32_t regLength
 Holds the target device offset length in bytes. More...
 
int32_t dataLength
 Holds the target device data length in bytes. More...
 
NvMediaStatus(* DriverCreate )(NvMediaISCDriverHandle **handle, NvMediaISCSupportFunctions *supportFunctions, void *clientContext)
 Holds the function that creates the driver. More...
 
NvMediaStatus(* DriverDestroy )(NvMediaISCDriverHandle *handle)
 Holds the function that destroys the driver. More...
 
NvMediaStatus(* CheckPresence )(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction)
 Holds the function that checks the pre-sense of the device. More...
 
NvMediaStatus(* CheckLink )(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t linkIndex, uint32_t linkType)
 Holds the function that initiates a link check to the device. More...
 
NvMediaStatus(* SetDefaults )(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction)
 Holds the function that sets device defaults. More...
 
NvMediaStatus(* SetDeviceConfig )(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t enumeratedDeviceConfig)
 Holds the function that sets a specific configuration to the device. More...
 
NvMediaStatus(* ReadParameters )(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t parameterType, uint32_t parameterSize, void *parameter)
 Holds the function that reads parameters from a device. More...
 
NvMediaStatus(* WriteParameters )(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t parameterType, uint32_t parameterSize, void *parameter)
 Holds the function that writes parameters to a device. More...
 
NvMediaStatus(* ParseEmbeddedData )(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t lineCount, uint32_t *lineLength, uint8_t *lineData[], struct NvMediaISCEmbeddedData *parsedInformation)
 Holds the function that parses the embedded data returned as part of the captured buffer. More...
 
NvMediaStatus(* GetSensorFrameId )(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t lineCount, uint32_t *lineLength, uint8_t *lineData[], uint32_t *sensorFrameId)
 Holds the function that gets the sensor frame ID from embedded lines. More...
 
NvMediaStatus(* GetTemperature )(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, float_t *temperature)
 Holds the function that gets the device's temperature. More...
 
NvMediaStatus(* SetExposure )(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, struct NvMediaISCExposureControl *exposureControl)
 Holds the function that that sets exposure control. More...
 
NvMediaStatus(* SetWBGain )(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, struct NvMediaISCWBGainControl *wbControl)
 Holds the function that that sets white balance control. More...
 
NvMediaStatus(* ReadRegister )(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t deviceIndex, uint32_t registerNum, uint32_t dataLength, uint8_t *dataBuff)
 Holds the function that reads device register. More...
 
NvMediaStatus(* WriteRegister )(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t deviceIndex, uint32_t registerNum, uint32_t dataLength, uint8_t *dataBuff)
 Holds the function that that writes the device register. More...
 
NvMediaStatus(* DumpRegisters )(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction)
 Holds the function that dumps device registers. More...
 
NvMediaStatus(* GetErrorStatus )(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t parameterSize, void *parameter)
 Holds the function that gets error information from a device. More...
 
NvMediaStatus(* GetModuleConfig )(NvMediaISCDriverHandle *handle, struct NvMediaISCModuleConfig *moduleConfig)
 Holds the function that gets module configuration. More...
 
NvMediaStatus(* SetBracketedExposure )(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t numExposureControls, struct NvMediaISCExposureControl *exposureControls)
 Holds the function that sets bracketed expoure control. More...
 
NvMediaStatus(* GetSensorAttr )(NvMediaISCDriverHandle *handle, NvMediaISCSensorAttrType type, uint32_t size, void *attribute)
 Holds the function that gets sensor attributes. More...
 
NvMediaStatus(* SetCompandingCurve )(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t numPoints, NvMediaPoint *kneePoints)
 Holds the function that sets companding curve. More...
 

Field Documentation

NvMediaStatus(* NvMediaISCDeviceDriver::CheckLink)(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t linkIndex, uint32_t linkType)

Holds the function that initiates a link check to the device.

The device is identified by the linkIndex argument. In case when the device has multiple kinds of links per devices, additional linkType argument can be used as optional.

Definition at line 497 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::CheckPresence)(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction)

Holds the function that checks the pre-sense of the device.

Definition at line 490 of file nvmedia_isc.h.

int32_t NvMediaISCDeviceDriver::dataLength

Holds the target device data length in bytes.

Definition at line 480 of file nvmedia_isc.h.

char* NvMediaISCDeviceDriver::deviceName

Holds the device name.

Definition at line 476 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::DriverCreate)(NvMediaISCDriverHandle **handle, NvMediaISCSupportFunctions *supportFunctions, void *clientContext)

Holds the function that creates the driver.

Definition at line 482 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::DriverDestroy)(NvMediaISCDriverHandle *handle)

Holds the function that destroys the driver.

Definition at line 487 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::DumpRegisters)(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction)

Holds the function that dumps device registers.

Definition at line 578 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::GetErrorStatus)(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t parameterSize, void *parameter)

Holds the function that gets error information from a device.

Definition at line 582 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::GetModuleConfig)(NvMediaISCDriverHandle *handle, struct NvMediaISCModuleConfig *moduleConfig)

Holds the function that gets module configuration.

Definition at line 588 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::GetSensorAttr)(NvMediaISCDriverHandle *handle, NvMediaISCSensorAttrType type, uint32_t size, void *attribute)

Holds the function that gets sensor attributes.

Definition at line 598 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::GetSensorFrameId)(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t lineCount, uint32_t *lineLength, uint8_t *lineData[], uint32_t *sensorFrameId)

Holds the function that gets the sensor frame ID from embedded lines.

Definition at line 539 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::GetTemperature)(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, float_t *temperature)

Holds the function that gets the device's temperature.

Definition at line 547 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::ParseEmbeddedData)(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t lineCount, uint32_t *lineLength, uint8_t *lineData[], struct NvMediaISCEmbeddedData *parsedInformation)

Holds the function that parses the embedded data returned as part of the captured buffer.

The data type and the parsed data structure definition are located in the device driver's header file.

Definition at line 531 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::ReadParameters)(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t parameterType, uint32_t parameterSize, void *parameter)

Holds the function that reads parameters from a device.

The parameter type and parameter structure definition are located in the device driver's header file.

Definition at line 514 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::ReadRegister)(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t deviceIndex, uint32_t registerNum, uint32_t dataLength, uint8_t *dataBuff)

Holds the function that reads device register.

Definition at line 562 of file nvmedia_isc.h.

int32_t NvMediaISCDeviceDriver::regLength

Holds the target device offset length in bytes.

Definition at line 478 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::SetBracketedExposure)(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t numExposureControls, struct NvMediaISCExposureControl *exposureControls)

Holds the function that sets bracketed expoure control.

Definition at line 592 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::SetCompandingCurve)(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t numPoints, NvMediaPoint *kneePoints)

Holds the function that sets companding curve.

Definition at line 604 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::SetDefaults)(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction)

Holds the function that sets device defaults.

Definition at line 503 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::SetDeviceConfig)(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t enumeratedDeviceConfig)

Holds the function that sets a specific configuration to the device.

The configuration number definition is located in the device driver's header file.

Definition at line 508 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::SetExposure)(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, struct NvMediaISCExposureControl *exposureControl)

Holds the function that that sets exposure control.

Definition at line 552 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::SetWBGain)(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, struct NvMediaISCWBGainControl *wbControl)

Holds the function that that sets white balance control.

Definition at line 557 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::WriteParameters)(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t parameterType, uint32_t parameterSize, void *parameter)

Holds the function that writes parameters to a device.

The parameter type and parameter structure definition are located in the device driver's header file.

Definition at line 522 of file nvmedia_isc.h.

NvMediaStatus(* NvMediaISCDeviceDriver::WriteRegister)(NvMediaISCDriverHandle *handle, NvMediaISCTransactionHandle *transaction, uint32_t deviceIndex, uint32_t registerNum, uint32_t dataLength, uint8_t *dataBuff)

Holds the function that that writes the device register.

Definition at line 570 of file nvmedia_isc.h.


The documentation for this struct was generated from the following file: