/[rdesktop]/sourceforge.net/trunk/rdesktop/bitmap.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/bitmap.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 318 by astrand, Mon Feb 10 12:58:51 2003 UTC revision 345 by forsberg, Thu Mar 27 13:08:57 2003 UTC
# Line 1  Line 1 
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
# Line 22  Line 22 
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;
# Line 31  cvalx(unsigned char **input, int Bpp) Line 31  cvalx(unsigned char **input, int Bpp)
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;

Legend:
Removed from v.318  
changed lines
  Added in v.345

  ViewVC Help
Powered by ViewVC 1.1.26