Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
7858 views
1
#ifndef MUPDF_FITZ_FILTER_H
2
#define MUPDF_FITZ_FILTER_H
3
4
#include "mupdf/fitz/system.h"
5
#include "mupdf/fitz/context.h"
6
#include "mupdf/fitz/buffer.h"
7
#include "mupdf/fitz/store.h"
8
#include "mupdf/fitz/stream.h"
9
10
typedef struct fz_jbig2_globals_s fz_jbig2_globals;
11
12
fz_stream *fz_open_copy(fz_context *ctx, fz_stream *chain);
13
fz_stream *fz_open_null(fz_context *ctx, fz_stream *chain, int len, int offset);
14
fz_stream *fz_open_concat(fz_context *ctx, int max, int pad);
15
void fz_concat_push(fz_context *ctx, fz_stream *concat, fz_stream *chain); /* Ownership of chain is passed in */
16
fz_stream *fz_open_arc4(fz_context *ctx, fz_stream *chain, unsigned char *key, unsigned keylen);
17
fz_stream *fz_open_aesd(fz_context *ctx, fz_stream *chain, unsigned char *key, unsigned keylen);
18
fz_stream *fz_open_a85d(fz_context *ctx, fz_stream *chain);
19
fz_stream *fz_open_ahxd(fz_context *ctx, fz_stream *chain);
20
fz_stream *fz_open_rld(fz_context *ctx, fz_stream *chain);
21
fz_stream *fz_open_dctd(fz_context *ctx, fz_stream *chain, int color_transform, int l2factor, fz_stream *jpegtables);
22
fz_stream *fz_open_faxd(fz_context *ctx, fz_stream *chain,
23
int k, int end_of_line, int encoded_byte_align,
24
int columns, int rows, int end_of_block, int black_is_1);
25
fz_stream *fz_open_flated(fz_context *ctx, fz_stream *chain, int window_bits);
26
fz_stream *fz_open_lzwd(fz_context *ctx, fz_stream *chain, int early_change);
27
fz_stream *fz_open_predict(fz_context *ctx, fz_stream *chain, int predictor, int columns, int colors, int bpc);
28
fz_stream *fz_open_jbig2d(fz_context *ctx, fz_stream *chain, fz_jbig2_globals *globals);
29
30
fz_jbig2_globals *fz_load_jbig2_globals(fz_context *ctx, unsigned char *data, int size);
31
void fz_drop_jbig2_globals_imp(fz_context *ctx, fz_storable *globals);
32
33
#endif
34
35