Lines Matching full:pass
383 one or more times. You can pass one or more scanlines in each call, up
384 to the total image height. In most applications it is convenient to pass
443 If you have requested a multi-pass operating mode, such as Huffman code
445 data buffered by the first pass. In this case jpeg_finish_compress() may take
621 If you have requested a multi-pass operating mode, such as 2-pass color
659 one or more times. At each call, you pass in the maximum number of scanlines
685 few scanlines per call, no matter how large a buffer you pass.) So you must
900 for the image. This requires an extra pass over the data and
1095 If TRUE, an extra pass over the image is made to select a custom color
1106 only in the single-pass, standard-colormap case. If you ask for
1248 The two-pass color quantizer, jquant2.c, is specialized to handle RGB data
1252 the normal two-pass colormap selection process.
1593 This means you cannot use suspension with multi-pass operating modes, namely
1779 display in lockstep with the source file (one display pass per input scan),
1793 for (each output pass) {
1795 jpeg_start_output() /* start a new output pass */
1800 jpeg_finish_output() /* terminate output pass */
1807 and how to display each pass.
1810 pass for each scan appearing in the input file. In this case the outer loop
1828 sequence. For example, a useful technique is to use fast one-pass color
1830 a final display pass using two-pass quantization for highest quality. This
1831 is done by changing the library parameters before the final output pass.
1835 until after it is read, so a post-input display pass is the best approach if
1836 you want special processing in the final pass.
1875 before you start a new output pass, you may as well skip the output pass
1876 corresponding to the completed scan. This occurs for free if you pass
1890 manipulating this interlock rule. For example, if you pass a target scan
1896 then perform an output pass. This is effectively the same as what
1898 When you pass a target scan number equal to the current input scan number,
1900 final possibility is to pass a target scan number less than the current input
1911 If the output processing simply proceeds through its display pass without
1923 output pass after receiving all the data; otherwise your last display may not
1936 for the final pass. But if you don't want to use special parameters for
1937 the final pass, the right loop logic is like this:
1947 pass is to
1949 the final output pass; rather, what you want to test is whether the output
1950 pass was performed in sync with the final input scan. This form of the loop
1951 will avoid an extra output pass whenever the decoder is able (or nearly able)
1954 When the data transmission speed is high, you might begin a display pass,
1956 the pass. (You can detect this by noting the JPEG_REACHED_EOI return code
1958 In this situation you may wish to abort the current display pass and start a
1960 jpeg_finish_output() and then start a new pass with jpeg_start_output().
1963 scan arrives during an output pass; this can be detected by noting
1968 In most cases it's probably best to abort an output pass only if the whole
1969 file has arrived and you want to begin the final output pass immediately.
1973 higher-quality final pass is to be done, it should be started (aborting any
1974 incomplete output pass) as soon as the end of file is received. However,
1989 * jpeg_start_output() performs input only if you request 2-pass quantization
2017 Floyd-Steinberg dither for the final pass. Caution: changing dither mode
2038 1. Single-pass quantization to a fixed color cube.
2040 2. Single-pass quantization to an application-supplied colormap.
2043 3. Two-pass quantization to a colormap chosen specifically for the image.
2046 probably NOT what you want for the first pass of progressive display!)
2057 enable_2pass_quant Two-pass custom colormap
2067 1. You must explicitly set cinfo.colormap to NULL when switching to 1-pass
2068 or 2-pass mode from a different mode, or when you want the 2-pass
2071 colormap than was used on the prior pass, you must call
2073 NOTE: if you want to use the same colormap as was used in the prior pass,
2077 after completing a prior output pass, since both the 1-pass and 2-pass
2086 When using two-pass quantization, jpeg_start_output() makes a pass over the
2089 progress monitor hook is called during this pass, if defined. It is also
2092 to consume input as it makes this pass. If you use a suspending data source,
2094 conditions. The combination of 2-pass quantization and a not-yet-fully-read
2271 sufficient to read a tables-only file. You must pass a second parameter of
2286 an image or just tables. In that case, pass FALSE and check the return value
2519 To pass raw data to the library, call jpeg_write_raw_data() in place of
2555 MCU height is max_v_samp_factor = 2 DCT rows so you must pass at least 16
2558 so you must pass a total of 7*16 = 112 "scanlines". The last DCT block row
2559 of Y data is dummy, so it doesn't matter what you pass for it in the data
2581 jpeg_read_raw_data() returns one MCU row per call, and thus you must pass a
2583 the same as for raw-data compression). The buffer you pass must be large
2643 the DCT coefficients stored in virtual block arrays. You can either pass
2690 Although you do get control back frequently during the data-transferring pass
2702 transferring pass, only one call occurs per call of jpeg_read_scanlines or
2703 jpeg_write_scanlines, so don't pass a large number of scanlines at once if
2719 long pass_counter; /* work units completed in this pass */
2720 long pass_limit; /* total number of work units in this pass */
2723 During any one pass, pass_counter increases from 0 up to (not including)
2725 value may change from one pass to another. The expected total number of
2733 When decompressing, pass_limit can even change within a pass, because it
2743 pass if the input file end hasn't yet been read (jpeg_input_complete() isn't
2745 output pass is started. This means that total_passes will rise as additional
2777 Some operating modes (eg, two-pass color quantization) require full-image
2833 4. To perform 2-pass color quantization, the decompressor also needs a
2881 files in one pass, you'll have to supply suitable default Huffman tables.
2997 images. The most memory-intensive case is decompression with two-pass color
2998 quantization, or single-pass quantization to an externally supplied color