ISVP-SDK  3.12.0
Ingenic Smart Video Platform SDK
Data Structures | Macros | Typedefs | Enumerations | Functions
imp_osd.h File Reference

IMP OSD module header file. More...

#include "imp_common.h"
Include dependency graph for imp_osd.h:

Go to the source code of this file.

Data Structures

struct  lineRectData
 OSD region line and rectangle data. More...
 
struct  coverData
 OSD region cover data. More...
 
struct  picData
 OSD region picture data. More...
 
union  IMPOSDRgnAttrData
 OSD region attribute data. More...
 
struct  IMPOSDRgnAttr
 OSD region attribute data. More...
 
struct  IMPOSDRgnTimestamp
 OSD Rgn vaild timestamp. More...
 
struct  IMPOSDGrpRgnAttr
 OSD group region attribute. More...
 

Macros

#define INVHANDLE   (-1)
 Error return value.
 

Typedefs

typedef int IMPRgnHandle
 OSD region handle.
 

Enumerations

enum  IMPOsdColour {
  OSD_BLACK = 0xff000000, OSD_WHITE = 0xffffffff, OSD_RED = 0xffff0000, OSD_GREEN = 0xff00ff00,
  OSD_BLUE = 0xff0000ff
}
 OSD color type, color format is bgra. More...
 
enum  IMPOsdRgnType {
  OSD_REG_INV = 0, OSD_REG_LINE = 1, OSD_REG_RECT = 2, OSD_REG_BITMAP = 3,
  OSD_REG_COVER = 4, OSD_REG_PIC = 5
}
 OSD region type. More...
 

Functions

int IMP_OSD_CreateGroup (int grpNum)
 create OSD group More...
 
int IMP_OSD_DestroyGroup (int grpNum)
 destory OSD group More...
 
int IMP_OSD_AttachToGroup (IMPCell *from, IMPCell *to)
 Adding OSD group to the system. More...
 
IMPRgnHandle IMP_OSD_CreateRgn (IMPOSDRgnAttr *prAttr)
 Create OSD region. More...
 
void IMP_OSD_DestroyRgn (IMPRgnHandle handle)
 Destory OSD region. More...
 
int IMP_OSD_RegisterRgn (IMPRgnHandle handle, int grpNum, IMPOSDGrpRgnAttr *pgrAttr)
 Register OSD region. More...
 
int IMP_OSD_UnRegisterRgn (IMPRgnHandle handle, int grpNum)
 Register OSD region. More...
 
int IMP_OSD_SetRgnAttr (IMPRgnHandle handle, IMPOSDRgnAttr *prAttr)
 Set region properties. More...
 
int IMP_OSD_SetRgnAttrWithTimestamp (IMPRgnHandle handle, IMPOSDRgnAttr *prAttr, IMPOSDRgnTimestamp *prTs)
 Set region properties and effective time. More...
 
int IMP_OSD_GetRgnAttr (IMPRgnHandle handle, IMPOSDRgnAttr *prAttr)
 Get region attribute. More...
 
int IMP_OSD_UpdateRgnAttrData (IMPRgnHandle handle, IMPOSDRgnAttrData *prAttrData)
 Update the regional data attribute, only for OSD_REG_BITMAP and OSD_REG_PIC regional types. More...
 
int IMP_OSD_SetGrpRgnAttr (IMPRgnHandle handle, int grpNum, IMPOSDGrpRgnAttr *pgrAttr)
 Set OSD group region attributes. More...
 
int IMP_OSD_GetGrpRgnAttr (IMPRgnHandle handle, int grpNum, IMPOSDGrpRgnAttr *pgrAttr)
 Get OSD group region attributes. More...
 
int IMP_OSD_ShowRgn (IMPRgnHandle handle, int grpNum, int showFlag)
 Set whether the group region is displayed or not. More...
 
int IMP_OSD_Start (int grpNum)
 Set start OSD group display. More...
 
int IMP_OSD_Stop (int grpNum)
 Set the display to stop the OSD group. More...
 

Detailed Description

IMP OSD module header file.