31 #define SRF_TYPE_TXT 0
32 #define SRF_TYPE_PNG 1
33 #define SRF_TYPE_JPG 2
34 #define SRF_TYPE_DLA 3
36 #ifndef MHEG_SCALE_ASPECT
37 #define MG_OSDMhegInit(x, y, s) MG_OSDMhegInit(x, y)
43 SCENE_ASPECT_UNSPECIFIED
96 void OSD_DbgListSrf(
void);
100 #define OSD_DbgAddSurf( s )
101 #define OSD_DbgRemSurf( s )
102 #define OSD_DbgListSurf()
U8BIT srf_type
Definition: mg_osd.h:55
struct s_surface S_SURFACE
const char * data
Definition: mh5gate.c:65
#define MG_OSDMhegInit(x, y, s)
Definition: mg_osd.h:37
Definition: osdtypes.h:43
U16BIT height
Definition: mg_osd.h:50
E_MhegErr
Definition: mherrors.h:28
uint8_t U8BIT
Definition: techtype.h:93
#define OSD_DbgRemSurf(s)
Definition: mg_osd.h:101
void * hw_handle
Definition: mg_osd.h:52
void MG_DisplayImage(S_SURFACE *data, S_REGION *overlap, S32BIT x, S32BIT y)
Copy the image to the screen buffer.
Definition: mg_osd.c:1186
void MG_Terminate(void)
Free all OSD resources.
Definition: mg_osd.c:347
#define OSD_DbgAddSurf(s)
Definition: mg_osd.h:100
int32_t S32BIT
Definition: techtype.h:98
uint16_t U16BIT
Definition: techtype.h:95
U8BIT opaque
Definition: mg_osd.h:54
U32BIT buff_pitch
Definition: mg_osd.h:53
void MG_OSDInit(U16BIT inWidth, U16BIT inHeight, U16BIT outWidth, U16BIT outHeight)
Definition: mg_osd.c:183
E_MhegErr MG_Initialise(U16BIT screenWidth, U16BIT screenHeight, U8BIT colourDepth)
Initialise OSD, font, and font fill information. Should only be called at start up.
Definition: mg_osd.c:262
U8BIT BOOLEAN
Definition: techtype.h:112
void * col_buff
Definition: mg_osd.h:51
BOOLEAN MG_IsHdSupported(void)
Definition: mg_osd.c:172
U16BIT width
Definition: mg_osd.h:49
uint32_t U32BIT
Definition: techtype.h:97