Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/stb/
H A Dstb_image_resize.h425 #define STBIR__ARRAY_SIZE(a) (sizeof((a))/sizeof((a)[0])) macro
885 STBIR_ASSERT(filter < STBIR__ARRAY_SIZE(stbir__filter_info_table)); in stbir__get_filter_pixel_width()
2266 …STBIR_ASSERT(info->horizontal_filter < STBIR__ARRAY_SIZE(stbir__filter_info_table)); // this now h… in stbir__calculate_memory()
2268 …STBIR_ASSERT(info->vertical_filter < STBIR__ARRAY_SIZE(stbir__filter_info_table)); // this now hap… in stbir__calculate_memory()
2318 STBIR_ASSERT(info->horizontal_filter < STBIR__ARRAY_SIZE(stbir__filter_info_table)); in stbir__resize_allocated()
2319 STBIR_ASSERT(info->vertical_filter < STBIR__ARRAY_SIZE(stbir__filter_info_table)); in stbir__resize_allocated()
2321 if (info->horizontal_filter >= STBIR__ARRAY_SIZE(stbir__filter_info_table)) in stbir__resize_allocated()
2323 if (info->vertical_filter >= STBIR__ARRAY_SIZE(stbir__filter_info_table)) in stbir__resize_allocated()
/OK3568_Linux_fs/external/rknpu2/examples/librknn_api_android_demo/include/stb/
H A Dstb_image_resize.h425 #define STBIR__ARRAY_SIZE(a) (sizeof((a))/sizeof((a)[0])) macro
885 STBIR_ASSERT(filter < STBIR__ARRAY_SIZE(stbir__filter_info_table)); in stbir__get_filter_pixel_width()
2266 …STBIR_ASSERT(info->horizontal_filter < STBIR__ARRAY_SIZE(stbir__filter_info_table)); // this now h… in stbir__calculate_memory()
2268 …STBIR_ASSERT(info->vertical_filter < STBIR__ARRAY_SIZE(stbir__filter_info_table)); // this now hap… in stbir__calculate_memory()
2318 STBIR_ASSERT(info->horizontal_filter < STBIR__ARRAY_SIZE(stbir__filter_info_table)); in stbir__resize_allocated()
2319 STBIR_ASSERT(info->vertical_filter < STBIR__ARRAY_SIZE(stbir__filter_info_table)); in stbir__resize_allocated()
2321 if (info->horizontal_filter >= STBIR__ARRAY_SIZE(stbir__filter_info_table)) in stbir__resize_allocated()
2323 if (info->vertical_filter >= STBIR__ARRAY_SIZE(stbir__filter_info_table)) in stbir__resize_allocated()