equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * jdapimin.c |
2 * jdapimin.c |
3 * |
3 * |
4 * Copyright (C) 1994-1998, Thomas G. Lane. |
4 * Copyright (C) 1994-1998, Thomas G. Lane. |
|
5 * Modified 2009 by Guido Vollbeding. |
5 * This file is part of the Independent JPEG Group's software. |
6 * This file is part of the Independent JPEG Group's software. |
6 * For conditions of distribution and use, see the accompanying README file. |
7 * For conditions of distribution and use, see the accompanying README file. |
7 * |
8 * |
8 * This file contains application interface code for the decompression half |
9 * This file contains application interface code for the decompression half |
9 * of the JPEG library. These are the "minimum" API routines that may be |
10 * of the JPEG library. These are the "minimum" API routines that may be |
183 cinfo->out_color_space = JCS_UNKNOWN; |
184 cinfo->out_color_space = JCS_UNKNOWN; |
184 break; |
185 break; |
185 } |
186 } |
186 |
187 |
187 /* Set defaults for other decompression parameters. */ |
188 /* Set defaults for other decompression parameters. */ |
188 cinfo->scale_num = 1; /* 1:1 scaling */ |
189 cinfo->scale_num = cinfo->block_size; /* 1:1 scaling */ |
189 cinfo->scale_denom = 1; |
190 cinfo->scale_denom = cinfo->block_size; |
190 cinfo->output_gamma = 1.0; |
191 cinfo->output_gamma = 1.0; |
191 cinfo->buffered_image = FALSE; |
192 cinfo->buffered_image = FALSE; |
192 cinfo->raw_data_out = FALSE; |
193 cinfo->raw_data_out = FALSE; |
193 cinfo->dct_method = JDCT_DEFAULT; |
194 cinfo->dct_method = JDCT_DEFAULT; |
194 cinfo->do_fancy_upsampling = TRUE; |
195 cinfo->do_fancy_upsampling = TRUE; |