NVIDIA DeepStream SDK API Reference

8.0 Release
cuosd_kernel.h File Reference

Go to the source code of this file.

Data Structures

struct  TextLocation
 
struct  cuOSDContextCommand
 
struct  CircleCommand
 
struct  RectangleCommand
 
struct  BoxBlurCommand
 
struct  TextCommand
 
struct  SegmentCommand
 
struct  PolyFillCommand
 
struct  RGBASourceCommand
 
struct  NV12SourceCommand
 

Enumerations

enum  ImageFormat : int {
  ImageFormat::None = 0,
  ImageFormat::RGB = 1,
  ImageFormat::RGBA = 2,
  ImageFormat::BlockLinearNV12 = 3,
  ImageFormat::PitchLinearNV12 = 4
}
 
enum  CommandType : int {
  CommandType::None = 0,
  CommandType::Circle = 1,
  CommandType::Rectangle = 2,
  CommandType::Text = 3,
  CommandType::Segment = 4,
  CommandType::PolyFill = 5,
  CommandType::RGBASource = 6,
  CommandType::NV12Source = 7,
  CommandType::BoxBlur = 8
}
 

Functions

void cuosd_launch_kernel (void *image_data0, void *image_data1, int width, int stride, int height, ImageFormat format, const TextLocation *text_location, const unsigned char *text_bitmap, int text_bitmap_width, const int *line_location_base, const unsigned char *commands, const int *commands_offset, int num_commands, int bounding_left, int bounding_top, int bounding_right, int bounding_bottom, bool have_rotatebox, const unsigned char *blur_commands, int num_blur_commands, void *stream)
 

Enumeration Type Documentation

◆ CommandType

enum CommandType : int
strong
Enumerator
None 
Circle 
Rectangle 
Text 
Segment 
PolyFill 
RGBASource 
NV12Source 
BoxBlur 

Definition at line 24 of file cuosd_kernel.h.

◆ ImageFormat

enum ImageFormat : int
strong
Enumerator
None 
RGB 
RGBA 
BlockLinearNV12 
PitchLinearNV12 

Definition at line 16 of file cuosd_kernel.h.

Function Documentation

◆ cuosd_launch_kernel()

void cuosd_launch_kernel ( void *  image_data0,
void *  image_data1,
int  width,
int  stride,
int  height,
ImageFormat  format,
const TextLocation text_location,
const unsigned char *  text_bitmap,
int  text_bitmap_width,
const int *  line_location_base,
const unsigned char *  commands,
const int *  commands_offset,
int  num_commands,
int  bounding_left,
int  bounding_top,
int  bounding_right,
int  bounding_bottom,
bool  have_rotatebox,
const unsigned char *  blur_commands,
int  num_blur_commands,
void *  stream 
)