Searched refs:total_filter (Results 1 – 2 of 2) sorted by relevance
1040 float total_filter = 0; in stbir__calculate_coefficients_upsample() local1063 total_filter += coefficient_group[i]; in stbir__calculate_coefficients_upsample()1068 STBIR_ASSERT(total_filter > 0.9); in stbir__calculate_coefficients_upsample()1069 STBIR_ASSERT(total_filter < 1.1f); // Make sure it's not way off. in stbir__calculate_coefficients_upsample()1072 filter_scale = 1 / total_filter; in stbir__calculate_coefficients_upsample()