Searched refs:scan_n (Results 1 – 2 of 2) sorted by relevance
1812 int scan_n, order[4]; member2757 if (z->scan_n == 1) { in stbi__parse_entropy_coded_data()2789 for (k=0; k < z->scan_n; ++k) { in stbi__parse_entropy_coded_data()2815 if (z->scan_n == 1) { in stbi__parse_entropy_coded_data()2849 for (k=0; k < z->scan_n; ++k) { in stbi__parse_entropy_coded_data()3010 z->scan_n = stbi__get8(z->s); in stbi__process_scan_header()3011 …if (z->scan_n < 1 || z->scan_n > 4 || z->scan_n > (int) z->s->img_n) return stbi__err("bad SOS com… in stbi__process_scan_header()3012 if (Ls != 6+2*z->scan_n) return stbi__err("bad SOS len","Corrupt JPEG"); in stbi__process_scan_header()3013 for (i=0; i < z->scan_n; ++i) { in stbi__process_scan_header()