NVIDIA DRIVE OS Linux SDK API Reference

5.1.12.0 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.

A caller can use an NvMediaDevice object to create objects of all other types. See the sections describing the other object types for details on object creation.

Typedefs

typedef struct NvMediaDevice NvMediaDevice
 An opaque handle representing an NvMediaDevice object. More...
 

Functions

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

Typedef Documentation

typedef struct NvMediaDevice NvMediaDevice

An opaque handle representing an NvMediaDevice object.

Definition at line 337 of file nvmedia_core.h.

Function Documentation

NvMediaDevice* NvMediaDeviceCreate ( void  )

Creates an NvMediaDevice.

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

Destroys an NvMediaDevice.

Parameters
[in]deviceA pointer to the device to be destroyed.