Improve the tile based decoding performance
Change-Id: I4043edff510ffe50fdf47a342d6a95e879918737
diff --git a/jpegint.h b/jpegint.h
index fd6d8bb..3b5511e 100644
--- a/jpegint.h
+++ b/jpegint.h
@@ -177,10 +177,20 @@
JSAMPIMAGE output_buf));
/* Pointer to array of coefficient virtual arrays, or NULL if none */
jvirt_barray_ptr *coef_arrays;
+
+ /* column number of the first and last tile, respectively */
int column_left_boundary;
int column_right_boundary;
+
+ /* column number of the first and last MCU, respectively */
int MCU_column_left_boundary;
int MCU_column_right_boundary;
+
+ /* the number of MCU columns to skip from the indexed MCU, iM,
+ * to the requested MCU boundary, rM, where iM is the MCU that we sample
+ * into our index and is the nearest one to the left of rM.
+ */
+ int MCU_columns_to_skip;
};
/* Decompression postprocessing (color quantization buffer control) */