Optimization of keying screen node
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 24 Jun 2012 15:29:43 +0000 (15:29 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 24 Jun 2012 15:29:43 +0000 (15:29 +0000)
commit09e31a41bf2cfa6af910f8d468f2f323c90ac752
tree8e6753514a7c8c8be4727685d0479a78745e151e
parent46b4f53a1b031bb90ca0694daba7cb02b2b09c8b
Optimization of keying screen node

Use AABB check before calculating barycentric coordinates.

In simple tests with FullHD image and 4-9 tracks used for gradient
gave 1.5-2x speedup.
source/blender/compositor/operations/COM_KeyingScreenOperation.cpp
source/blender/compositor/operations/COM_KeyingScreenOperation.h