NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
vicdiagnostics.h File Reference

Detailed Description

NVIDIA Media Interface: VIC HW Diagnostics Control

Description: This file contains the "VIC HW Diagnostics API."

Definition in file vicdiagnostics.h.

Go to the source code of this file.

Data Structures

struct  VicDiagnosticsAttributes
 Attributes structure for VicDiagnosticsCreate(). More...
 
struct  VicDiagnosticsResult
 Stores information returned from VicDiagnosticsExecute(). More...
 

Macros

#define VICDIAGNOSTICS_VERSION_MAJOR   1
 Major version number of VIC Diagnostics header. More...
 
#define VICDIAGNOSTICS_VERSION_MINOR   0
 Minor version number of VIC Diagnostics header. More...
 
#define VICDIAGNOSTICS_VERSION_PATCH   1
 Patch version number of VIC Diagnostics header. More...
 
#define VICDIAGNOSTICS_TASK_STATUS_CHECKSUM_MISMATCH   41u
 Task status value indicating the test checksum did not match the expected one. More...
 

Typedefs

typedef uint32_t VicDiagnosticsParameters
 Stores configuration for the VicDiagnosticsExecute() operation. More...
 
typedef struct VicDiagnostics VicDiagnostics
 VicDiagnostics Context. More...
 

Functions

NvMediaStatus VicDiagnosticsGetVersion (NvMediaVersion *const version)
 Returns the version number of the NvMedia Vic Diagnostics library. More...
 
NvMediaStatus VicDiagnosticsCreate (VicDiagnostics **const handle, VicDiagnosticsAttributes const *const attr)
 Creates a new VicDiagnostics context. More...
 
NvMediaStatus VicDiagnosticsDestroy (VicDiagnostics const *const handle)
 Destroys the VicDiagnostics context. More...
 
NvMediaStatus VicDiagnosticsGetParameters (VicDiagnostics const *const handle, VicDiagnosticsParameters *const params)
 Returns an VicDiagnosticsParameters instance. More...
 
NvMediaStatus VicDiagnosticsExecute (VicDiagnostics const *const handle, VicDiagnosticsParameters const params, VicDiagnosticsResult *const result)
 Performs a VIC HW diagnostic operation. More...
 
NvMediaStatus VicDiagnosticsGetNumTests (VicDiagnostics const *const handle, uint32_t *const numTests)
 Gets the number of available diagnostics tests. More...
 
NvMediaStatus VicDiagnosticsSetTest (VicDiagnostics const *const handle, VicDiagnosticsParameters const params, uint32_t const testId)
 Sets the test ID for an VicDiagnosticsParameters instance. More...