Lines Matching defs:which

152 // The return value from an image loader is an 'unsigned char *' which points
201 // which defaults to 2**24 = 16777216 pixels. Due to the above memory limit,
235 // Some secondary priorities arise directly from the first two, some of which
314 // We optionally support converting iPhone-formatted PNGs (which store
365 // default this is set to (1 << 24), which is 16777216, but that's still
698 // which in turn means it gets to use SSE2 everywhere. This is unfortunate,
766 // -msse2 is on, which means the compiler is allowed to use SSE2
888 // we only use it after doing 'test', which only ever looks at at most 92 bytes
1005 // And "a + b <= INT_MAX" (which might overflow) is the
2376 // a run of 15 0s and then write s (which is 0),
2504 // so we want to round that, which means adding 0.5 * 1<<17,
2916 // marker, return 0xff, which is never a valid marker value
3209 int id = stbi__get8(z->s), which;
3211 for (which = 0; which < z->s->img_n; ++which)
3212 if (z->img_comp[which].id == id)
3214 if (which == z->s->img_n) return 0; // no match
3215 z->img_comp[which].hd = q >> 4; if (z->img_comp[which].hd > 3) return stbi__err("bad DC huff","Corrupt JPEG");
3216 z->img_comp[which].ha = q & 15; if (z->img_comp[which].ha > 3) return stbi__err("bad AC huff","Corrupt JPEG");
3217 z->order[i] = which;
3329 // so these muls can't overflow with 32-bit ints (which we require)
3401 // stuffed zero has x=0 now which ends the loop, meaning we go
3853 int ypos; // which pre-expansion row we're on
4225 // use jpeg approach, which requires MSbits at top
5439 // otherwise, use defaults, which is all-0
6222 // which we're going to just skip.
6867 // max_y (which is what out_gif_code checks).