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

Detailed Description

Defines IPP manager-related structures and functions.

Typedefs

typedef NvMediaStatus NvMediaIPPGetAbsoluteGlobalTime (void *clientContext, NvMediaGlobalTime *timeValue)
 Defines the global time callback function prototype. More...
 

Functions

NvMediaIPPManagerNvMediaIPPManagerCreate (uint32_t versionInfo, NvMediaDevice *device)
 Allocates an Image Processing Pipeline manager object. More...
 
void NvMediaIPPManagerDestroy (NvMediaIPPManager *ippManager)
 Destroys an IPP manager object. More...
 
NvMediaStatus NvMediaIPPManagerSetTimeSource (NvMediaIPPManager *ippManager, void *clientContext, NvMediaIPPGetAbsoluteGlobalTime getAbsoluteGlobalTime)
 Sets the callback function for image time-stamping. More...
 

Typedef Documentation

typedef NvMediaStatus NvMediaIPPGetAbsoluteGlobalTime(void *clientContext, NvMediaGlobalTime *timeValue)

Defines the global time callback function prototype.

The client must create a function with the same function signature.

Parameters
clientContextThe client context that was passed to NvMediaIPPManagerSetTimeSource
timeValueA pointer to location where the callback writes the absolute global time. The timeValue is a 64-bit number measured in microseconds.

Definition at line 448 of file nvmedia_ipp.h.

Function Documentation

NvMediaIPPManager* NvMediaIPPManagerCreate ( uint32_t  versionInfo,
NvMediaDevice device 
)

Allocates an Image Processing Pipeline manager object.

Parameters
[in]versionInfoSet it to NVMEDIA_IPP_VERSION_INFO
[in]deviceThe already created NvMediaDevice.
Returns
NvMediaIPPManager The new IPP manager's handle or NULL if unsuccessful.
void NvMediaIPPManagerDestroy ( NvMediaIPPManager ippManager)

Destroys an IPP manager object.

Parameters
[in]ippManagerThe IPP manager object to destroy.
Returns
void
NvMediaStatus NvMediaIPPManagerSetTimeSource ( NvMediaIPPManager ippManager,
void *  clientContext,
NvMediaIPPGetAbsoluteGlobalTime  getAbsoluteGlobalTime 
)

Sets the callback function for image time-stamping.

Parameters
[in]ippManagerThe IPP manager object.
[in]clientContextContext of the caller application. If not needed set it NULL.
[in]getAbsoluteGlobalTimeA function pointer pointing to a function that returns the absolute global time.
Returns
NvMediaStatus The completion status of the operation. Possible values are:
NVMEDIA_STATUS_OK
NVMEDIA_STATUS_ERROR