Lines Matching refs:scan
116 By default, cjpeg emits a single-scan sequential JPEG file. The
118 of progression parameters. You can create multiple-scan sequential JPEG
122 -scans file Use the scan sequence given in the named file.
124 The specified file should be a text file containing a "scan script".
126 Each entry in the script defines one scan. A scan definition specifies
127 the components to be included in the scan, and for progressive JPEG it also
128 specifies the progression parameters Ss,Se,Ah,Al for the scan. Scan
130 scan definition is optional.
132 Each scan definition contains one to four component indexes, optionally
135 the scan. Components are numbered in the order in which they appear in the
140 The progression parameters for each scan are:
141 Ss Zigzag index of first coefficient included in scan
142 Se Zigzag index of last coefficient included in scan
143 Ah Zero for first scan of a coefficient, else Al of prior scan
144 Al Successive approximation low bit position for scan
150 The scan script must meet the JPEG restrictions on progression sequences.
158 example, the following two scan definitions are equivalent:
162 Here is an example of a scan script that generates a partially interleaved
165 0; # Y only in first scan
166 1 2; # Cb and Cr in second scan
168 Here is an example of a progressive scan script using only spectral selection
171 # Interleaved DC scan for Y,Cb,Cr:
184 # Initial DC scan for Y,Cb,Cr (lowest bit not sent)
186 # First AC scan: send first 5 Y AC coefficients, minus 2 lowest bits:
203 # Y AC lowest bit scan is last; it's usually the largest scan