summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-10-17 16:18:41 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-10-21 11:45:23 +0200
commit374d2290c9bdf3a26bf5008a07a617ede61cbdb3 (patch)
tree70c7134e6d93a57a3bbe77c3cd9d80953be269bd /include
parenta804e3491c0d8056742855eb8d840f8c4ee1a49f (diff)
downloadmupdf-374d2290c9bdf3a26bf5008a07a617ede61cbdb3.tar.xz
Clean up FZ_IMAGE_XXX enums and purge unused FZ_IMAGE_JBIG2.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/compressed-buffer.h33
1 files changed, 19 insertions, 14 deletions
diff --git a/include/mupdf/fitz/compressed-buffer.h b/include/mupdf/fitz/compressed-buffer.h
index fce3be29..a3269d1b 100644
--- a/include/mupdf/fitz/compressed-buffer.h
+++ b/include/mupdf/fitz/compressed-buffer.h
@@ -18,20 +18,25 @@ fz_stream *fz_open_image_decomp_stream(fz_context *ctx, fz_stream *, fz_compress
enum
{
FZ_IMAGE_UNKNOWN = 0,
- FZ_IMAGE_JPEG = 1,
- FZ_IMAGE_JPX = 2,
- FZ_IMAGE_FAX = 3,
- FZ_IMAGE_JBIG2 = 4,
- FZ_IMAGE_RAW = 5,
- FZ_IMAGE_RLD = 6,
- FZ_IMAGE_FLATE = 7,
- FZ_IMAGE_LZW = 8,
- FZ_IMAGE_PNG = 9,
- FZ_IMAGE_TIFF = 10,
- FZ_IMAGE_JXR = 11,
- FZ_IMAGE_GIF = 12,
- FZ_IMAGE_BMP = 13,
- FZ_IMAGE_PNM = 14,
+
+ /* Uncompressed samples */
+ FZ_IMAGE_RAW,
+
+ /* Compressed samples */
+ FZ_IMAGE_FAX,
+ FZ_IMAGE_FLATE,
+ FZ_IMAGE_LZW,
+ FZ_IMAGE_RLD,
+
+ /* Full image formats */
+ FZ_IMAGE_BMP,
+ FZ_IMAGE_GIF,
+ FZ_IMAGE_JPEG,
+ FZ_IMAGE_JPX,
+ FZ_IMAGE_JXR,
+ FZ_IMAGE_PNG,
+ FZ_IMAGE_PNM,
+ FZ_IMAGE_TIFF,
};
struct fz_compression_params_s