Vanilla.PDF  1.6.0
Cross-platform toolkit for creating and modifying PDF documents
c_filter.h
Go to the documentation of this file.
1#ifndef _C_FILTER_H
2#define _C_FILTER_H
3
7
8#ifdef __cplusplus
9extern "C"
10{
11#endif
12
70 VANILLAPDF_API error_type CALLING_CONVENTION FilterBase_Encode(FilterBaseHandle* handle, BufferHandle* data, BufferHandle** result);
71
75 VANILLAPDF_API error_type CALLING_CONVENTION FilterBase_EncodeParams(FilterBaseHandle* handle, BufferHandle* data, DictionaryObjectHandle* parameters, BufferHandle** result);
76
80 VANILLAPDF_API error_type CALLING_CONVENTION FilterBase_Decode(FilterBaseHandle* handle, BufferHandle* data, BufferHandle** result);
81
86 VANILLAPDF_API error_type CALLING_CONVENTION FilterBase_Release(FilterBaseHandle* handle);
87
98 VANILLAPDF_API error_type CALLING_CONVENTION FlateDecodeFilter_Create(FlateDecodeFilterHandle** result);
99
104 VANILLAPDF_API error_type CALLING_CONVENTION FlateDecodeFilter_Encode(FlateDecodeFilterHandle* handle, BufferHandle* data, BufferHandle** result);
105
110 VANILLAPDF_API error_type CALLING_CONVENTION FlateDecodeFilter_EncodeParams(FlateDecodeFilterHandle* handle, BufferHandle* data, DictionaryObjectHandle* parameters, BufferHandle** result);
111
116 VANILLAPDF_API error_type CALLING_CONVENTION FlateDecodeFilter_Decode(FlateDecodeFilterHandle* handle, BufferHandle* data, BufferHandle** result);
117
121 VANILLAPDF_API error_type CALLING_CONVENTION FlateDecodeFilter_Release(FlateDecodeFilterHandle* handle);
122
133 VANILLAPDF_API error_type CALLING_CONVENTION DCTDecodeFilter_Create(DCTDecodeFilterHandle** result);
134
139 VANILLAPDF_API error_type CALLING_CONVENTION DCTDecodeFilter_Encode(DCTDecodeFilterHandle* handle, BufferHandle* data, BufferHandle** result);
140
145 VANILLAPDF_API error_type CALLING_CONVENTION DCTDecodeFilter_EncodeParams(DCTDecodeFilterHandle* handle, BufferHandle* data, DictionaryObjectHandle* parameters, BufferHandle** result);
146
151 VANILLAPDF_API error_type CALLING_CONVENTION DCTDecodeFilter_Decode(DCTDecodeFilterHandle* handle, BufferHandle* data, BufferHandle** result);
152
156 VANILLAPDF_API error_type CALLING_CONVENTION DCTDecodeFilter_Release(DCTDecodeFilterHandle* handle);
157
168 VANILLAPDF_API error_type CALLING_CONVENTION ASCII85DecodeFilter_Create(ASCII85DecodeFilterHandle** result);
169
174 VANILLAPDF_API error_type CALLING_CONVENTION ASCII85DecodeFilter_Encode(ASCII85DecodeFilterHandle* handle, BufferHandle* data, BufferHandle** result);
175
180 VANILLAPDF_API error_type CALLING_CONVENTION ASCII85DecodeFilter_EncodeParams(ASCII85DecodeFilterHandle* handle, BufferHandle* data, DictionaryObjectHandle* parameters, BufferHandle** result);
181
186 VANILLAPDF_API error_type CALLING_CONVENTION ASCII85DecodeFilter_Decode(ASCII85DecodeFilterHandle* handle, BufferHandle* data, BufferHandle** result);
187
191 VANILLAPDF_API error_type CALLING_CONVENTION ASCII85DecodeFilter_Release(ASCII85DecodeFilterHandle* handle);
192
203 VANILLAPDF_API error_type CALLING_CONVENTION ASCIIHexDecodeFilter_Create(ASCIIHexDecodeFilterHandle** result);
204
209 VANILLAPDF_API error_type CALLING_CONVENTION ASCIIHexDecodeFilter_Encode(ASCIIHexDecodeFilterHandle* handle, BufferHandle* data, BufferHandle** result);
210
215 VANILLAPDF_API error_type CALLING_CONVENTION ASCIIHexDecodeFilter_EncodeParams(ASCIIHexDecodeFilterHandle* handle, BufferHandle* data, DictionaryObjectHandle* parameters, BufferHandle** result);
216
221 VANILLAPDF_API error_type CALLING_CONVENTION ASCIIHexDecodeFilter_Decode(ASCIIHexDecodeFilterHandle* handle, BufferHandle* data, BufferHandle** result);
222
226 VANILLAPDF_API error_type CALLING_CONVENTION ASCIIHexDecodeFilter_Release(ASCIIHexDecodeFilterHandle* handle);
227
230#ifdef __cplusplus
231};
232#endif
233
234#endif /* _C_FILTER_H */
This file contains macro declarations for importing and exporting symbols from library boundaries.
This file contains all type forward declarations returned by the library API.
This file contains types and constants used as parameters or return values.
The ASCII85Decode filter decodes data that has been encoded in ASCII base-85 encoding and produces bi...
error_type CALLING_CONVENTION ASCII85DecodeFilter_EncodeParams(ASCII85DecodeFilterHandle *handle, BufferHandle *data, DictionaryObjectHandle *parameters, BufferHandle **result)
Encodes source data and returns encoded result data.
error_type CALLING_CONVENTION ASCII85DecodeFilter_Encode(ASCII85DecodeFilterHandle *handle, BufferHandle *data, BufferHandle **result)
Encodes source data and returns encoded result data.
error_type CALLING_CONVENTION ASCII85DecodeFilter_Release(ASCII85DecodeFilterHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION ASCII85DecodeFilter_Decode(ASCII85DecodeFilterHandle *handle, BufferHandle *data, BufferHandle **result)
Decodes source data and returns decoded result data.
error_type CALLING_CONVENTION ASCII85DecodeFilter_Create(ASCII85DecodeFilterHandle **result)
Creates a new filter instance.
The ASCIIHexDecode filter decodes data that has been encoded in ASCII hexadecimal form.
error_type CALLING_CONVENTION ASCIIHexDecodeFilter_EncodeParams(ASCIIHexDecodeFilterHandle *handle, BufferHandle *data, DictionaryObjectHandle *parameters, BufferHandle **result)
Encodes source data and returns encoded result data.
error_type CALLING_CONVENTION ASCIIHexDecodeFilter_Release(ASCIIHexDecodeFilterHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION ASCIIHexDecodeFilter_Create(ASCIIHexDecodeFilterHandle **result)
Creates a new filter instance.
error_type CALLING_CONVENTION ASCIIHexDecodeFilter_Encode(ASCIIHexDecodeFilterHandle *handle, BufferHandle *data, BufferHandle **result)
Encodes source data and returns encoded result data.
error_type CALLING_CONVENTION ASCIIHexDecodeFilter_Decode(ASCIIHexDecodeFilterHandle *handle, BufferHandle *data, BufferHandle **result)
Decodes source data and returns decoded result data.
Represents memory stored data.
The DCTDecode filter decodes grayscale or colour image data that has been encoded in the JPEG baselin...
error_type CALLING_CONVENTION DCTDecodeFilter_Encode(DCTDecodeFilterHandle *handle, BufferHandle *data, BufferHandle **result)
Encodes source data and returns encoded result data.
error_type CALLING_CONVENTION DCTDecodeFilter_Create(DCTDecodeFilterHandle **result)
Creates a new filter instance.
error_type CALLING_CONVENTION DCTDecodeFilter_EncodeParams(DCTDecodeFilterHandle *handle, BufferHandle *data, DictionaryObjectHandle *parameters, BufferHandle **result)
Encodes source data and returns encoded result data.
error_type CALLING_CONVENTION DCTDecodeFilter_Decode(DCTDecodeFilterHandle *handle, BufferHandle *data, BufferHandle **result)
Decodes source data and returns decoded result data.
error_type CALLING_CONVENTION DCTDecodeFilter_Release(DCTDecodeFilterHandle *handle)
Decrement the internal reference counter.
A dictionary object is an associative table containing pairs of objects.
Base class for all compression filters.
error_type CALLING_CONVENTION FilterBase_Decode(FilterBaseHandle *handle, BufferHandle *data, BufferHandle **result)
Decodes source data and returns decoded result data.
error_type CALLING_CONVENTION FilterBase_Release(FilterBaseHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION FilterBase_Encode(FilterBaseHandle *handle, BufferHandle *data, BufferHandle **result)
Encodes source data and returns encoded result data.
error_type CALLING_CONVENTION FilterBase_EncodeParams(FilterBaseHandle *handle, BufferHandle *data, DictionaryObjectHandle *parameters, BufferHandle **result)
Encodes source data with specified params and returns encoded result data.
The Flate method is based on the public-domain zlib/deflate compression method.
error_type CALLING_CONVENTION FlateDecodeFilter_EncodeParams(FlateDecodeFilterHandle *handle, BufferHandle *data, DictionaryObjectHandle *parameters, BufferHandle **result)
Encodes source data and returns encoded result data.
error_type CALLING_CONVENTION FlateDecodeFilter_Encode(FlateDecodeFilterHandle *handle, BufferHandle *data, BufferHandle **result)
Encodes source data and returns encoded result data.
error_type CALLING_CONVENTION FlateDecodeFilter_Release(FlateDecodeFilterHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION FlateDecodeFilter_Create(FlateDecodeFilterHandle **result)
Creates a new filter instance.
error_type CALLING_CONVENTION FlateDecodeFilter_Decode(FlateDecodeFilterHandle *handle, BufferHandle *data, BufferHandle **result)
Decodes source data and returns decoded result data.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25