Lines Matching refs:trans_alpha
1096 if (png_ptr->trans_alpha[i] == 255) in png_init_palette_transformations()
1098 else if (png_ptr->trans_alpha[i] == 0) in png_init_palette_transformations()
1149 png_ptr->trans_alpha[i] = (png_byte)(255 - in png_init_palette_transformations()
1150 png_ptr->trans_alpha[i]); in png_init_palette_transformations()
1633 png_ptr->trans_alpha[i] != 0xff) in png_init_read_transformations()
1635 if (png_ptr->trans_alpha[i] == 0) in png_init_read_transformations()
1644 png_composite(w, v, png_ptr->trans_alpha[i], back_1.red); in png_init_read_transformations()
1648 png_composite(w, v, png_ptr->trans_alpha[i], back_1.green); in png_init_read_transformations()
1652 png_composite(w, v, png_ptr->trans_alpha[i], back_1.blue); in png_init_read_transformations()
1808 if (png_ptr->trans_alpha[i] == 0) in png_init_read_transformations()
1813 else if (png_ptr->trans_alpha[i] != 0xff) in png_init_read_transformations()
1817 png_ptr->trans_alpha[i], back.red); in png_init_read_transformations()
1820 png_ptr->trans_alpha[i], back.green); in png_init_read_transformations()
1823 png_ptr->trans_alpha[i], back.blue); in png_init_read_transformations()
2114 png_ptr->palette, png_ptr->trans_alpha, png_ptr->num_trans); in png_do_read_transformations()
4488 png_const_colorp palette, png_const_bytep trans_alpha, int num_trans) in png_do_expand_palette() argument
4598 *dp-- = trans_alpha[*sp]; in png_do_expand_palette()