• Home
  • Raw
  • Download

Lines Matching refs:transformations

152    png_ptr->transformations |= PNG_COMPOSE | PNG_STRIP_ALPHA;  in png_set_background_fixed()
153 png_ptr->transformations &= ~PNG_ENCODE_ALPHA; in png_set_background_fixed()
160 png_ptr->transformations |= PNG_BACKGROUND_EXPAND; in png_set_background_fixed()
162 png_ptr->transformations &= ~PNG_BACKGROUND_EXPAND; in png_set_background_fixed()
190 png_ptr->transformations |= PNG_SCALE_16_TO_8; in png_set_scale_16()
204 png_ptr->transformations |= PNG_16_TO_8; in png_set_strip_16()
217 png_ptr->transformations |= PNG_STRIP_ALPHA; in png_set_strip_alpha()
337 png_ptr->transformations &= ~PNG_ENCODE_ALPHA; in png_set_alpha_mode_fixed()
343 png_ptr->transformations &= ~PNG_ENCODE_ALPHA; in png_set_alpha_mode_fixed()
351 png_ptr->transformations &= ~PNG_ENCODE_ALPHA; in png_set_alpha_mode_fixed()
358 png_ptr->transformations |= PNG_ENCODE_ALPHA; in png_set_alpha_mode_fixed()
388 png_ptr->transformations &= ~PNG_BACKGROUND_EXPAND; in png_set_alpha_mode_fixed()
390 if ((png_ptr->transformations & PNG_COMPOSE) != 0) in png_set_alpha_mode_fixed()
394 png_ptr->transformations |= PNG_COMPOSE; in png_set_alpha_mode_fixed()
437 png_ptr->transformations |= PNG_QUANTIZE; in png_set_quantize()
879 png_ptr->transformations |= (PNG_EXPAND | PNG_EXPAND_tRNS); in png_set_expand()
909 png_ptr->transformations |= (PNG_EXPAND | PNG_EXPAND_tRNS); in png_set_palette_to_rgb()
921 png_ptr->transformations |= PNG_EXPAND; in png_set_expand_gray_1_2_4_to_8()
933 png_ptr->transformations |= (PNG_EXPAND | PNG_EXPAND_tRNS); in png_set_tRNS_to_alpha()
949 png_ptr->transformations |= (PNG_EXPAND_16 | PNG_EXPAND | PNG_EXPAND_tRNS); in png_set_expand_16()
964 png_ptr->transformations |= PNG_GRAY_TO_RGB; in png_set_gray_to_rgb()
983 png_ptr->transformations |= PNG_RGB_TO_GRAY; in png_set_rgb_to_gray_fixed()
987 png_ptr->transformations |= PNG_RGB_TO_GRAY_WARN; in png_set_rgb_to_gray_fixed()
991 png_ptr->transformations |= PNG_RGB_TO_GRAY_ERR; in png_set_rgb_to_gray_fixed()
1000 png_ptr->transformations |= PNG_EXPAND; in png_set_rgb_to_gray_fixed()
1079 png_ptr->transformations |= PNG_USER_TRANSFORM; in png_set_read_user_transform_fn()
1157 png_ptr->transformations &= ~PNG_ENCODE_ALPHA; in png_init_palette_transformations()
1161 png_ptr->transformations &= ~(PNG_COMPOSE | PNG_BACKGROUND_EXPAND); in png_init_palette_transformations()
1173 if ((png_ptr->transformations & PNG_BACKGROUND_EXPAND) != 0 && in png_init_palette_transformations()
1174 (png_ptr->transformations & PNG_EXPAND) != 0) in png_init_palette_transformations()
1185 if ((png_ptr->transformations & PNG_INVERT_ALPHA) != 0) in png_init_palette_transformations()
1187 if ((png_ptr->transformations & PNG_EXPAND_tRNS) == 0) in png_init_palette_transformations()
1223 png_ptr->transformations &= ~PNG_ENCODE_ALPHA; in png_init_rgb_transformations()
1228 png_ptr->transformations &= ~(PNG_COMPOSE | PNG_BACKGROUND_EXPAND); in png_init_rgb_transformations()
1240 if ((png_ptr->transformations & PNG_BACKGROUND_EXPAND) != 0 && in png_init_rgb_transformations()
1241 (png_ptr->transformations & PNG_EXPAND) != 0 && in png_init_rgb_transformations()
1280 if ((png_ptr->transformations & PNG_EXPAND_tRNS) == 0) in png_init_rgb_transformations()
1357 png_ptr->transformations |= PNG_GAMMA; in png_init_read_transformations()
1360 png_ptr->transformations &= ~PNG_GAMMA; in png_init_read_transformations()
1394 if ((png_ptr->transformations & PNG_STRIP_ALPHA) != 0 && in png_init_read_transformations()
1395 (png_ptr->transformations & PNG_COMPOSE) == 0) in png_init_read_transformations()
1402 png_ptr->transformations &= ~(PNG_BACKGROUND_EXPAND | PNG_ENCODE_ALPHA | in png_init_read_transformations()
1423 png_ptr->transformations &= ~PNG_ENCODE_ALPHA; in png_init_read_transformations()
1432 if ((png_ptr->transformations & PNG_RGB_TO_GRAY) != 0) in png_init_read_transformations()
1453 if ((png_ptr->transformations & PNG_BACKGROUND_EXPAND) != 0) in png_init_read_transformations()
1462 else if ((png_ptr->transformations & PNG_COMPOSE) != 0) in png_init_read_transformations()
1469 if ((png_ptr->transformations & PNG_GRAY_TO_RGB) != 0) in png_init_read_transformations()
1501 if ((png_ptr->transformations & PNG_EXPAND_16) != 0 && in png_init_read_transformations()
1502 (png_ptr->transformations & PNG_COMPOSE) != 0 && in png_init_read_transformations()
1503 (png_ptr->transformations & PNG_BACKGROUND_EXPAND) == 0 && in png_init_read_transformations()
1528 if ((png_ptr->transformations & (PNG_16_TO_8|PNG_SCALE_16_TO_8)) != 0 && in png_init_read_transformations()
1529 (png_ptr->transformations & PNG_COMPOSE) != 0 && in png_init_read_transformations()
1530 (png_ptr->transformations & PNG_BACKGROUND_EXPAND) == 0 && in png_init_read_transformations()
1574 if ((png_ptr->transformations & PNG_GAMMA) != 0 || in png_init_read_transformations()
1575 ((png_ptr->transformations & PNG_RGB_TO_GRAY) != 0 && in png_init_read_transformations()
1578 ((png_ptr->transformations & PNG_COMPOSE) != 0 && in png_init_read_transformations()
1585 )) || ((png_ptr->transformations & PNG_ENCODE_ALPHA) != 0 && in png_init_read_transformations()
1591 if ((png_ptr->transformations & PNG_COMPOSE) != 0) in png_init_read_transformations()
1599 if ((png_ptr->transformations & PNG_RGB_TO_GRAY) != 0) in png_init_read_transformations()
1726 png_ptr->transformations &= ~(PNG_COMPOSE | PNG_GAMMA); in png_init_read_transformations()
1821 && ((png_ptr->transformations & PNG_EXPAND) == 0 || in png_init_read_transformations()
1822 (png_ptr->transformations & PNG_RGB_TO_GRAY) == 0) in png_init_read_transformations()
1841 png_ptr->transformations &= ~PNG_GAMMA; in png_init_read_transformations()
1851 if ((png_ptr->transformations & PNG_COMPOSE) != 0 && in png_init_read_transformations()
1884 png_ptr->transformations &= ~PNG_COMPOSE; in png_init_read_transformations()
1889 if ((png_ptr->transformations & PNG_SHIFT) != 0 && in png_init_read_transformations()
1890 (png_ptr->transformations & PNG_EXPAND) == 0 && in png_init_read_transformations()
1897 png_ptr->transformations &= ~PNG_SHIFT; in png_init_read_transformations()
1945 if ((png_ptr->transformations & PNG_EXPAND) != 0) in png_read_transform_info()
1969 if ((png_ptr->transformations & PNG_EXPAND_tRNS) != 0) in png_read_transform_info()
1985 if ((png_ptr->transformations & PNG_COMPOSE) != 0) in png_read_transform_info()
2006 if ((png_ptr->transformations & PNG_SCALE_16_TO_8) != 0) in png_read_transform_info()
2011 if ((png_ptr->transformations & PNG_16_TO_8) != 0) in png_read_transform_info()
2025 png_ptr->transformations |= PNG_16_TO_8; in png_read_transform_info()
2030 png_ptr->transformations |= PNG_SCALE_16_TO_8; in png_read_transform_info()
2041 if ((png_ptr->transformations & PNG_GRAY_TO_RGB) != 0) in png_read_transform_info()
2047 if ((png_ptr->transformations & PNG_RGB_TO_GRAY) != 0) in png_read_transform_info()
2053 if ((png_ptr->transformations & PNG_QUANTIZE) != 0) in png_read_transform_info()
2065 if ((png_ptr->transformations & PNG_EXPAND_16) != 0 && in png_read_transform_info()
2074 if ((png_ptr->transformations & PNG_PACK) != 0 && in png_read_transform_info()
2089 if ((png_ptr->transformations & PNG_STRIP_ALPHA) != 0) in png_read_transform_info()
2102 if ((png_ptr->transformations & PNG_FILLER) != 0 && in png_read_transform_info()
2108 if ((png_ptr->transformations & PNG_ADD_ALPHA) != 0) in png_read_transform_info()
2115 if ((png_ptr->transformations & PNG_USER_TRANSFORM) != 0) in png_read_transform_info()
4770 if ((png_ptr->transformations & PNG_EXPAND) != 0) in png_do_read_transformations()
4793 (png_ptr->transformations & PNG_EXPAND_tRNS) != 0) in png_do_read_transformations()
4804 if ((png_ptr->transformations & PNG_STRIP_ALPHA) != 0 && in png_do_read_transformations()
4805 (png_ptr->transformations & PNG_COMPOSE) == 0 && in png_do_read_transformations()
4813 if ((png_ptr->transformations & PNG_RGB_TO_GRAY) != 0) in png_do_read_transformations()
4822 if ((png_ptr->transformations & PNG_RGB_TO_GRAY) == in png_do_read_transformations()
4826 if ((png_ptr->transformations & PNG_RGB_TO_GRAY) == in png_do_read_transformations()
4868 if ((png_ptr->transformations & PNG_GRAY_TO_RGB) != 0 && in png_do_read_transformations()
4875 if ((png_ptr->transformations & PNG_COMPOSE) != 0) in png_do_read_transformations()
4880 if ((png_ptr->transformations & PNG_GAMMA) != 0 && in png_do_read_transformations()
4883 (png_ptr->transformations & PNG_RGB_TO_GRAY) == 0 && in png_do_read_transformations()
4890 !((png_ptr->transformations & PNG_COMPOSE) != 0 && in png_do_read_transformations()
4902 if ((png_ptr->transformations & PNG_STRIP_ALPHA) != 0 && in png_do_read_transformations()
4903 (png_ptr->transformations & PNG_COMPOSE) != 0 && in png_do_read_transformations()
4911 if ((png_ptr->transformations & PNG_ENCODE_ALPHA) != 0 && in png_do_read_transformations()
4917 if ((png_ptr->transformations & PNG_SCALE_16_TO_8) != 0) in png_do_read_transformations()
4926 if ((png_ptr->transformations & PNG_16_TO_8) != 0) in png_do_read_transformations()
4931 if ((png_ptr->transformations & PNG_QUANTIZE) != 0) in png_do_read_transformations()
4947 if ((png_ptr->transformations & PNG_EXPAND_16) != 0) in png_do_read_transformations()
4953 if ((png_ptr->transformations & PNG_GRAY_TO_RGB) != 0 && in png_do_read_transformations()
4959 if ((png_ptr->transformations & PNG_INVERT_MONO) != 0) in png_do_read_transformations()
4964 if ((png_ptr->transformations & PNG_INVERT_ALPHA) != 0) in png_do_read_transformations()
4969 if ((png_ptr->transformations & PNG_SHIFT) != 0) in png_do_read_transformations()
4975 if ((png_ptr->transformations & PNG_PACK) != 0) in png_do_read_transformations()
4987 if ((png_ptr->transformations & PNG_BGR) != 0) in png_do_read_transformations()
4992 if ((png_ptr->transformations & PNG_PACKSWAP) != 0) in png_do_read_transformations()
4997 if ((png_ptr->transformations & PNG_FILLER) != 0) in png_do_read_transformations()
5003 if ((png_ptr->transformations & PNG_SWAP_ALPHA) != 0) in png_do_read_transformations()
5009 if ((png_ptr->transformations & PNG_SWAP_BYTES) != 0) in png_do_read_transformations()
5015 if ((png_ptr->transformations & PNG_USER_TRANSFORM) != 0) in png_do_read_transformations()