Lines Matching defs:marker
105 * JPEG markers consist of one or more 0xFF bytes, followed by a marker
106 * code byte (which is not an FF). Here are the marker codes of interest
126 #define M_APP0 0xE0 /* Application-specific marker, type N */
132 * Find the next JPEG marker and return its marker code.
137 * NB: this routine must not be used after seeing SOS marker, since it will
153 /* Get marker code byte, swallowing any duplicate FF bytes. Extra FFs
169 * Read the initial marker, which should be SOI.
190 * Most types of marker are followed by a variable-length parameter segment.
191 * This routine skips over the parameters for any marker we don't otherwise
200 /* Skip over an unknown or uninteresting variable-length marker */
204 /* Get the marker parameter length count */
208 ERREXIT("Erroneous JPEG marker length");
219 * Process a COM marker.
220 * We want to print out the marker contents as legible text;
236 /* Get the marker parameter length count */
240 ERREXIT("Erroneous JPEG marker length");
277 * Process a SOFn marker.
282 process_SOFn (int marker)
297 switch (marker) {
319 ERREXIT("Bogus SOF marker length");
330 * Parse the marker stream until SOS or EOI is seen;
342 int marker;
346 ERREXIT("Expected SOI marker first");
350 marker = next_marker();
351 switch (marker) {
352 /* Note that marker codes 0xC4, 0xC8, 0xCC are not, and must not be,
369 process_SOFn(marker);
375 return marker;
378 return marker;