46 #ifndef __NVLL_OSD_API_DEFS__
47 #define __NVLL_OSD_API_DEFS__
52 #define NVOSD_PRINT_E(f_, ...) \
53 printf("libnvosd (%d):(ERROR) : " f_, __LINE__, ##__VA_ARGS__)
56 #define MAX_BORDER_WIDTH 32
NvOSD_LineParams * line_params_list
Holds params of Lines.
NvBufSurfaceParams * buf_ptr
Holds pointer to the buffer containing frame.
NvBufSurfaceParams * buf_ptr
Holds pointer to the buffer containing frame.
struct _NvOSD_FrameTextParams NvOSD_FrameTextParams
int nvll_osd_draw_lines(void *nvosd_ctx, NvOSD_FrameLineParams *frame_line_params)
Overlays lines on the buffer.
void nvll_osd_destroy_context(void *nvosd_ctx)
Destroys an NvOSD context.
Holds the box parameters of the box to be overlayed.
NvOSD_Mode
List modes used to overlay boxes and text.
Holds information about a single buffer in a batch.
void * nvll_osd_create_context(void)
Creates an NvOSD context.
NvOSD_Mode mode
Holds OSD Mode to be used for processing.
void * nvll_osd_set_params(void *nvosd_ctx, int width, int height)
Sets the resolution of the frames on which the NvOSDContext will operate.
int num_strings
Holds number of strings.
struct _NvOSD_FrameRectParams NvOSD_FrameRectParams
int nvll_osd_put_text(void *nvosd_ctx, NvOSD_FrameTextParams *frame_text_params)
Overlays clock and given text at given location on a buffer.
NvOSD_TextParams * text_params_list
Holds text params of string.
Holds the box parameters of the line to be overlayed.
NVIDIA Multimedia Utilities: On-Screen Display Structure
Holds the text parameters of the text to be overlayed.
NvOSD_RectParams * rect_params_list
Holds params of Rectangles.
struct _NvOSD_FrameLineParams NvOSD_FrameLineParams
NvOSD_Mode mode
Holds OSD Mode to be used for processing.
NvBufSurfaceParams * buf_ptr
Holds pointer to the buffer containing frame.
int num_lines
Holds number of Lines.
int num_rects
Holds number of Rectangles.
void nvll_osd_set_clock_params(void *nvosd_ctx, NvOSD_TextParams *clk_params)
Sets clock parameters for the given context.
int nvll_osd_draw_rectangles(void *nvosd_ctx, NvOSD_FrameRectParams *frame_rect_params)
Overlays boxes at given location on a buffer.
NvOSD_Mode mode
Holds OSD Mode to be used for processing.