Home | History | Annotate | Download | only in gdx2d

Lines Matching defs:bit

24       PNG 1/2/4/8-bit-per-channel (16 bpc not supported)
28 PSD (composited view only, no extra channels, 8/16 bit-per-channel)
151 limited 16-bit PSD support
155 2.04 (2015-04-15) try to re-enable SIMD on MinGW 64-bit
169 1.47 (2014-12-14) 1/2/4-bit PNG support (both grayscale and paletted)
195 Omar Cornut (1/2/4-bit PNG) Ken Hamada
197 Richard Mitton (16-bit PSD) Blazej Dariusz Roszkowski
231 // - no 16-bit-per-channel PNG
232 // - no 12-bit-per-channel JPEG
234 // - no 1-bit BMP
241 // // ... x = width, y = height, n = # 8-bit components per pixel ...
255 // with each pixel consisting of N interleaved 8-bit components; the first
336 // difference is only +-1 in the 8-bit RGB channels, and only on a small
655 // NOTE: not clear do we actually need this for the 64-bit path?
664 // Note that __MINGW32__ doesn't actually mean 32-bit, so we have to avoid STBI__X64_TARGET
666 // 32-bit MinGW wants ESP to be 16-byte aligned, but this is not in the
668 // As a result, enabling SSE2 on 32-bit MinGW is dangerous when not
673 // So default to no SSE2 on 32-bit MinGW. If you've read this far and added
1439 // - simple interface (only one output format: 8-bit interleaved RGB)
1670 sgn = (stbi__int32)j->code_buffer >> 31; // sign bit is always in MSB
1849 short bit = (short) (1 << j->succ_low);
1857 if ((*p & bit)==0) {
1859 *p += bit;
1861 *p -= bit;
1885 // sign bit
1887 s = bit;
1889 s = -bit;
1897 if ((*p & bit)==0) {
1899 *p += bit;
1901 *p -= bit;
2030 // produces bit-identical results to the generic C version so it's
2041 // out(0) = c0[even]*x + c0[odd]*y (c0, x, y 16-bit, out 32-bit)
2051 // out = in << 12 (in 16-bit, out 32-bit)
2077 // 8-bit interleave step (for transposes)
2083 // 16-bit interleave step (for transposes)
2144 // 16bit 8x8 transpose pass 1
2173 // 8bit 8x8 transpose pass 1
2211 // NEON integer IDCT. should produce bit-identical
2317 // 16bit 8x8 transpose
2373 // 8x8 8-bit transpose pass 1
2709 p = stbi__get8(s); if (p != 8) return stbi__err("only 8-bit","JPEG format not supported: 8-bit only"); // JPEG baseline
3487 // to bit reverse n bits, reverse 16 and shift
3488 // e.g. 11 bits, bit reverse and shift away 5
3742 // drain the bit-packed data into header
3908 // - only 8-bit samples
4089 // unpack 1/2/4-bit into a 8-bit buffer. allows us to keep the common 8-bit path optimal at minimal cost for 1/2/4-bit
4096 // on the next scanline? yes, consider 1-pixel-wide scanlines with 1-bit-per-pixel.
4350 depth = stbi__get8(s); if (depth != 1 && depth != 2 && depth != 4 && depth != 8) return stbi__err("1/2/4/8-bit only","PNG not supported: 1/2/4/8-bit only");
4400 tc[k] = (stbi_uc) (stbi__get16be(s) & 255) * stbi__depth_scale_table[depth]; // non 8-bit images will be larger
4561 // returns 0..31 for the highest set bit
4624 if (bpp == 1) return stbi__errpuc("monochrome", "BMP type not supported: 1-bit");
4749 // right shift amt to put high bit in position #7
4902 // do a tiny bit of precessing
5114 return stbi__errpuc("unsupported bit depth", "PSD bit depth is not 8 or 16 bit");
5196 // (Interpret len as a negative 8-bit int.)
5213 // where each channel consists of an 8-bit value for each pixel in the image.
6182 // Does not support 16-bit-per-channel
6275 return stbi__err("max value > 255", "PPM image not 8-bit");
6367 limited 16-bit PSD support
6372 2.04 (2015-04-15) try to re-enable SIMD on MinGW 64-bit
6377 2.01 (2015-01-17) fix various warnings; suppress SIMD on gcc 32-bit without -msse2
6386 1.47 (2014-12-14) 1/2/4-bit PNG support, both direct and paletted (Omar Cornut & stb)
6421 fix broken non-easy path for 32-bit BMP (possibly never used)
6436 fix inefficiency in decoding 32-bit BMP (David Woo)
6472 1.10 Fixes for 64-bit (don't use "unsigned long")
6492 0.92 read 4,8,16,24,32-bit BMP files of several formats
6493 0.91 output 24-bit Windows 3.0 BMP files