Beginning of a more sophisticated resample algorithm, starting with calculating filter contributions per scan line.

This commit is contained in:
Jorge Rodriguez
2014-07-23 22:17:56 -07:00
parent 0155bd3ab6
commit 55c5f0b3a0
3 changed files with 220 additions and 65 deletions

11
tests/resample_test_c.c Normal file
View File

@ -0,0 +1,11 @@
#ifdef _WIN32
#define STBR_ASSERT(x) \
if (!(x)) \
__debugbreak();
#endif
#define STB_RESAMPLE_IMPLEMENTATION
#define STB_RESAMPLE_STATIC
#include "stb_resample.h"
// Just to make sure it will build properly with a c compiler