Searched refs:do_filter (Results 1 – 12 of 12) sorted by relevance
1201 png_ptr->do_filter = PNG_FILTER_NONE; break; in png_set_filter()1204 png_ptr->do_filter = PNG_FILTER_SUB; break; in png_set_filter()1206 png_ptr->do_filter = PNG_FILTER_UP; break; in png_set_filter()1208 png_ptr->do_filter = PNG_FILTER_AVG; break; in png_set_filter()1210 png_ptr->do_filter = PNG_FILTER_PAETH; break; in png_set_filter()1211 default: png_ptr->do_filter = (png_byte)filters; break; in png_set_filter()1229 if ((png_ptr->do_filter & PNG_FILTER_SUB) && png_ptr->sub_row == NULL) in png_set_filter()1236 if ((png_ptr->do_filter & PNG_FILTER_UP) && png_ptr->up_row == NULL) in png_set_filter()1241 png_ptr->do_filter &= ~PNG_FILTER_UP; in png_set_filter()1251 if ((png_ptr->do_filter & PNG_FILTER_AVG) && png_ptr->avg_row == NULL) in png_set_filter()[all …]
523 if (!(png_ptr->do_filter)) in png_write_IHDR()527 png_ptr->do_filter = PNG_FILTER_NONE; in png_write_IHDR()529 png_ptr->do_filter = PNG_ALL_FILTERS; in png_write_IHDR()533 if (png_ptr->do_filter != PNG_FILTER_NONE) in png_write_IHDR()1791 if (png_ptr->do_filter & PNG_FILTER_SUB) in png_write_start_row()1799 if (png_ptr->do_filter & (PNG_FILTER_AVG | PNG_FILTER_UP | PNG_FILTER_PAETH)) in png_write_start_row()1805 if (png_ptr->do_filter & PNG_FILTER_UP) in png_write_start_row()1812 if (png_ptr->do_filter & PNG_FILTER_AVG) in png_write_start_row()1819 if (png_ptr->do_filter & PNG_FILTER_PAETH) in png_write_start_row()2151 png_byte filter_to_do = png_ptr->do_filter; in png_write_find_filter()
1321 png_byte do_filter PNG_DEPSTRUCT; /* row filter flags (see PNG_FILTER_ below ) */
1374 png_byte do_filter PNG_DEPSTRUCT; /* row filter flags (see PNG_FILTER_ below ) */
1010 png_ptr->do_filter = PNG_FILTER_NONE; break; in png_set_filter()1014 png_ptr->do_filter = PNG_FILTER_SUB; break; in png_set_filter()1017 png_ptr->do_filter = PNG_FILTER_UP; break; in png_set_filter()1020 png_ptr->do_filter = PNG_FILTER_AVG; break; in png_set_filter()1023 png_ptr->do_filter = PNG_FILTER_PAETH; break; in png_set_filter()1026 png_ptr->do_filter = (png_byte)filters; break; in png_set_filter()1045 if ((png_ptr->do_filter & PNG_FILTER_SUB) && png_ptr->sub_row == NULL) in png_set_filter()1052 if ((png_ptr->do_filter & PNG_FILTER_UP) && png_ptr->up_row == NULL) in png_set_filter()1057 png_ptr->do_filter = (png_byte)(png_ptr->do_filter & in png_set_filter()1069 if ((png_ptr->do_filter & PNG_FILTER_AVG) && png_ptr->avg_row == NULL) in png_set_filter()[all …]
340 else if (png_ptr->do_filter != PNG_FILTER_NONE) in png_deflate_claim()901 if (!(png_ptr->do_filter)) in png_write_IHDR()905 png_ptr->do_filter = PNG_FILTER_NONE; in png_write_IHDR()908 png_ptr->do_filter = PNG_ALL_FILTERS; in png_write_IHDR()1976 if (png_ptr->do_filter & PNG_FILTER_SUB) in png_write_start_row()1984 if (png_ptr->do_filter & (PNG_FILTER_AVG | PNG_FILTER_UP | PNG_FILTER_PAETH)) in png_write_start_row()1989 if (png_ptr->do_filter & PNG_FILTER_UP) in png_write_start_row()1997 if (png_ptr->do_filter & PNG_FILTER_AVG) in png_write_start_row()2005 if (png_ptr->do_filter & PNG_FILTER_PAETH) in png_write_start_row()2327 png_byte filter_to_do = png_ptr->do_filter; in png_write_find_filter()
298 png_byte do_filter; /* row filter flags (see PNG_FILTER_ below ) */ member
7 extern int do_filter(int argc, char **argv);
230 return do_filter(argc-1, argv+1); in do_cmd()
352 int do_filter(int argc, char **argv) in do_filter() function