diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-12-28 14:22:28 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-12-28 14:22:28 +0000 |
commit | 954d7e9021f276f3bc0a0b8d9d0c7f7d77647642 (patch) | |
tree | 8f76c54921a49b877dfefb4f209753868f83524c /Build/source/texk/dvipdfm-x/pdfobj.h | |
parent | 813b4d405bc2fa02cb6a1fa04ec8cb1aff22dd86 (diff) |
texk/dvipdfm-x: patches from S. Hirata
git-svn-id: svn://tug.org/texlive/trunk@39216 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/pdfobj.h')
-rw-r--r-- | Build/source/texk/dvipdfm-x/pdfobj.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Build/source/texk/dvipdfm-x/pdfobj.h b/Build/source/texk/dvipdfm-x/pdfobj.h index 048a4a958b9..8c47f27ba69 100644 --- a/Build/source/texk/dvipdfm-x/pdfobj.h +++ b/Build/source/texk/dvipdfm-x/pdfobj.h @@ -25,6 +25,7 @@ #include <stdio.h> + /* Here is the complete list of PDF object types */ #define PDF_BOOLEAN 1 @@ -41,6 +42,7 @@ #define PDF_OBJ_INVALID 0 #define STREAM_COMPRESS (1 << 0) +#define STREAM_USE_PREDICTOR (1 << 1) /* A deeper object hierarchy will be considered as (illegal) loop. */ #define PDF_OBJ_MAX_DEPTH 30 @@ -160,10 +162,9 @@ extern void pdf_stream_set_flags (pdf_obj *stream, int flags); extern int pdf_stream_get_flags (pdf_obj *stream); #endif extern const void *pdf_stream_dataptr (pdf_obj *stream); - -#if 0 -extern int pdf_stream_pop_filter (pdf_obj *stream); -#endif +extern void pdf_stream_set_predictor (pdf_obj *stream, + int predictor, int32_t columns, + int bpc, int colors); /* Compare label of two indirect reference object. */ @@ -173,6 +174,7 @@ extern int pdf_compare_reference (pdf_obj *ref1, pdf_obj *ref2); */ extern void pdf_set_compression (int level); +extern void pdf_set_use_predictor (int bval); extern void pdf_set_info (pdf_obj *obj); extern void pdf_set_root (pdf_obj *obj); |