MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
Data Structures | Macros | Typedefs | Variables
mg_ctxt.h File Reference

Interface to OSD. More...

#include "mheg5_control.h"

Go to the source code of this file.

Data Structures

struct  s_ratio
 
struct  _MGContext
 

Macros

#define IF_COL_DEPTH(cd)
 
#define ELSE
 
#define BytesPerPixel(cf)   ((cf + 7) >> 3)
 
#define HD_W_SCALEUP(w)   (((S32BIT)(w) * mg_ctxt.line_w.mlt) / mg_ctxt.line_w.div)
 
#define HD_X_SCALEUP(x)   (((S32BIT)(x) * mg_ctxt.osd_x.mlt) / mg_ctxt.osd_x.div)
 
#define HD_Y_SCALEUP(y)   (((S32BIT)(y) * mg_ctxt.osd_y.mlt) / mg_ctxt.osd_y.div)
 

Typedefs

typedef struct s_ratio S_RATIO
 
typedef struct _MGContext S_MGContext
 

Variables

S_MGContext mg_ctxt
 

Detailed Description

Interface to OSD.

Date
08/12/2009
Author
Adam Sturtridge