summaryrefslogtreecommitdiff
path: root/pxl
diff options
context:
space:
mode:
authorStefan Kemper <stefan.kemper@artifex.com>2003-09-10 18:14:09 +0000
committerStefan Kemper <stefan.kemper@artifex.com>2003-09-10 18:14:09 +0000
commit3ae5608d31b74c4700f0ab9bdae7672af833127b (patch)
treeee0aacc2f283ca5ed69152b1c0fea182f8b0628d /pxl
parent7bcdca0b5aed75d145a41c9e02be5ef7c2f9caf0 (diff)
adding memory_t ptr to stream process functions
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1959 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'pxl')
-rw-r--r--pxl/pximage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pxl/pximage.c b/pxl/pximage.c
index 028765667..6e9d4232a 100644
--- a/pxl/pximage.c
+++ b/pxl/pximage.c
@@ -223,7 +223,7 @@ read_jpeg_bitmap_data(px_bitmap_enum_t *benum, byte **pdata, px_args_t *par)
w.ptr = data + pos_in_row - 1;
w.limit = data + data_per_row - 1;
- (*s_DCTD_template.process)((stream_state *)ss, &r, &w, false);
+ (*s_DCTD_template.process)(ss->memory, (stream_state *)ss, &r, &w, false);
used = w.ptr + 1 - data - pos_in_row;
pos_in_row += used;
par->source.position += used;
@@ -309,7 +309,7 @@ read_rle_bitmap_data(px_bitmap_enum_t *benum, byte **pdata, px_args_t *par)
w.ptr = data + pos_in_row - 1;
w.limit = data + data_per_row - 1;
- (*s_RLD_template.process)((stream_state *)ss, &r, &w, false);
+ (*s_RLD_template.process)(ss->memory, (stream_state *)ss, &r, &w, false);
used = w.ptr + 1 - data - pos_in_row;
pos_in_row += used;
par->source.position += used;
@@ -320,7 +320,7 @@ read_rle_bitmap_data(px_bitmap_enum_t *benum, byte **pdata, px_args_t *par)
w.ptr = pad - 1;
w.limit = w.ptr + data_per_row_padded - pos_in_row;
- (*s_RLD_template.process)((stream_state *)ss, &r, &w, false);
+ (*s_RLD_template.process)(ss->memory, (stream_state *)ss, &r, &w, false);
used = w.ptr + 1 - pad;
pos_in_row += used;
par->source.position += used;