Home | History | Annotate | Download | only in libpng

Lines Matching defs:tRNS

216       /* Invert the alpha channel (in tRNS) */
1798 png_byte tRNS[256];
1800 memset(tRNS, 255, (sizeof tRNS));
1844 tRNS[i] = alphabyte;
1873 tRNS[i] = entry[afirst ? 0 : 3];
1874 if (tRNS[i] < 255)
1884 tRNS[i] = entry[1 ^ afirst];
1885 if (tRNS[i] < 255)
1910 png_set_tRNS(image->opaque->png_ptr, image->opaque->info_ptr, tRNS,