Lines Matching refs:sumhi
2219 png_uint_32 sumhi, sumlo; in png_write_find_filter() local
2222 sumhi = (sum >> PNG_HISHIFT) & PNG_HIMASK; /* Gives us some footroom */ in png_write_find_filter()
2231 sumhi = (sumhi * png_ptr->filter_weights[j]) >> in png_write_find_filter()
2242 sumhi = (sumhi * png_ptr->filter_costs[PNG_FILTER_VALUE_NONE]) >> in png_write_find_filter()
2245 if (sumhi > PNG_HIMASK) in png_write_find_filter()
2248 sum = (sumhi << PNG_HISHIFT) + sumlo; in png_write_find_filter()
2337 png_uint_32 sumhi, sumlo; in png_write_find_filter() local
2339 sumhi = (sum >> PNG_HISHIFT) & PNG_HIMASK; in png_write_find_filter()
2347 sumhi = (sumhi * png_ptr->inv_filter_weights[j]) >> in png_write_find_filter()
2354 sumhi = (sumhi * png_ptr->inv_filter_costs[PNG_FILTER_VALUE_SUB]) >> in png_write_find_filter()
2357 if (sumhi > PNG_HIMASK) in png_write_find_filter()
2360 sum = (sumhi << PNG_HISHIFT) + sumlo; in png_write_find_filter()
2440 png_uint_32 sumhi, sumlo; in png_write_find_filter() local
2442 sumhi = (sum >> PNG_HISHIFT) & PNG_HIMASK; in png_write_find_filter()
2450 sumhi = (sumhi * png_ptr->filter_weights[j]) >> in png_write_find_filter()
2457 sumhi = (sumhi * png_ptr->filter_costs[PNG_FILTER_VALUE_UP]) >> in png_write_find_filter()
2460 if (sumhi > PNG_HIMASK) in png_write_find_filter()
2463 sum = (sumhi << PNG_HISHIFT) + sumlo; in png_write_find_filter()
2552 png_uint_32 sumhi, sumlo; in png_write_find_filter() local
2554 sumhi = (sum >> PNG_HISHIFT) & PNG_HIMASK; in png_write_find_filter()
2562 sumhi = (sumhi * png_ptr->filter_weights[j]) >> in png_write_find_filter()
2569 sumhi = (sumhi * png_ptr->filter_costs[PNG_FILTER_VALUE_AVG]) >> in png_write_find_filter()
2572 if (sumhi > PNG_HIMASK) in png_write_find_filter()
2575 sum = (sumhi << PNG_HISHIFT) + sumlo; in png_write_find_filter()
2717 png_uint_32 sumhi, sumlo; in png_write_find_filter() local
2719 sumhi = (sum >> PNG_HISHIFT) & PNG_HIMASK; in png_write_find_filter()
2727 sumhi = (sumhi * png_ptr->filter_weights[j]) >> in png_write_find_filter()
2734 sumhi = (sumhi * png_ptr->filter_costs[PNG_FILTER_VALUE_PAETH]) >> in png_write_find_filter()
2737 if (sumhi > PNG_HIMASK) in png_write_find_filter()
2740 sum = (sumhi << PNG_HISHIFT) + sumlo; in png_write_find_filter()