From e2f83fa9c78d4cef975fe28e7b4bae8add20f89a Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Sun, 4 Jan 2009 15:55:00 -0800 Subject: added some todos --- src/jpeg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/jpeg.c b/src/jpeg.c index 93b9f78..0406c00 100644 --- a/src/jpeg.c +++ b/src/jpeg.c @@ -33,6 +33,7 @@ static void error_longjmp(j_common_ptr cinfo){ longjmp(myerr->jmp_buffer, 1); } +/* TODO progressive */ static struct image *jpeg_open(FILE *f){ struct jpeg_t *j; @@ -59,6 +60,7 @@ static struct image *jpeg_open(FILE *f){ j->cinfo.do_block_smoothing = 0; j->cinfo.quantize_colors = 0; j->cinfo.dct_method = JDCT_FASTEST; + //j->cinfo.scale_denom = 1; /* TODO: This should be changed for initial display of really large jpegs */ jpeg_calc_output_dimensions(&j->cinfo); -- cgit v1.2.3