Lines Matching defs:scan
2272 // first scan for DC coefficient, must be first
2284 // refinement scan for DC coefficient
2343 // refinement scan for these AC coefficients
2867 // 8 bytes to each scan line!
2928 // in each scan, we'll have scan_n components, and the order
2982 // scan an interleaved mcu... process scan_n components in order
2985 // scan out an mcu's worth of this component; that's just determined
3042 // scan an interleaved mcu... process scan_n components in order
3045 // scan out an mcu's worth of this component; that's just determined
3262 static int stbi__process_frame_header(stbi__jpeg *z, int scan)
3294 if (scan != STBI__SCAN_load) return 1;
3363 static int stbi__decode_jpeg_header(stbi__jpeg *z, int scan)
3371 if (scan == STBI__SCAN_type) return 1;
3377 // some files have extra padding after their blocks, so ok, we'll scan
3383 if (!stbi__process_frame_header(z, scan)) return 0;
3402 // back to regular scan loop.
5079 static int stbi__parse_png_file(stbi__png *z, int scan, int req_comp)
5094 if (scan == STBI__SCAN_type) return 1;
5129 // even with SCAN_header, have to scan to see if we have a tRNS
5151 if (scan == STBI__SCAN_header) { s->img_n = 4; return 1; }
5162 if (scan == STBI__SCAN_header) { ++s->img_n; return 1; }
5175 if (scan == STBI__SCAN_header) {
5176 // header scan definitely stops at first IDAT
5201 if (scan != STBI__SCAN_load) return 1;
7930 0.95 during header scan, seek to markers in case of padding