Home | History | Annotate | Download | only in libpng

Lines Matching refs:num_trans

884               istop=(int)png_ptr->num_trans;
900 if ((color_type == PNG_COLOR_TYPE_PALETTE && png_ptr->num_trans != 0)
906 for (i=0; i<png_ptr->num_trans; i++)
992 if (i < (int)png_ptr->num_trans && png_ptr->trans[i] != 0xff)
1121 int istop = (int)png_ptr->num_trans;
1199 if (png_ptr->num_trans &&
1205 info_ptr->num_trans = 0;
1209 if (png_ptr->num_trans)
1216 info_ptr->num_trans = 0;
1225 info_ptr->num_trans = 0;
1367 png_ptr->palette, png_ptr->trans, png_ptr->num_trans);
1371 if (png_ptr->num_trans &&
1449 ((png_ptr->num_trans != 0 ) ||
1467 ((png_ptr->num_trans != 0) ||
2678 if (i < png_ptr->num_trans && png_ptr->trans[i] == 0)
2682 else if (i < png_ptr->num_trans && png_ptr->trans[i] != 0xff)
2754 for (i = 0; i < (int)png_ptr->num_trans; i++)
3681 * upon whether you supply trans and num_trans.
3685 png_colorp palette, png_bytep trans, int num_trans)
3787 if ((int)(*sp) >= num_trans)