OLD | NEW |
1 #if !defined(_FX_JPEG_TURBO_) | |
2 /* | 1 /* |
3 * jdmaster.c | 2 * jdmaster.c |
4 * | 3 * |
5 * Copyright (C) 1991-1997, Thomas G. Lane. | 4 * Copyright (C) 1991-1997, Thomas G. Lane. |
6 * This file is part of the Independent JPEG Group's software. | 5 * This file is part of the Independent JPEG Group's software. |
7 * For conditions of distribution and use, see the accompanying README file. | 6 * For conditions of distribution and use, see the accompanying README file. |
8 * | 7 * |
9 * This file contains master control logic for the JPEG decompressor. | 8 * This file contains master control logic for the JPEG decompressor. |
10 * These routines are concerned with selecting the modules to be executed | 9 * These routines are concerned with selecting the modules to be executed |
11 * and with determining the number of passes and the work to be done in each | 10 * and with determining the number of passes and the work to be done in each |
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, | 548 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, |
550 SIZEOF(my_decomp_master)); | 549 SIZEOF(my_decomp_master)); |
551 cinfo->master = (struct jpeg_decomp_master *) master; | 550 cinfo->master = (struct jpeg_decomp_master *) master; |
552 master->pub.prepare_for_output_pass = prepare_for_output_pass; | 551 master->pub.prepare_for_output_pass = prepare_for_output_pass; |
553 master->pub.finish_output_pass = finish_output_pass; | 552 master->pub.finish_output_pass = finish_output_pass; |
554 | 553 |
555 master->pub.is_dummy_pass = FALSE; | 554 master->pub.is_dummy_pass = FALSE; |
556 | 555 |
557 master_selection(cinfo); | 556 master_selection(cinfo); |
558 } | 557 } |
559 | |
560 #endif //_FX_JPEG_TURBO_ | |
OLD | NEW |