33 #ifndef __NVLL_OSD_API_DEFS__
34 #define __NVLL_OSD_API_DEFS__
39 #define NVOSD_PRINT_E(f_, ...) \
40 printf("libnvosd (%d):(ERROR) : " f_, __LINE__, ##__VA_ARGS__)
43 #define MAX_BORDER_WIDTH 32
NvOSD_MaskParams * mask_params_list
Holds mask parameters.
struct _NvOSD_FrameCircleParams NvOSD_FrameCircleParams
Holds information about the circles in a frame.
NvBufSurfaceParams * buf_ptr
Holds a pointer to the buffer containing the frame.
struct _NvOSD_FrameSegmentMaskParams NvOSD_FrameSegmentMaskParams
Holds information about the rectangles in a frame.
NvOSD_CircleParams * circle_params_list
Holds the parameters of the circles.
Holds information about the rectangles in a frame.
NvOSD_LineParams * line_params_list
Holds the lines' parameters.
NvBufSurfaceParams * buf_ptr
Holds a pointer to the buffer containing the frame.
NvBufSurfaceParams * buf_ptr
Holds a pointer to a buffer containing a frame.
int nvll_osd_draw_rectangles(NvOSDCtxHandle nvosd_ctx, NvOSD_FrameRectParams *frame_rect_params)
Overlays boxes at a given location in a buffer.
struct _NvOSD_FrameTextParams NvOSD_FrameTextParams
Holds information about the text in a frame.
int num_circles
Holds the number of circles.
NvOSD_Mode mode
Holds the OSD mode to be used for processing.
NvOSD_ArrowParams * arrow_params_list
Holds the parameters of the arrows.
Holds information about the arrows in a frame.
NvOSDCtxHandle nvll_osd_create_context(void)
Creates an NvOSD context.
Holds the box parameters of the box to be overlayed.
Hold the information of single buffer in the batch.
NvOSD_Mode mode
Holds the OSD mode to be used for processing.
void nvll_osd_destroy_context(NvOSDCtxHandle nvosd_ctx)
Destroys an NvOSD context.
Holds circle parameters to be overlayed.
NvOSD_Mode mode
Holds the OSD mode to be used for processing.
Holds the mask parameters of the segment to be overlayed.
Holds information about the text in a frame.
Holds arrow parameters to be overlaid.
int num_strings
Holds the number of strings.
int nvll_osd_draw_lines(NvOSDCtxHandle nvosd_ctx, NvOSD_FrameLineParams *frame_line_params)
Overlays lines on the buffer.
NvOSD_Mode
Defines modes used to overlay boxes and text.
int nvll_osd_draw_segment_masks(NvOSDCtxHandle nvosd_ctx, NvOSD_FrameSegmentMaskParams *frame_mask_params)
Overlays segment masks at a given location in a buffer.
struct _NvOSD_FrameRectParams NvOSD_FrameRectParams
Holds information about the rectangles in a frame.
NvOSD_Mode mode
Holds the OSD mode to be used for processing.
int num_arrows
Holds the number of arrows.
Holds information about the lines in a frame.
NvOSD_TextParams * text_params_list
Holds the strings' text parameters.
struct _NvOSD_FrameArrowParams NvOSD_FrameArrowParams
Holds information about the arrows in a frame.
int nvll_osd_init_colors_for_hw_blend(void *nvosd_ctx, NvOSD_Color_info *color_info, int num_classes)
Initializes colors for HW based blending.
Holds the box parameters of a line to be overlayed.
Holds information about the circles in a frame.
int nvll_osd_put_text(NvOSDCtxHandle nvosd_ctx, NvOSD_FrameTextParams *frame_text_params)
/brief Overlays clock and given text at a given location in a buffer.
NVIDIA Multimedia Utilities: On-Screen Display Manager
Holds parameters of text to be overlayed.
Holds information about the rectangles in a frame.
int num_segments
Holds the number of rectangles.
void * nvll_osd_set_params(NvOSDCtxHandle nvosd_ctx, int width, int height)
Sets the resolution of the frames on which the NvOSDContext is to operate.
NvOSD_RectParams * rect_params_list
Holds the rectangles' parameters.
NvOSD_RectParams * rect_params_list
Holds the rectangles' parameters.
NvBufSurfaceParams * buf_ptr
Holds a pointer to the buffer containing the frame.
struct _NvOSD_FrameLineParams NvOSD_FrameLineParams
Holds information about the lines in a frame.
NvOSD_Mode mode
Holds the OSD mode to be used for processing.
NvBufSurfaceParams * buf_ptr
Holds a pointer to the buffer containing the frame.
void nvll_osd_set_clock_params(NvOSDCtxHandle nvosd_ctx, NvOSD_TextParams *clk_params)
Sets clock parameters for a given context.
int num_lines
Holds the number of lines.
int num_rects
Holds the number of rectangles.
int nvll_osd_draw_circles(NvOSDCtxHandle nvosd_ctx, NvOSD_FrameCircleParams *frame_circle_params)
Overlays circles on the buffer.
NvBufSurfaceParams * buf_ptr
Holds a pointer to the buffer containing the frame.
NvOSD_Mode mode
Holds the OSD mode to be used for processing.
int nvll_osd_draw_arrows(NvOSDCtxHandle nvosd_ctx, NvOSD_FrameArrowParams *frame_arrow_params)
Overlays arrows on the buffer.