Lines Matching full:marker
101 * JPEG markers consist of one or more 0xFF bytes, followed by a marker
102 * code byte (which is not an FF). Here are the marker codes of interest
122 #define M_APP0 0xE0 /* Application-specific marker, type N */
128 * Find the next JPEG marker and return its marker code.
133 * NB: this routine must not be used after seeing SOS marker, since it will
149 /* Get marker code byte, swallowing any duplicate FF bytes. Extra FFs
165 * Read the initial marker, which should be SOI.
186 * Most types of marker are followed by a variable-length parameter segment.
187 * This routine skips over the parameters for any marker we don't otherwise
196 /* Skip over an unknown or uninteresting variable-length marker */
200 /* Get the marker parameter length count */
204 ERREXIT("Erroneous JPEG marker length");
215 * Process a COM marker.
216 * We want to print out the marker contents as legible text;
227 /* Get the marker parameter length count */
231 ERREXIT("Erroneous JPEG marker length");
261 * Process a SOFn marker.
266 process_SOFn (int marker)
281 switch (marker) {
303 ERREXIT("Bogus SOF marker length");
314 * Parse the marker stream until SOS or EOI is seen;
326 int marker;
330 ERREXIT("Expected SOI marker first");
334 marker = next_marker();
335 switch (marker) {
336 /* Note that marker codes 0xC4, 0xC8, 0xCC are not, and must not be,
353 process_SOFn(marker);
359 return marker;
362 return marker;