Lines Matching refs:trans_alpha
1123 if (png_ptr->trans_alpha[i] == 255) in png_init_palette_transformations()
1125 else if (png_ptr->trans_alpha[i] == 0) in png_init_palette_transformations()
1181 png_ptr->trans_alpha[i] = (png_byte)(255 - in png_init_palette_transformations()
1182 png_ptr->trans_alpha[i]); in png_init_palette_transformations()
1675 png_ptr->trans_alpha[i] != 0xff) in png_init_read_transformations()
1677 if (png_ptr->trans_alpha[i] == 0) in png_init_read_transformations()
1686 png_composite(w, v, png_ptr->trans_alpha[i], back_1.red); in png_init_read_transformations()
1690 png_composite(w, v, png_ptr->trans_alpha[i], back_1.green); in png_init_read_transformations()
1694 png_composite(w, v, png_ptr->trans_alpha[i], back_1.blue); in png_init_read_transformations()
1851 if (png_ptr->trans_alpha[i] == 0) in png_init_read_transformations()
1856 else if (png_ptr->trans_alpha[i] != 0xff) in png_init_read_transformations()
1860 png_ptr->trans_alpha[i], back.red); in png_init_read_transformations()
1863 png_ptr->trans_alpha[i], back.green); in png_init_read_transformations()
1866 png_ptr->trans_alpha[i], back.blue); in png_init_read_transformations()
4198 png_const_colorp palette, png_const_bytep trans_alpha, int num_trans) in png_do_expand_palette() argument
4308 *dp-- = trans_alpha[*sp]; in png_do_expand_palette()
4742 png_ptr->palette, png_ptr->trans_alpha, png_ptr->num_trans); in png_do_read_transformations()