NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

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

Detailed Description

A global namespace for NvRos packages.

Data Structures

struct  _CaptureConfigParams
 Holds configuration parameters for capturing image frames. More...
 
struct  _CudaEglParams
 Holds CUDA EGL related parameters. More...
 
struct  _EglFrameParams
 Holds the required EGL frame-related parameters for processing that frame. More...
 
struct  _EglUtilOptions
 Holds required window system related parameters when initializing EGLStream. More...
 
struct  _EglUtilState
 Holds EGL related parameters. More...
 
class  NvRosEglCudaIO
 Creates CUDA processing pipelines for EGLStreams. More...
 
class  NvRosEglUtil
 Class to initialize the EGLStream for the following roles: EGLOUTPUT_CONSUMER, CUDA_CONSUMER, CUDA_PRODUCER, IMAGE_PRODUCER. More...
 
class  NvRosImgPipeline
 Creates image capture pipelines for NvROS on the NVIDIA DRIVE AGX platform through AR0231 imaging sensors. More...
 

Typedefs

typedef enum nvros::_ConsumerType ConsumerType
 Declares all EGL consumer types supported by NvMedia EGLStream library. More...
 
typedef enum nvros::_ProducerType ProducerType
 Declares all EGL producer types supported by NvMedia EGLStream library. More...
 
typedef enum nvros::_WinSys WinSys
 Declares all window systems supported by NvMedia EGLStream library. More...
 
typedef enum nvros::_OpMode OpMode
 Declares modes of operation for EGLStream. More...
 
typedef struct
nvros::_EglUtilOptions 
EglUtilOptions
 Holds required window system related parameters when initializing EGLStream. More...
 
typedef struct nvros::_EglUtilState EglUtilState
 Holds EGL related parameters. More...
 
typedef struct
nvros::_CudaEglParams 
CudaEglParams
 Holds CUDA EGL related parameters. More...
 
typedef enum nvros::_EglCuIOErrors EglCuIOErrors
 Defines the error codes emitted by the EGL CUDA IO library. More...
 
typedef struct
nvros::_EglFrameParams 
EglFrameParams
 Holds the required EGL frame-related parameters for processing that frame. More...
 
typedef struct
nvros::_CaptureConfigParams 
CaptureConfigParams
 Holds configuration parameters for capturing image frames. More...
 
typedef enum nvros::_NvRosErrCode NvRosErr
 Declares error codes for all NvROS modules and packages. More...
 

Enumerations

enum  _ConsumerType {
  VIDEO_CONSUMER,
  IMAGE_CONSUMER,
  GL_CONSUMER,
  CUDA_CONSUMER,
  EGLOUTPUT_CONSUMER,
  DEFAULT_CONSUMER = EGLOUTPUT_CONSUMER,
  INVALID_CONSUMER = -1
}
 Declares all EGL consumer types supported by NvMedia EGLStream library. More...
 
enum  _ProducerType {
  VIDEO_PRODUCER = 0,
  IMAGE_PRODUCER,
  GL_PRODUCER,
  CUDA_PRODUCER,
  DEFAULT_PRODUCER = IMAGE_PRODUCER,
  INVALID_PRODUCER = -1
}
 Declares all EGL producer types supported by NvMedia EGLStream library. More...
 
enum  _WinSys {
  X11 = 0,
  WAYLAND,
  EGLDEVICE,
  NONE,
  DEFAULT_WINSYS = EGLDEVICE
}
 Declares all window systems supported by NvMedia EGLStream library. More...
 
enum  _OpMode {
  MAILBOX = 0,
  FIFO,
  DEFAULT_OP_MODE = MAILBOX
}
 Declares modes of operation for EGLStream. More...
 
enum  _EglCuIOErrors {
  EGL_CU_IO_STREAM_DISCONNECTED = 1,
  EGL_CU_IO_CUDA_API_ERR = 2,
  EGL_CU_IO_UNSUPPORTED_EGL_FRAME = 3
}
 Defines the error codes emitted by the EGL CUDA IO library. More...
 
enum  _NvRosErrCode {
  NVROS_SUCCESS =0,
  NVROS_ERR_NO_MEM =-1,
  NVROS_ERR_NVMEDIA =-2,
  NVROS_ERR =-3,
  NVROS_ERR_BAD_PARAMS =-4
}
 Declares error codes for all NvROS modules and packages. More...
 

Functions

const std::string InitCamPreviewService ("nvros_init_cam_preview")
 Constant string for initializing camera preview services. More...
 
const std::string CloseCamPreviewService ("nvros_close_cam_preview")
 Constant string for closing camera preview services. More...
 
const std::string StartCameraCaptureService ("camera_start")
 Constant string for starting camera capture services. More...
 
const std::string StopCameraCaptureService ("camera_stop")
 Constant string for closing camera capture services. More...
 
const std::string InitCudaProcessingService ("nvros_init_cuda_processing")
 Constant string for initializing CUDA processing services. More...
 
const std::string CloseCudaProcessingService ("nvros_close_cuda_processing")
 Constant string for closing CUDA processing services. More...
 
const std::string SocketPathOutput ("/tmp/nvmedia_egl_socket_out")
 Constant string for default output EGL socket_path value for the cuda_processor node. More...
 
const std::string Default_GroupName ("A")
 Default group name for the camera capture node. More...
 
const std::string Default_FileName ("drive-px2-a.conf")
 Default configuration file for OV10635 camera parameters. More...