46 #ifndef __NVLL_OSD_STRUCT_DEFS__
47 #define __NVLL_OSD_STRUCT_DEFS__
54 #define NVOSD_MAX_NUM_RECTS 128
unsigned int x2
Holds width of the box in pixels.
struct _NvOSD_RectParams NvOSD_RectParams
Holds the box parameters of the box to be overlayed.
unsigned int y_offset
Holds vertical offset w.r.t top left pixel of the frame.
unsigned int y2
Holds height of the box in pixels.
Selects GPU for OSD processing.
unsigned int line_width
Holds border_width of the box in pixels.
Holds the font parameters of the text to be overlayed.
struct _NvOSD_ColorParams NvOSD_ColorParams
Holds the color parameters of the box or text to be overlayed.
Holds the box parameters of the box to be overlayed.
struct _NvOSD_TextParams NvOSD_TextParams
Holds the text parameters of the text to be overlayed.
NvOSD_Mode
List modes used to overlay boxes and text.
unsigned int x1
Holds left coordinate of the box in pixels.
unsigned int top
Holds top coordinate of the box in pixels.
struct _NvOSD_Color_info NvOSD_Color_info
unsigned int height
Holds height of the box in pixels.
struct _NvOSD_LineParams NvOSD_LineParams
Holds the box parameters of the line to be overlayed.
NvOSD_ColorParams border_color
Holds color params of the border of the box.
unsigned int reserved
Reserved field for future usage.
unsigned int x_offset
Holds horizontal offset w.r.t top left pixel of the frame.
char * display_text
Holds the text to be overlayed.
unsigned int left
Holds left coordinate of the box in pixels.
double alpha
Holds alpha component of color.
Selects CPU for OSD processing.
Holds the box parameters of the line to be overlayed.
char * font_name
Holds pointer to the string containing font name.
NvOSD_ColorParams font_color
Holds font color.
int set_bg_clr
Boolean to indicate text has background color.
NvOSD_ColorParams text_bg_clr
Background color for text.
Holds the text parameters of the text to be overlayed.
struct _NvOSD_FontParams NvOSD_FontParams
Holds the font parameters of the text to be overlayed.
unsigned int width
Holds width of the box in pixels.
Holds the color parameters of the box or text to be overlayed.
unsigned int has_bg_color
Holds boolean value indicating whether box has background color.
unsigned int y1
Holds top coordinate of the box in pixels.
unsigned int border_width
Holds border_width of the box in pixels.
double blue
Holds blue component of color.
double red
Holds red component of color.
unsigned int font_size
Holds size of the font.
Selects NV HW engine for rectangle draw and mask.
NvOSD_FontParams font_params
font_params.
double green
Holds green component of color.
NvOSD_ColorParams line_color
Holds color params of the border of the box.
NvOSD_ColorParams bg_color
Holds background color of the box.