]> granicus.if.org Git - libvpx/commit
Optimize apply_temporal_filter function
authorYunqing Wang <yunqingwang@google.com>
Fri, 12 Oct 2018 19:25:36 +0000 (12:25 -0700)
committerYunqing Wang <yunqingwang@google.com>
Fri, 12 Oct 2018 23:39:20 +0000 (16:39 -0700)
commitfc1679863b5d86a4f3f0dcb14ef37dae7c8cb94a
tree883f48c93deb6dd8bdf8ab1dafc96556b4e08275
parent1db646f0de18bc4b43fb901025a9e3cedb6a8157
Optimize apply_temporal_filter function

This patch optimized apply_temporal_filter function. The diff^2 for each
pixel in the 16x16 block is calculated once beforehand, so that we don't
calculate it multiple times while evaluating a pixel's neighbors. This
would speed up the function.

Change-Id: Ibdb8b041f317fd6df198950e2acf9cfcde26860d
vp9/encoder/vp9_temporal_filter.c