Searched refs:STBIR__ARRAY_SIZE (Results 1 – 2 of 2) sorted by relevance
425 #define STBIR__ARRAY_SIZE(a) (sizeof((a))/sizeof((a)[0])) macro885 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()