OLD | NEW |
1 #if !defined(_FX_JPEG_TURBO_) | |
2 /* | 1 /* |
3 * jcinit.c | 2 * jcinit.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 initialization logic for the JPEG compressor. | 8 * This file contains initialization logic for the JPEG compressor. |
10 * This routine is in charge of selecting the modules to be executed and | 9 * This routine is in charge of selecting the modules to be executed and |
11 * making an initialization call to each one. | 10 * making an initialization call to each one. |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 63 |
65 /* We can now tell the memory manager to allocate virtual arrays. */ | 64 /* We can now tell the memory manager to allocate virtual arrays. */ |
66 (*cinfo->mem->realize_virt_arrays) ((j_common_ptr) cinfo); | 65 (*cinfo->mem->realize_virt_arrays) ((j_common_ptr) cinfo); |
67 | 66 |
68 /* Write the datastream header (SOI) immediately. | 67 /* Write the datastream header (SOI) immediately. |
69 * Frame and scan headers are postponed till later. | 68 * Frame and scan headers are postponed till later. |
70 * This lets application insert special markers after the SOI. | 69 * This lets application insert special markers after the SOI. |
71 */ | 70 */ |
72 (*cinfo->marker->write_file_header) (cinfo); | 71 (*cinfo->marker->write_file_header) (cinfo); |
73 } | 72 } |
74 | |
75 #endif //_FX_JPEG_TURBO_ | |
OLD | NEW |