]> git.sesse.net Git - movit/commit
Revert the optimization of the bilinear weights.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 23 Feb 2015 00:19:03 +0000 (01:19 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 23 Feb 2015 00:19:03 +0000 (01:19 +0100)
commit641053e9fc86b2166e361a983075febc3bb69acd
tree309d432ebe95b22299eb95bded80ac1c4d2a969c
parent0af958592e20bde3721a6deb16a6e32edfeb6cdc
Revert the optimization of the bilinear weights.

For the case where the resampling changed every frame (e.g. a zoom),
it just consumed too much CPU to be worth it, especially in memory
management; this is painful because it was an elegant solution to
a tricky problem, but it just has to go for now.

Also drop out to fp32 at the first sight of too-high error.
resample_effect.cpp