summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2005-05-18 23:04:55 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2005-05-18 23:04:55 (GMT)
commitd9acf5e1a02108d6231be74ef42fc2071688cb70 (patch)
tree44b6b3c9bd4f219d7fbf6e2080ee2aa8fb5e55a3
parent4c780a77b4d937ac982f77cbe244c0672e5185ce (diff)
download5kk53-d9acf5e1a02108d6231be74ef42fc2071688cb70.zip
5kk53-d9acf5e1a02108d6231be74ef42fc2071688cb70.tar.gz
5kk53-d9acf5e1a02108d6231be74ef42fc2071688cb70.tar.bz2
added missing structure
-rw-r--r--include/jpegint.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/jpegint.h b/include/jpegint.h
index e3e5eb8..e81bdd3 100644
--- a/include/jpegint.h
+++ b/include/jpegint.h
@@ -10,3 +10,10 @@ struct jpeg_entropy_decoder {
/* other modules probably should not use it */
boolean insufficient_data; /* set TRUE after emitting warning */
};
+
+/* Entropy encoding */
+struct jpeg_entropy_encoder {
+ JMETHOD(void, start_pass, (j_compress_ptr cinfo, boolean gather_statistics));
+ JMETHOD(boolean, encode_mcu, (j_compress_ptr cinfo, JBLOCKROW *MCU_data));
+ JMETHOD(void, finish_pass, (j_compress_ptr cinfo));
+};