Home
last modified time | relevance | path

Searched refs:alphabits (Results 1 – 2 of 2) sorted by relevance

/PHP-8.2/ext/gd/libgd/
H A Dgd_tga.c106 if (tga->alphabits) { in gdImageCreateFromTgaCtx()
118 } else if (tga->bits == TGA_BPP_32 && tga->alphabits) { in gdImageCreateFromTgaCtx()
167 tga->alphabits = header[17] & 0x0f; in read_header_tga()
174 printf("alpha: %i\n", tga->alphabits); in read_header_tga()
178 if (!((tga->bits == TGA_BPP_24 && tga->alphabits == 0) in read_header_tga()
179 || (tga->bits == TGA_BPP_32 && tga->alphabits == 8))) in read_header_tga()
182 tga->bits, tga->alphabits); in read_header_tga()
H A Dgd_tga.h23 uint8_t alphabits; // alpha bits (low 4bits of header 17) member

Completed in 8 milliseconds