Home
last modified time | relevance | path

Searched refs:STBIR_ASSERT (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/stb/
H A Dstb_image_resize.h388 #ifndef STBIR_ASSERT
390 #define STBIR_ASSERT(x) assert(x) macro
762 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()
1043STBIR_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()
1066STBIR_ASSERT(stbir__filter_info_table[filter].kernel((float)(in_last_pixel + 1) + 0.5f - in_center… in stbir__calculate_coefficients_upsample()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/librknn_api_android_demo/include/stb/
H A Dstb_image_resize.h388 #ifndef STBIR_ASSERT
390 #define STBIR_ASSERT(x) assert(x) macro
762 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()
1043STBIR_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()
1066STBIR_ASSERT(stbir__filter_info_table[filter].kernel((float)(in_last_pixel + 1) + 0.5f - in_center… in stbir__calculate_coefficients_upsample()
[all …]