Home | History | Annotate | Download | only in libpng

Lines Matching refs:trans

2307             unsigned int step, i, val, trans = 256/*ignore*/, back_alpha = 0;
2321 trans = png_ptr->trans_color.gray;
2340 if (i != trans)
2915 png_const_bytep trans = num_trans > 0 ? png_ptr->trans_alpha : NULL;
2917 const int do_background = trans != NULL &&
2922 if (trans == NULL)
2936 if (do_background && i < num_trans && trans[i] < 255)
2938 if (trans[i] == 0)
2949 trans[i], back_r, output_encoding),
2951 trans[i], back_g, output_encoding),
2953 trans[i], back_b, output_encoding),
2954 output_encoding == P_LINEAR ? trans[i] * 257U :
2955 trans[i],
2963 i < num_trans ? trans[i] : 255U, P_FILE/*8-bit*/);