Lines Matching refs:trans_color
1202 int trans_gray = png_ptr->trans_color.gray;
1236 png_ptr->trans_color.red = png_ptr->trans_color.green =
1237 png_ptr->trans_color.blue = (png_uint_16)trans_gray;
2122 &(png_ptr->trans_color));
3521 == png_ptr->trans_color.gray)
3549 == png_ptr->trans_color.gray)
3583 == png_ptr->trans_color.gray)
3612 == png_ptr->trans_color.gray)
3646 == png_ptr->trans_color.gray)
3673 if (*sp == png_ptr->trans_color.gray)
3686 if (*sp == png_ptr->trans_color.gray)
3705 if (v == png_ptr->trans_color.gray)
3732 if (v == png_ptr->trans_color.gray)
3760 if (*sp == png_ptr->trans_color.red &&
3761 *(sp + 1) == png_ptr->trans_color.green &&
3762 *(sp + 2) == png_ptr->trans_color.blue)
3783 if (*sp == png_ptr->trans_color.red &&
3784 *(sp + 1) == png_ptr->trans_color.green &&
3785 *(sp + 2) == png_ptr->trans_color.blue)
3810 if (r == png_ptr->trans_color.red &&
3811 g == png_ptr->trans_color.green &&
3812 b == png_ptr->trans_color.blue)
3857 if (r == png_ptr->trans_color.red &&
3858 g == png_ptr->trans_color.green &&
3859 b == png_ptr->trans_color.blue)
4641 png_const_color_16p trans_color)
4653 png_uint_16 gray = (png_uint_16)(trans_color ? trans_color->gray : 0);
4745 if (trans_color != NULL)
4797 else if (row_info->color_type == PNG_COLOR_TYPE_RGB && trans_color)
4801 png_byte red = (png_byte)(trans_color->red & 0xff);
4802 png_byte green = (png_byte)(trans_color->green & 0xff);
4803 png_byte blue = (png_byte)(trans_color->blue & 0xff);
4821 png_byte red_high = (png_byte)((trans_color->red >> 8) & 0xff);
4822 png_byte green_high = (png_byte)((trans_color->green >> 8) & 0xff);
4823 png_byte blue_high = (png_byte)((trans_color->blue >> 8) & 0xff);
4824 png_byte red_low = (png_byte)(trans_color->red & 0xff);
4825 png_byte green_low = (png_byte)(trans_color->green & 0xff);
4826 png_byte blue_low = (png_byte)(trans_color->blue & 0xff);