Lines Matching refs:num_trans
832 istop=(int)png_ptr->num_trans;
848 if ((color_type == PNG_COLOR_TYPE_PALETTE && png_ptr->num_trans != 0)
854 for (i=0; i<png_ptr->num_trans; i++)
937 if (i < (int)png_ptr->num_trans && png_ptr->trans[i] != 0xff)
1053 int istop = (int)png_ptr->num_trans;
1126 if (png_ptr->num_trans && (png_ptr->transformations & PNG_EXPAND_tRNS))
1131 info_ptr->num_trans = 0;
1135 if (png_ptr->num_trans)
1144 info_ptr->num_trans = 0;
1153 info_ptr->num_trans = 0;
1293 png_ptr->palette, png_ptr->trans, png_ptr->num_trans);
1297 if (png_ptr->num_trans &&
1372 ((png_ptr->num_trans != 0 ) ||
1390 ((png_ptr->num_trans != 0) ||
2573 if (i < png_ptr->num_trans && png_ptr->trans[i] == 0)
2577 else if (i < png_ptr->num_trans && png_ptr->trans[i] != 0xff)
2649 for (i = 0; i < (int)png_ptr->num_trans; i++)
3561 * upon whether you supply trans and num_trans.
3565 png_colorp palette, png_bytep trans, int num_trans)
3664 if ((int)(*sp) >= num_trans)