ref: 63beb9c3beb1b0a0ab3579ab8e7b17b02c0f76f9
parent: 6c00475e659e7f29c142e879ec3dd9d4b5375ee5
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Sun Jul 7 16:38:26 EDT 2002
minor rename git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@111 ded80894-8fb9-0310-811b-c03f3676ab4d
--- a/jbig2_page.c
+++ b/jbig2_page.c
@@ -8,7 +8,7 @@
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
- $Id: jbig2_page.c,v 1.8 2002/07/04 16:33:44 giles Exp $
+ $Id: jbig2_page.c,v 1.9 2002/07/07 20:38:26 giles Exp $
*/
#include <stdlib.h>
@@ -53,7 +53,7 @@
* buffer for the page (or the first stripe)
**/
int
-jbig2_read_page_info (Jbig2Ctx *ctx, Jbig2Segment *segment, const byte *segment_data)
+jbig2_parse_page_info (Jbig2Ctx *ctx, Jbig2Segment *segment, const byte *segment_data)
{
Jbig2Page *page;
--- a/jbig2_priv.h
+++ b/jbig2_priv.h
@@ -8,7 +8,7 @@
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
- $Id: jbig2_priv.h,v 1.11 2002/07/04 13:34:29 giles Exp $
+ $Id: jbig2_priv.h,v 1.12 2002/07/07 20:38:26 giles Exp $
shared library internals
*/
@@ -110,7 +110,7 @@
Jbig2Image *image;
};
-int jbig2_read_page_info (Jbig2Ctx *ctx, Jbig2Segment *segment, const byte *segment_data);
+int jbig2_parse_page_info (Jbig2Ctx *ctx, Jbig2Segment *segment, const byte *segment_data);
int jbig2_complete_page (Jbig2Ctx *ctx, Jbig2Segment *segment, const byte *segment_data);
typedef enum {
@@ -133,7 +133,7 @@
} Jbig2RegionSegmentInfo;
void jbig2_get_region_segment_info(Jbig2RegionSegmentInfo *info, const byte *segment_data);
-int jbig2_read_text_info(Jbig2Ctx *ctx, Jbig2Segment *segment, const byte *segment_data);
+int jbig2_parse_text_region(Jbig2Ctx *ctx, Jbig2Segment *segment, const byte *segment_data);
/* 7.4 */
int jbig2_immediate_generic_region(Jbig2Ctx *ctx, Jbig2Segment *segment,
--- a/jbig2_segment.c
+++ b/jbig2_segment.c
@@ -8,7 +8,7 @@
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
- $Id: jbig2_segment.c,v 1.12 2002/07/07 20:30:56 giles Exp $
+ $Id: jbig2_segment.c,v 1.13 2002/07/07 20:38:26 giles Exp $
*/
#include <stdlib.h> /* size_t */
@@ -141,7 +141,7 @@
case 4: /* intermediate text region */
case 6: /* immediate text region */
case 7: /* immediate lossless text region */
- return jbig2_read_text_info(ctx, segment, segment_data);
+ return jbig2_parse_text_region(ctx, segment, segment_data);
case 16:
return jbig2_error(ctx, JBIG2_SEVERITY_WARNING, segment->number,
"unhandled segment type 'pattern dictionary'");
@@ -172,7 +172,7 @@
return jbig2_error(ctx, JBIG2_SEVERITY_WARNING, segment->number,
"unhandled segment type 'immediate lossless generic refinement region'");
case 48:
- return jbig2_read_page_info(ctx, segment, segment_data);
+ return jbig2_parse_page_info(ctx, segment, segment_data);
case 49:
return jbig2_complete_page(ctx, segment, segment_data);
case 50:
--- a/jbig2_text.c
+++ b/jbig2_text.c
@@ -8,7 +8,7 @@
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
- $Id: jbig2_text.c,v 1.10 2002/07/07 20:30:57 giles Exp $
+ $Id: jbig2_text.c,v 1.11 2002/07/07 20:38:26 giles Exp $
*/
#include <stddef.h>
@@ -293,7 +293,7 @@
* jbig2_read_text_info: read a text region segment header
**/
int
-jbig2_read_text_info(Jbig2Ctx *ctx, Jbig2Segment *segment, const byte *segment_data)
+jbig2_parse_text_region(Jbig2Ctx *ctx, Jbig2Segment *segment, const byte *segment_data)
{
int offset = 0;
Jbig2RegionSegmentInfo region_info;