summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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));
+};