Searched refs:STBIR_ASSERT (Results 1 – 2 of 2) sorted by relevance
388 #ifndef STBIR_ASSERT390 #define STBIR_ASSERT(x) assert(x) macro762 STBIR_ASSERT(scale <= 1); in stbir__filter_trapezoid()780 STBIR_ASSERT(scale <= 1); in stbir__support_trapezoid()884 STBIR_ASSERT(filter != 0); in stbir__get_filter_pixel_width()885 STBIR_ASSERT(filter < STBIR__ARRAY_SIZE(stbir__filter_info_table)); in stbir__get_filter_pixel_width()994 STBIR_ASSERT(!"Unimplemented edge type"); in stbir__edge_wrap_slow()1043 …STBIR_ASSERT(in_last_pixel - in_first_pixel <= (int)ceil(stbir__filter_info_table[filter].support(… in stbir__calculate_coefficients_upsample()1048 STBIR_ASSERT(contributor->n1 >= contributor->n0); in stbir__calculate_coefficients_upsample()1066 …STBIR_ASSERT(stbir__filter_info_table[filter].kernel((float)(in_last_pixel + 1) + 0.5f - in_center… in stbir__calculate_coefficients_upsample()[all …]