MHEG5  18.9.0
MHEG5 Documentation
Classes | Macros | Typedefs | Variables
mg_ctxt.h File Reference

Interface to OSD. More...

#include "mheg5_control.h"

Go to the source code of this file.

Classes

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

Definition in file mg_ctxt.h.

Macro Definition Documentation

#define BytesPerPixel (   cf)    ((cf + 7) >> 3)

Definition at line 69 of file mg_ctxt.h.

#define ELSE

Definition at line 66 of file mg_ctxt.h.

#define HD_W_SCALEUP (   w)    (((S32BIT)(w) * mg_ctxt.line_w.mlt) / mg_ctxt.line_w.div)

Definition at line 102 of file mg_ctxt.h.

#define HD_X_SCALEUP (   x)    (((S32BIT)(x) * mg_ctxt.osd_x.mlt) / mg_ctxt.osd_x.div)

Definition at line 104 of file mg_ctxt.h.

#define HD_Y_SCALEUP (   y)    (((S32BIT)(y) * mg_ctxt.osd_y.mlt) / mg_ctxt.osd_y.div)

Definition at line 106 of file mg_ctxt.h.

#define IF_COL_DEPTH (   cd)

Definition at line 65 of file mg_ctxt.h.

Typedef Documentation

typedef struct _MGContext S_MGContext
typedef struct s_ratio S_RATIO

Variable Documentation

S_MGContext mg_ctxt

Definition at line 144 of file mg_osd.c.