Searched refs:pixel_bits (Results 1 – 2 of 2) sorted by relevance
55 Uint8 pixel_bits; /* bits/pixel */ member120 if (!hdr.has_cmap || hdr.pixel_bits != 8 || ncols > 256) in IMG_LoadTGA_RW()136 if (hdr.pixel_bits != 8) in IMG_LoadTGA_RW()146 bpp = (hdr.pixel_bits + 7) >> 3; in IMG_LoadTGA_RW()148 switch(hdr.pixel_bits) { in IMG_LoadTGA_RW()
738 #define PNG_ROWBYTES(pixel_bits, width) \ argument739 ((pixel_bits) >= 8 ? \740 ((size_t)(width) * (((size_t)(pixel_bits)) >> 3)) : \741 (( ((size_t)(width) * ((size_t)(pixel_bits))) + 7) >> 3) )755 #define PNG_TRAILBITS(pixel_bits, width) \ argument756 (((pixel_bits) * ((width) % (png_uint_32)8)) % 8)758 #define PNG_PADBITS(pixel_bits, width) \ argument759 ((8 - PNG_TRAILBITS(pixel_bits, width)) % 8)
Completed in 9 milliseconds