summaryrefslogtreecommitdiff
path: root/gs/src/gsbittab.c
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>1998-08-08 06:14:25 +0000
committerHenry Stiles <henry.stiles@artifex.com>1998-08-08 06:14:25 +0000
commita54bb96de84363bd3ffc7696805c268babc95954 (patch)
treeab95f514d2831fa22cecdf942d2530b656a66d9e /gs/src/gsbittab.c
parent3305477b99710b8ce6223a0bdd5014ced4de6997 (diff)
downloadghostpdl-a54bb96de84363bd3ffc7696805c268babc95954.tar.gz
This commit was generated by cvs2svn to compensate for changes in r279,
which included commits to RCS files with non-trunk default branches. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@280 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'gs/src/gsbittab.c')
-rw-r--r--gs/src/gsbittab.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/gs/src/gsbittab.c b/gs/src/gsbittab.c
index bff1caf88..3cf2ba2d9 100644
--- a/gs/src/gsbittab.c
+++ b/gs/src/gsbittab.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996 Aladdin Enterprises. All rights reserved.
+/* Copyright (C) 1995, 1996, 1997, 1998 Aladdin Enterprises. All rights reserved.
This file is part of Aladdin Ghostscript.
@@ -16,7 +16,7 @@
all copies.
*/
-/* gsbittab.c */
+/*Id: gsbittab.c */
/* Tables for bit operations */
#include "stdpre.h"
#include "gsbittab.h"
@@ -67,26 +67,26 @@ const byte byte_bit_run_length_0[256] =
{
r128(0), r64(1), r32(2), r16(3), r8(4), t8(5)
};
-const byte far_data byte_bit_run_length_1[256] =
+const byte byte_bit_run_length_1[256] =
{
r64(0), r32(1), r16(2), r8(3), t8(4),
r64(0), r32(1), r16(2), r8(3), t8(4)
};
-const byte far_data byte_bit_run_length_2[256] =
+const byte byte_bit_run_length_2[256] =
{
r32(0), r16(1), r8(2), t8(3),
r32(0), r16(1), r8(2), t8(3),
r32(0), r16(1), r8(2), t8(3),
r32(0), r16(1), r8(2), t8(3)
};
-const byte far_data byte_bit_run_length_3[256] =
+const byte byte_bit_run_length_3[256] =
{
r16(0), r8(1), t8(2), r16(0), r8(1), t8(2),
r16(0), r8(1), t8(2), r16(0), r8(1), t8(2),
r16(0), r8(1), t8(2), r16(0), r8(1), t8(2),
r16(0), r8(1), t8(2), r16(0), r8(1), t8(2)
};
-const byte far_data byte_bit_run_length_4[256] =
+const byte byte_bit_run_length_4[256] =
{
r8(0), t8(1), r8(0), t8(1), r8(0), t8(1), r8(0), t8(1),
r8(0), t8(1), r8(0), t8(1), r8(0), t8(1), r8(0), t8(1),
@@ -103,28 +103,28 @@ const byte far_data byte_bit_run_length_4[256] =
a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h,\
a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h,\
a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h, a,b,c,d,e,f,g,h
-const byte far_data byte_bit_run_length_5[256] =
+const byte byte_bit_run_length_5[256] =
{
rr8(0, 0, 0, 0, 1, 1, 2, 11)
};
-const byte far_data byte_bit_run_length_6[256] =
+const byte byte_bit_run_length_6[256] =
{
rr8(0, 0, 1, 10, 0, 0, 1, 10)
};
-const byte far_data byte_bit_run_length_7[256] =
+const byte byte_bit_run_length_7[256] =
{
rr8(0, 9, 0, 9, 0, 9, 0, 9)
};
/* Pointer tables indexed by bit number. */
-const byte *byte_bit_run_length[8] =
+const byte *const byte_bit_run_length[8] =
{byte_bit_run_length_0, byte_bit_run_length_1,
byte_bit_run_length_2, byte_bit_run_length_3,
byte_bit_run_length_4, byte_bit_run_length_5,
byte_bit_run_length_6, byte_bit_run_length_7
};
-const byte *byte_bit_run_length_neg[8] =
+const byte *const byte_bit_run_length_neg[8] =
{byte_bit_run_length_0, byte_bit_run_length_7,
byte_bit_run_length_6, byte_bit_run_length_5,
byte_bit_run_length_4, byte_bit_run_length_3,