1 |
/* |
/* -*- c-basic-offset: 8 -*- |
2 |
rdesktop: A Remote Desktop Protocol client. |
rdesktop: A Remote Desktop Protocol client. |
3 |
Bitmap decompression routines |
Bitmap decompression routines |
4 |
Copyright (C) Matthew Chapman 1999-2002 |
Copyright (C) Matthew Chapman 1999-2002 |
22 |
|
|
23 |
#define CVAL(p) (*(p++)) |
#define CVAL(p) (*(p++)) |
24 |
|
|
25 |
uint32 |
static uint32 |
26 |
cvalx(unsigned char **input, int Bpp) |
cvalx(unsigned char **input, int Bpp) |
27 |
{ |
{ |
28 |
uint32 rv = 0; |
uint32 rv = 0; |
31 |
return rv; |
return rv; |
32 |
} |
} |
33 |
|
|
34 |
void |
static void |
35 |
setli(unsigned char *input, int offset, uint32 value, int Bpp) |
setli(unsigned char *input, int offset, uint32 value, int Bpp) |
36 |
{ |
{ |
37 |
input += offset * Bpp; |
input += offset * Bpp; |
38 |
memcpy(input, &value, Bpp); |
memcpy(input, &value, Bpp); |
39 |
} |
} |
40 |
|
|
41 |
uint32 |
static uint32 |
42 |
getli(unsigned char *input, int offset, int Bpp) |
getli(unsigned char *input, int offset, int Bpp) |
43 |
{ |
{ |
44 |
uint32 rv = 0; |
uint32 rv = 0; |