Hey all,
I went and implemented this Gaussian filter (3rd-order recursive) approximation:
https://www.researchgate.net/publica...aussian_filter
Alas it's again working in 'RGBA' colorspace as I still have no clue about 'YV12' and can't fathom what Justin is doing with these YV12 vars in gfx_evalrect().
So it's again a bit CPU intensive.
The good thing is, since it's recursive, it should be equal bad (or good after some optimization) for every value of sigma, unlike some other Gaussian implementations.
I'm interested to hear how it looks compared to other Gaussian blurs.
@Justin: I noticed that you blend the 2 passes together in your filters. I just work on the main framebuffer after the 1st pass which (I think) has the same effect of correcting the phase.
Code:
Edit: updated version, see post 37 below