Lines Matching defs:first

155 // with each pixel consisting of N interleaved 8-bit components; the first
235 // Some secondary priorities arise directly from the first two, some of which
515 // flip the image vertically, so the first pixel in the output array is the bottom left
1142 // test the formats with a very explicit header first (at least a FOURCC
1143 // or distinctive magic number first)
2272 // first scan for DC coefficient, must be first
2499 // no fast case since the first 1D IDCT spread components out
2501 // constants scaled things up by 1<<12, plus we had 1<<2 from first
2846 // 17. so do a non-rounding shift of 16 first then follow
3558 // "next" is current row shifted left by 1 pixel, with first pixel
3598 // "next" is current row shifted left by 1 pixel, with first pixel
4622 // synthetic filters used for first scanline to avoid needing a dummy row of 0s
4692 // if first row, use special filter that doesn't sample previous row
4695 // handle first byte explicitly
4710 cur[img_n] = 255; // first pixel
4716 cur[filter_bytes] = 255; // first pixel top byte
4717 cur[filter_bytes+1] = 255; // first pixel bottom byte
5085 int first=1,k,interlace=0, color=0, is_iphone=0;
5105 if (!first) return stbi__err("multiple IHDR","Corrupt PNG");
5106 first = 0;
5134 if (first) return stbi__err("first not IHDR", "Corrupt PNG");
5148 if (first) return stbi__err("first not IHDR", "Corrupt PNG");
5173 if (first) return stbi__err("first not IHDR", "Corrupt PNG");
5176 // header scan definitely stops at first IDAT
5200 if (first) return stbi__err("first not IHDR", "Corrupt PNG");
5242 if (first) return stbi__err("first not IHDR", "Corrupt PNG");
5573 // the first half of this test rejects offsets that are either too small positives, or
5770 stbi__skip(s,4); // skip index of first colormap entry and number of entries
5829 stbi__skip(s,4); // skip index of first colormap entry and number of entries
6555 stbi_uc first;
6694 stbi__uint32 first;
6701 first = 1;
6708 g->codes[init_code].first = (stbi_uc) init_code;
6737 first = 0;
6744 if (first) {
6755 p->first = g->codes[oldcode].first;
6756 p->suffix = (code == avail) ? p->first : g->codes[code].first;
6785 // on first frame, any non-written pixels get the background colour (non-transparent)
6799 // background colour is only used for pixels that are not rendered first frame, after that "background"
6874 g->step = 8 * g->line_size; // first interlaced spacing
6892 // if this was the first frame,
6895 // if first frame, any pixel not drawn to gets the background color
7949 first released version