summaryrefslogtreecommitdiffstats
path: root/libvncserver
diff options
context:
space:
mode:
authordscho <dscho>2004-06-18 09:18:22 +0000
committerdscho <dscho>2004-06-18 09:18:22 +0000
commit2a4a0f487e3db626876dbf6ae9aa17d6dc4434e0 (patch)
tree33b0d674229127ac0f898b455a3c7afd3fdc99fb /libvncserver
parent1589d04d500e7c89b91ebe828ff02a430355de28 (diff)
downloadlibtdevnc-2a4a0f487e3db626876dbf6ae9aa17d6dc4434e0.tar.gz
libtdevnc-2a4a0f487e3db626876dbf6ae9aa17d6dc4434e0.zip
convert c++ comments to c comments
Diffstat (limited to 'libvncserver')
-rw-r--r--libvncserver/zrleencodetemplate.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libvncserver/zrleencodetemplate.c b/libvncserver/zrleencodetemplate.c
index a1772ae..78bcb24 100644
--- a/libvncserver/zrleencodetemplate.c
+++ b/libvncserver/zrleencodetemplate.c
@@ -134,15 +134,15 @@ void ZRLE_ENCODE_TILE (PIXEL_T* data, int w, int h, zrleOutStream* os)
return;
}
- // Try to work out whether to use RLE and/or a palette. We do this by
- // estimating the number of bytes which will be generated and picking the
- // method which results in the fewest bytes. Of course this may not result
- // in the fewest bytes after compression...
+ /* Try to work out whether to use RLE and/or a palette. We do this by
+ estimating the number of bytes which will be generated and picking the
+ method which results in the fewest bytes. Of course this may not result
+ in the fewest bytes after compression... */
useRle = FALSE;
usePalette = FALSE;
- estimatedBytes = w * h * (BPPOUT/8); // start assuming raw
+ estimatedBytes = w * h * (BPPOUT/8); /* start assuming raw */
plainRleBytes = ((BPPOUT/8)+1) * (runs + singlePixels);
@@ -216,13 +216,13 @@ void ZRLE_ENCODE_TILE (PIXEL_T* data, int w, int h, zrleOutStream* os)
} else {
- // no RLE
+ /* no RLE */
if (usePalette) {
int bppp;
PIXEL_T* ptr = data;
- // packed pixels
+ /* packed pixels */
assert (ph->size < 17);
@@ -251,7 +251,7 @@ void ZRLE_ENCODE_TILE (PIXEL_T* data, int w, int h, zrleOutStream* os)
}
} else {
- // raw
+ /* raw */
#ifdef CPIXEL
PIXEL_T *ptr;