Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations
STG4000Reg.h File Reference

Go to the source code of this file.

Data Structures

struct  STG4000REG
 

Macros

#define DWFILL   unsigned long :32
 
#define WFILL   unsigned short :16
 
#define STG_WRITE_REG(reg, data)   (pSTGReg->reg = data)
 
#define STG_READ_REG(reg)   (pSTGReg->reg)
 
#define SET_BIT(n)   (1<<(n))
 
#define CLEAR_BIT(n)   (tmp &= ~(1<<n))
 
#define CLEAR_BITS_FRM_TO(frm, to)
 
#define CLEAR_BIT_2(n)   (usTemp &= ~(1<<n))
 
#define CLEAR_BITS_FRM_TO_2(frm, to)
 

Typedefs

typedef enum _LUT_USES LUT_USES
 
typedef enum _PIXEL_FORMAT PIXEL_FORMAT
 
typedef enum _BLEND_MODE OVRL_BLEND_MODE
 
typedef enum _OVRL_PIX_FORMAT OVRL_PIX_FORMAT
 

Enumerations

enum  _LUT_USES { NO_LUT = 0, RESERVED, GRAPHICS, OVERLAY }
 
enum  _PIXEL_FORMAT {
  _8BPP = 0, _15BPP, _16BPP, _24BPP,
  _32BPP
}
 
enum  _BLEND_MODE {
  GRAPHICS_MODE = 0, COLOR_KEY, PER_PIXEL_ALPHA, GLOBAL_ALPHA,
  CK_PIXEL_ALPHA, CK_GLOBAL_ALPHA
}
 
enum  _OVRL_PIX_FORMAT { UYVY, VYUY, YUYV, YVYU }
 

Macro Definition Documentation

#define CLEAR_BIT (   n)    (tmp &= ~(1<<n))

Definition at line 32 of file STG4000Reg.h.

#define CLEAR_BIT_2 (   n)    (usTemp &= ~(1<<n))

Definition at line 42 of file STG4000Reg.h.

#define CLEAR_BITS_FRM_TO (   frm,
  to 
)
Value:
{\
int i; \
for(i = frm; i<= to; i++) \
{ \
tmp &= ~(1<<i); \
} \
}

Definition at line 33 of file STG4000Reg.h.

#define CLEAR_BITS_FRM_TO_2 (   frm,
  to 
)
Value:
{\
int i; \
for(i = frm; i<= to; i++) \
{ \
usTemp &= ~(1<<i); \
} \
}

Definition at line 43 of file STG4000Reg.h.

#define DWFILL   unsigned long :32

Definition at line 14 of file STG4000Reg.h.

#define SET_BIT (   n)    (1<<(n))

Definition at line 31 of file STG4000Reg.h.

#define STG_READ_REG (   reg)    (pSTGReg->reg)

Definition at line 28 of file STG4000Reg.h.

#define STG_WRITE_REG (   reg,
  data 
)    (pSTGReg->reg = data)

Definition at line 27 of file STG4000Reg.h.

#define WFILL   unsigned short :16

Definition at line 15 of file STG4000Reg.h.

Typedef Documentation

typedef enum _LUT_USES LUT_USES

Enumeration Type Documentation

Enumerator:
GRAPHICS_MODE 
COLOR_KEY 
PER_PIXEL_ALPHA 
GLOBAL_ALPHA 
CK_PIXEL_ALPHA 
CK_GLOBAL_ALPHA 

Definition at line 63 of file STG4000Reg.h.

enum _LUT_USES
Enumerator:
NO_LUT 
RESERVED 
GRAPHICS 
OVERLAY 

Definition at line 53 of file STG4000Reg.h.

Enumerator:
UYVY 
VYUY 
YUYV 
YVYU 

Definition at line 69 of file STG4000Reg.h.

Enumerator:
_8BPP 
_15BPP 
_16BPP 
_24BPP 
_32BPP 

Definition at line 58 of file STG4000Reg.h.