NVIDIA DRIVE OS Linux API Reference

5.1.0.2 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Detailed Description

Manages NvMediaDevice objects, which are the root of the Nvmedia object system.

The NvMediaDevice is the root of the NvMedia object system. Using a NvMediaDevice object, all other object types may be created. See the sections describing those other object types for details on object creation.

Typedefs

typedef void NvMediaDevice
 An opaque handle representing a NvMediaDevice object. More...
 

Functions

NvMediaDeviceNvMediaDeviceCreate (void)
 Creates an NvMediaDevice. More...
 
void NvMediaDeviceDestroy (NvMediaDevice *device)
 Destroys an NvMediaDevice. More...
 

Typedef Documentation

typedef void NvMediaDevice

An opaque handle representing a NvMediaDevice object.

Definition at line 305 of file nvmedia_core.h.

Function Documentation

NvMediaDevice* NvMediaDeviceCreate ( void  )

Creates an NvMediaDevice.

Returns
The new handle for the device, or NULL if unsuccessful.
void NvMediaDeviceDestroy ( NvMediaDevice device)

Destroys an NvMediaDevice.

Parameters
[in]deviceA pointer to the device to destroy.