aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Hawthorn <jhawthor@uvic.ca>2009-01-04 15:55:00 -0800
committerJohn Hawthorn <jhawthor@uvic.ca>2009-01-04 15:55:00 -0800
commite2f83fa9c78d4cef975fe28e7b4bae8add20f89a (patch)
tree655f6fd1e9fb7772fba2c3ae098e85e2259db1df
parentb380f19efc5bad5d3a5eae3ae799ab1c9a687704 (diff)
downloadmirror-meh-e2f83fa9c78d4cef975fe28e7b4bae8add20f89a.tar.gz
mirror-meh-e2f83fa9c78d4cef975fe28e7b4bae8add20f89a.tar.bz2
mirror-meh-e2f83fa9c78d4cef975fe28e7b4bae8add20f89a.zip
added some todos
-rw-r--r--src/jpeg.c2
1 files changed, 2 insertions, 0 deletions
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);