pslim.c File Reference

implementation of pSLIM protocol More...

Go to the source code of this file.

Classes

struct  pslim_offset
 offsets in pmap[] and bmap[] More...

Defines

#define OFFSET(x, y, ptr, bytepp)   ptr += (y) * bwidth + (x) * (bytepp);

Functions

static void _bmap16msb (l4_uint8_t *, l4_uint8_t *, l4_uint32_t, l4_uint32_t, l4_uint32_t, l4_uint32_t, struct pslim_offset *, l4_uint32_t)
static void _bmap24msb (l4_uint8_t *, l4_uint8_t *, l4_uint32_t, l4_uint32_t, l4_uint32_t, l4_uint32_t, struct pslim_offset *, l4_uint32_t)
static void _bmap32msb (l4_uint8_t *, l4_uint8_t *, l4_uint32_t, l4_uint32_t, l4_uint32_t, l4_uint32_t, struct pslim_offset *, l4_uint32_t)
static void _bmap16lsb (l4_uint8_t *, l4_uint8_t *, l4_uint32_t, l4_uint32_t, l4_uint32_t, l4_uint32_t, struct pslim_offset *, l4_uint32_t)
static void _bmap24lsb (l4_uint8_t *, l4_uint8_t *, l4_uint32_t, l4_uint32_t, l4_uint32_t, l4_uint32_t, struct pslim_offset *, l4_uint32_t)
static void _bmap32lsb (l4_uint8_t *, l4_uint8_t *, l4_uint32_t, l4_uint32_t, l4_uint32_t, l4_uint32_t, struct pslim_offset *, l4_uint32_t)
static void _set16 (l4_uint8_t *, l4_uint8_t *, l4_uint32_t, l4_uint32_t, struct pslim_offset *, l4_uint32_t, l4_uint32_t)
static void _set24 (l4_uint8_t *, l4_uint8_t *, l4_uint32_t, l4_uint32_t, struct pslim_offset *, l4_uint32_t, l4_uint32_t)
static void _set32 (l4_uint8_t *, l4_uint8_t *, l4_uint32_t, l4_uint32_t, struct pslim_offset *, l4_uint32_t, l4_uint32_t)
static void _copy16 (l4_uint8_t *, l4_int16_t, l4_int16_t, l4_int16_t, l4_int16_t, l4_uint32_t, l4_uint32_t, l4_uint32_t)
static void _copy24 (l4_uint8_t *, l4_int16_t, l4_int16_t, l4_int16_t, l4_int16_t, l4_uint32_t, l4_uint32_t, l4_uint32_t)
static void _copy32 (l4_uint8_t *, l4_int16_t, l4_int16_t, l4_int16_t, l4_int16_t, l4_uint32_t, l4_uint32_t, l4_uint32_t)
static void _fill16 (l4_uint8_t *, l4_uint32_t, l4_uint32_t, l4_uint32_t, l4_uint32_t)
static void _fill24 (l4_uint8_t *, l4_uint32_t, l4_uint32_t, l4_uint32_t, l4_uint32_t)
static void _fill32 (l4_uint8_t *, l4_uint32_t, l4_uint32_t, l4_uint32_t, l4_uint32_t)
static void sw_bmap (struct l4con_vc *, l4_int16_t, l4_int16_t, l4_uint32_t, l4_uint32_t, l4_uint8_t *bmap, l4_uint32_t fgc, l4_uint32_t bgc, struct pslim_offset *, l4_uint8_t mode)
static void sw_set (struct l4con_vc *, l4_int16_t, l4_int16_t, l4_uint32_t, l4_uint32_t, l4_uint32_t, l4_uint32_t, l4_uint8_t *pmap, struct pslim_offset *)
static void sw_cscs (struct l4con_vc *, l4_int16_t, l4_int16_t, l4_uint32_t, l4_uint32_t, l4_uint8_t *y, l4_uint8_t *u, l4_uint8_t *v, l4_uint32_t scale, struct pslim_offset *, l4_uint8_t mode)
static l4_uint16_t set_rgb16 (l4_uint32_t r, l4_uint32_t g, l4_uint32_t b)
static l4_uint32_t set_rgb24 (l4_uint32_t r, l4_uint32_t g, l4_uint32_t b)
static int clip_rect (struct l4con_vc *vc, int from_user, l4con_pslim_rect_t *rect)
static int clip_rect_offset (struct l4con_vc *vc, int from_user, l4con_pslim_rect_t *rect, struct pslim_offset *offset)
static int clip_rect_dxy (struct l4con_vc *vc, int from_user, l4con_pslim_rect_t *rect, l4_int16_t *dx, l4_int16_t *dy)
void sw_fill (struct l4con_vc *vc, int x, int y, int w, int h, unsigned color)
void sw_copy (struct l4con_vc *vc, int x, int y, int w, int h, int dx, int dy)
void pslim_fill (struct l4con_vc *vc, int from_user, l4con_pslim_rect_t *rect, l4con_pslim_color_t color)
void pslim_bmap (struct l4con_vc *vc, int from_user, l4con_pslim_rect_t *rect, l4con_pslim_color_t fgc, l4con_pslim_color_t bgc, void *bmap, l4_uint8_t mode)
void pslim_set (struct l4con_vc *vc, int from_user, l4con_pslim_rect_t *rect, void *pmap)
void pslim_copy (struct l4con_vc *vc, int from_user, l4con_pslim_rect_t *rect, l4_int16_t dx, l4_int16_t dy)
void pslim_cscs (struct l4con_vc *vc, int from_user, l4con_pslim_rect_t *rect, void *y, void *u, void *v, l4_uint8_t mode, l4_uint32_t scale)

Variables

l4_offs_t vis_offs
 vis_vmem - gr_vmem.


Detailed Description

implementation of pSLIM protocol

Date:
2001
Author:
Christian Helmuth <ch12@os.inf.tu-dresden.de> Frank Mehnert <fm3@os.inf.tu-dresden.de>

Definition in file pslim.c.


Variable Documentation

l4_offs_t vis_offs

vis_vmem - gr_vmem.

vis_vmem - gr_vmem

Definition at line 33 of file gmode.c.


Generated on Wed Apr 11 06:37:05 2012 for DROPS Console: Internals by  doxygen 1.5.6