Lines Matching refs:trans_color
1231 int trans_gray = png_ptr->trans_color.gray; in png_init_rgb_transformations()
1265 png_ptr->trans_color.red = png_ptr->trans_color.green = in png_init_rgb_transformations()
1266 png_ptr->trans_color.blue = (png_uint_16)trans_gray; in png_init_rgb_transformations()
3217 == png_ptr->trans_color.gray) in png_do_compose()
3246 == png_ptr->trans_color.gray) in png_do_compose()
3282 == png_ptr->trans_color.gray) in png_do_compose()
3312 == png_ptr->trans_color.gray) in png_do_compose()
3348 == png_ptr->trans_color.gray) in png_do_compose()
3376 if (*sp == png_ptr->trans_color.gray) in png_do_compose()
3389 if (*sp == png_ptr->trans_color.gray) in png_do_compose()
3408 if (v == png_ptr->trans_color.gray) in png_do_compose()
3435 if (v == png_ptr->trans_color.gray) in png_do_compose()
3463 if (*sp == png_ptr->trans_color.red && in png_do_compose()
3464 *(sp + 1) == png_ptr->trans_color.green && in png_do_compose()
3465 *(sp + 2) == png_ptr->trans_color.blue) in png_do_compose()
3486 if (*sp == png_ptr->trans_color.red && in png_do_compose()
3487 *(sp + 1) == png_ptr->trans_color.green && in png_do_compose()
3488 *(sp + 2) == png_ptr->trans_color.blue) in png_do_compose()
3513 if (r == png_ptr->trans_color.red && in png_do_compose()
3514 g == png_ptr->trans_color.green && in png_do_compose()
3515 b == png_ptr->trans_color.blue) in png_do_compose()
3560 if (r == png_ptr->trans_color.red && in png_do_compose()
3561 g == png_ptr->trans_color.green && in png_do_compose()
3562 b == png_ptr->trans_color.blue) in png_do_compose()
4344 png_const_color_16p trans_color) in png_do_expand() argument
4356 unsigned int gray = trans_color ? trans_color->gray : 0; in png_do_expand()
4448 if (trans_color != NULL) in png_do_expand()
4500 else if (row_info->color_type == PNG_COLOR_TYPE_RGB && trans_color) in png_do_expand()
4504 png_byte red = (png_byte)(trans_color->red & 0xff); in png_do_expand()
4505 png_byte green = (png_byte)(trans_color->green & 0xff); in png_do_expand()
4506 png_byte blue = (png_byte)(trans_color->blue & 0xff); in png_do_expand()
4524 png_byte red_high = (png_byte)((trans_color->red >> 8) & 0xff); in png_do_expand()
4525 png_byte green_high = (png_byte)((trans_color->green >> 8) & 0xff); in png_do_expand()
4526 png_byte blue_high = (png_byte)((trans_color->blue >> 8) & 0xff); in png_do_expand()
4527 png_byte red_low = (png_byte)(trans_color->red & 0xff); in png_do_expand()
4528 png_byte green_low = (png_byte)(trans_color->green & 0xff); in png_do_expand()
4529 png_byte blue_low = (png_byte)(trans_color->blue & 0xff); in png_do_expand()
4741 &(png_ptr->trans_color)); in png_do_read_transformations()