Lines Matching refs:FILE
4 * This file illustrates how to use the IJG code as a subroutine library
6 * conjunction with the documentation file libjpeg.doc.
19 * Include file for users of JPEG library.
21 * the typedefs FILE and size_t before you can include jpeglib.h.
67 * Sample routine for JPEG compression. We assume that the target file name
83 * (see the second half of this file for an example). But here we just
91 FILE * outfile; /* target file */
106 /* Step 2: specify data destination (eg, a file) */
141 /* TRUE ensures that we will write a complete interchange-JPEG file.
168 /* After finish_compress, we can close the output file. */
195 * optimization or a multi-scan JPEG file), it will create temporary
278 * Sample routine for JPEG decompression. We assume that the source file name
296 FILE * infile; /* source file */
300 /* In this example we want to open the input file before doing anything else,
301 * so that the setjmp() error recovery below can assume the file is open.
319 * We need to clean up the JPEG object, close the input file, and return.
328 /* Step 2: specify data source (eg, a file) */
332 /* Step 3: read file parameters with jpeg_read_header() */
337 * (b) we passed TRUE to reject a tables-only JPEG file as an error.
394 /* After finish_decompress, we can close the input file.
425 * Scanlines are returned in the same order as they appear in the JPEG file,