Searched refs:sumhi (Results 1 – 2 of 2) sorted by relevance
2219 png_uint_32 sumhi, sumlo; in png_write_find_filter() local2222 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() local2339 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()[all …]
2172 png_uint_32 sumhi, sumlo; in png_write_find_filter() local2175 sumhi = (sum >> PNG_HISHIFT) & PNG_HIMASK; /* Gives us some footroom */ in png_write_find_filter()2184 sumhi = (sumhi * png_ptr->filter_weights[j]) >> in png_write_find_filter()2195 sumhi = (sumhi * png_ptr->filter_costs[PNG_FILTER_VALUE_NONE]) >> in png_write_find_filter()2198 if (sumhi > PNG_HIMASK) in png_write_find_filter()2201 sum = (sumhi << PNG_HISHIFT) + sumlo; in png_write_find_filter()2290 png_uint_32 sumhi, sumlo; in png_write_find_filter() local2292 sumhi = (sum >> PNG_HISHIFT) & PNG_HIMASK; in png_write_find_filter()2300 sumhi = (sumhi * png_ptr->inv_filter_weights[j]) >> in png_write_find_filter()2307 sumhi = (sumhi * png_ptr->inv_filter_costs[PNG_FILTER_VALUE_SUB]) >> in png_write_find_filter()[all …]