Lines Matching refs:stbi__get16be
1692 static int stbi__get16be(stbi__context *s)
1704 stbi__uint32 z = stbi__get16be(s);
1705 return (z << 16) + stbi__get16be(s);
3105 if (stbi__get16be(z->s) != 4) return stbi__err("bad DRI len","Corrupt JPEG");
3106 z->restart_interval = stbi__get16be(z->s);
3110 L = stbi__get16be(z->s)-2;
3119 z->dequant[t][stbi__jpeg_dezigzag[i]] = (stbi__uint16)(sixteen ? stbi__get16be(z->s) : stbi__get8(z->s));
3125 L = stbi__get16be(z->s)-2;
3157 L = stbi__get16be(z->s);
3186 stbi__get16be(z->s); // flags0
3187 stbi__get16be(z->s); // flags1
3204 int Ls = stbi__get16be(z->s);
3266 Lf = stbi__get16be(s); if (Lf < 11) return stbi__err("bad SOF len","Corrupt JPEG"); // JPEG
3268 s->img_y = stbi__get16be(s); if (s->img_y == 0) return stbi__err("no header height", "JPEG format not supported: delayed height"); // Legal, but we don't handle it--but neither does IJG
3269 s->img_x = stbi__get16be(s); if (s->img_x == 0) return stbi__err("0 width","Corrupt JPEG"); // JPEG requires
3432 int Ld = stbi__get16be(j->s);
3433 stbi__uint32 NL = stbi__get16be(j->s);
5164 for (k = 0; k < s->img_n; ++k) tc16[k] = (stbi__uint16)stbi__get16be(s); // copy the values as-is
5166 for (k = 0; k < s->img_n; ++k) tc[k] = (stbi_uc)(stbi__get16be(s) & 255) * stbi__depth_scale_table[z->depth]; // non 8-bit images will be larger
6140 if (stbi__get16be(s) != 1)
6147 channelCount = stbi__get16be(s);
6159 bitdepth = stbi__get16be(s);
6173 if (stbi__get16be(s) != 3)
6189 compression = stbi__get16be(s);
6266 *q = (stbi__uint16) stbi__get16be(s);
6271 *p = (stbi_uc) (stbi__get16be(s) >> 8);
6469 count = stbi__get16be(s);
6510 x = stbi__get16be(s);
6511 y = stbi__get16be(s);
6520 stbi__get16be(s); //skip `fields'
6521 stbi__get16be(s); //skip `pad'
7374 if (stbi__get16be(s) != 1) {
7379 channelCount = stbi__get16be(s);
7386 depth = stbi__get16be(s);
7391 if (stbi__get16be(s) != 3) {
7406 if (stbi__get16be(s) != 1) {
7411 channelCount = stbi__get16be(s);
7418 depth = stbi__get16be(s);
7444 *x = stbi__get16be(s);
7445 *y = stbi__get16be(s);