]> git.sesse.net Git - movit/commit
Add zooming to ResampleEffect.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 1 Apr 2014 00:21:00 +0000 (02:21 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 1 Apr 2014 00:21:00 +0000 (02:21 +0200)
commitc783d084e831c1a2112b9c9309407a03b5a4cf20
tree26f4f0a583c7f88d25104072eca9e17d177c5b4e
parentd8b01c80815f74603eddd2b8f66249a967fa7bab
Add zooming to ResampleEffect.

Same rationale as with the offset; we need resampling for proper zoom.

The look at heavy zoom isn't _quite_ what I had hoped for (although it's OK),
and there's a hint of shimmering in the zoom center if there's high-contrast
material there. For now, I'll write off the latter as Lanczos ringing;
I'll need to see what it does to video eventually (only tested with stills).
resample_effect.cpp
resample_effect.frag
resample_effect.h
resample_effect_test.cpp