]> git.sesse.net Git - movit/commit
Make combine_two_pixels() handle the fact that the GPU has limited subpixel interpola...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 28 Oct 2012 16:40:56 +0000 (17:40 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 28 Oct 2012 16:40:56 +0000 (17:40 +0100)
commit34f5f331bd3b643949ccbb0c3488af2823634d59
treea0af1f4ad445e4e37f1becb7dbc540047bd609bb
parent2463f8abd9662e08438e23e5c0d0f958ea4fe54e
Make combine_two_pixels() handle the fact that the GPU has limited subpixel interpolation precision.

Currently we only use it to somewhat improve the total_weight estimate
to reduce the error slightly. However, the function can now also return
the total error estimate, which will be useful for knowing when we can
and cannot combine weights with reasonable error.
Makefile
blur_effect.cpp
demo.cpp
init.cpp [new file with mode: 0644]
init.h [new file with mode: 0644]
test_util.cpp
util.cpp
util.h