stb_resample initial implementation
There's really no point in returning the output buffer.
It does nothing now but I want to support edge behavior in the future.
Allow specifying a stride.
We are going to support SRGB.
Beginning of a more sophisticated resample algorithm, starting with calculating filter contributions per scan line.
Merge remote-tracking branch 'remotes/nothings/master'
More accurate names. Smaller size for contributors memory, more accurate to what's needed.
Decode enough scanlines into a ring buffer to make sure that we have enough source scanlines to do a vertical sampling.
The vertical resampling pass. Now all elements of the upscale algorithm are in place.
Avoid gaps between box filter kernels.
Remove unused functions.
Starting to implement downsampling.
Basic downsampling algorithm works for uniform sampling.
Fix nonuniform downsampling.
Fix upsampling, avoid dereferencing in an inner loop.
Fix non uniform scaling where out_w > in_w && out_h < in_h.
Fix non uniform scaling where out_w < in_w && out_h > in_h.
Make consistent tests for whether we're doing upsampling or downsampling of width and height. Don't request memory for horizontal buffer or encode buffer if we don't need it.
Keeping a list of suggestions so I don't forget them.