Jetson Inference
DNN Vision Library
Utilities Library (jetson-utils)

Tools and utilities for camera streaming, codecs, display, and visualization. More...

Modules

 Camera Capture
 Camera capture and streaming for MIPI CSI and V4L2 devices.
 
 Codec
 Hardware-accelerated video encoder and decoder (H.264/H.265) using GStreamer.
 
 CUDA
 CUDA utilities and image processing kernels.
 
 OpenGL
 OpenGL textures and display window (X11/GLX).
 
 Image I/O
 Loading and saving image files from disk.
 
 Input
 HID input devices including gamepad controllers, joysticks, and keyboard.
 
 Matrix
 3x3 matrix operations from mat33.h
 
 Multithreading
 Mutex, events, threads, and process objects based on pthreads.
 
 Filesystem
 network Networking TCP/UDP sockets and IP address manipulation.
 
 Time
 Timestamping operations for measuring the timing of CPU code.
 

Classes

class  commandLine
 Command line parser class. More...
 

Macros

#define SAFE_DELETE(x)   if(x != NULL) { delete x; x = NULL; }
 Check for non-NULL pointer before deleting it, and then set the pointer to NULL. More...
 
#define PI   3.1415926535897932384626433832795f
 Constant representing PI. More...
 
#define TWO_PI   6.283185307179586476925286766559f
 Constant representing two PI. More...
 
#define PI_OVER_TWO   1.5707963267948966192313216916398f;
 Constant representing PI over two. More...
 
#define DEG_TO_RAD   0.017453292519943295769236907684886f
 Constant for converting from degrees to radians. More...
 
#define RAD_TO_DEG   57.295779513082320876798154814105f
 Constant for converting from radians to degrees. More...
 

Functions

float randf (float range_min=0.0f, float range_max=1.0f)
 Generate a floating-point random number within the specified range. More...
 
int rand (int range_min, int range_max)
 Generate a random integer within the specified range. More...
 
void srand_time ()
 Seed the random number generator based on the system time. More...
 

Detailed Description

Tools and utilities for camera streaming, codecs, display, and visualization.

Macro Definition Documentation

◆ DEG_TO_RAD

#define DEG_TO_RAD   0.017453292519943295769236907684886f

Constant for converting from degrees to radians.

◆ PI

#define PI   3.1415926535897932384626433832795f

Constant representing PI.

◆ PI_OVER_TWO

#define PI_OVER_TWO   1.5707963267948966192313216916398f;

Constant representing PI over two.

◆ RAD_TO_DEG

#define RAD_TO_DEG   57.295779513082320876798154814105f

Constant for converting from radians to degrees.

◆ SAFE_DELETE

#define SAFE_DELETE (   x)    if(x != NULL) { delete x; x = NULL; }

Check for non-NULL pointer before deleting it, and then set the pointer to NULL.

◆ TWO_PI

#define TWO_PI   6.283185307179586476925286766559f

Constant representing two PI.

Function Documentation

◆ rand()

int rand ( int  range_min,
int  range_max 
)
inline

Generate a random integer within the specified range.

◆ randf()

float randf ( float  range_min = 0.0f,
float  range_max = 1.0f 
)
inline

Generate a floating-point random number within the specified range.

◆ srand_time()

void srand_time ( )
inline

Seed the random number generator based on the system time.