Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/types.h>
#include "STG4000Reg.h"
#include "STG4000Interface.h"
Go to the source code of this file.
Data Structures | |
struct | _OVRL_SRC_DEST |
Macros | |
#define | STG4000_NO_SCALING 0x800 |
#define | STG4000_NO_DECIMATION 0xFFFFFFFF |
#define | STG4000_PRIM_NUM_PIX 5 |
#define | STG4000_PRIM_ALIGN 4 |
#define | STG4000_PRIM_ADDR_BITS 20 |
#define | STG4000_PRIM_MIN_WIDTH 640 |
#define | STG4000_PRIM_MAX_WIDTH 1600 |
#define | STG4000_PRIM_MIN_HEIGHT 480 |
#define | STG4000_PRIM_MAX_HEIGHT 1200 |
#define | STG4000_OVRL_NUM_PIX 4 |
#define | STG4000_OVRL_ALIGN 2 |
#define | STG4000_OVRL_ADDR_BITS 20 |
#define | STG4000_OVRL_NUM_MODES 5 |
#define | STG4000_OVRL_MIN_WIDTH 0 |
#define | STG4000_OVRL_MAX_WIDTH 720 |
#define | STG4000_OVRL_MIN_HEIGHT 0 |
#define | STG4000_OVRL_MAX_HEIGHT 576 |
Typedefs | |
typedef struct _OVRL_SRC_DEST | OVRL_SRC_DEST |
Functions | |
void | ResetOverlayRegisters (volatile STG4000REG __iomem *pSTGReg) |
int | CreateOverlaySurface (volatile STG4000REG __iomem *pSTGReg, u32 inWidth, u32 inHeight, int bLinear, u32 ulOverlayOffset, u32 *retStride, u32 *retUVStride) |
int | SetOverlayBlendMode (volatile STG4000REG __iomem *pSTGReg, OVRL_BLEND_MODE mode, u32 ulAlpha, u32 ulColorKey) |
void | EnableOverlayPlane (volatile STG4000REG __iomem *pSTGReg) |
int | SetOverlayViewPort (volatile STG4000REG __iomem *pSTGReg, u32 left, u32 top, u32 right, u32 bottom) |
#define STG4000_NO_DECIMATION 0xFFFFFFFF |
Definition at line 22 of file STG4000OverlayDevice.c.
#define STG4000_NO_SCALING 0x800 |
Definition at line 21 of file STG4000OverlayDevice.c.
#define STG4000_OVRL_ADDR_BITS 20 |
Definition at line 37 of file STG4000OverlayDevice.c.
#define STG4000_OVRL_ALIGN 2 |
Definition at line 36 of file STG4000OverlayDevice.c.
#define STG4000_OVRL_MAX_HEIGHT 576 |
Definition at line 43 of file STG4000OverlayDevice.c.
#define STG4000_OVRL_MAX_WIDTH 720 |
Definition at line 41 of file STG4000OverlayDevice.c.
#define STG4000_OVRL_MIN_HEIGHT 0 |
Definition at line 42 of file STG4000OverlayDevice.c.
#define STG4000_OVRL_MIN_WIDTH 0 |
Definition at line 40 of file STG4000OverlayDevice.c.
#define STG4000_OVRL_NUM_MODES 5 |
Definition at line 38 of file STG4000OverlayDevice.c.
#define STG4000_OVRL_NUM_PIX 4 |
Definition at line 35 of file STG4000OverlayDevice.c.
#define STG4000_PRIM_ADDR_BITS 20 |
Definition at line 27 of file STG4000OverlayDevice.c.
#define STG4000_PRIM_ALIGN 4 |
Definition at line 26 of file STG4000OverlayDevice.c.
#define STG4000_PRIM_MAX_HEIGHT 1200 |
Definition at line 32 of file STG4000OverlayDevice.c.
#define STG4000_PRIM_MAX_WIDTH 1600 |
Definition at line 30 of file STG4000OverlayDevice.c.
#define STG4000_PRIM_MIN_HEIGHT 480 |
Definition at line 31 of file STG4000OverlayDevice.c.
#define STG4000_PRIM_MIN_WIDTH 640 |
Definition at line 29 of file STG4000OverlayDevice.c.
#define STG4000_PRIM_NUM_PIX 5 |
Definition at line 25 of file STG4000OverlayDevice.c.
typedef struct _OVRL_SRC_DEST OVRL_SRC_DEST |
int CreateOverlaySurface | ( | volatile STG4000REG __iomem * | pSTGReg, |
u32 | inWidth, | ||
u32 | inHeight, | ||
int | bLinear, | ||
u32 | ulOverlayOffset, | ||
u32 * | retStride, | ||
u32 * | retUVStride | ||
) |
Definition at line 140 of file STG4000OverlayDevice.c.
void EnableOverlayPlane | ( | volatile STG4000REG __iomem * | pSTGReg | ) |
Definition at line 288 of file STG4000OverlayDevice.c.
void ResetOverlayRegisters | ( | volatile STG4000REG __iomem * | pSTGReg | ) |
Definition at line 79 of file STG4000OverlayDevice.c.
int SetOverlayBlendMode | ( | volatile STG4000REG __iomem * | pSTGReg, |
OVRL_BLEND_MODE | mode, | ||
u32 | ulAlpha, | ||
u32 | ulColorKey | ||
) |
Definition at line 242 of file STG4000OverlayDevice.c.
int SetOverlayViewPort | ( | volatile STG4000REG __iomem * | pSTGReg, |
u32 | left, | ||
u32 | top, | ||
u32 | right, | ||
u32 | bottom | ||
) |
Definition at line 317 of file STG4000OverlayDevice.c.