summaryrefslogtreecommitdiff
path: root/test/level_test.cc
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2019-03-13 12:06:39 -0700
committerJingning Han <jingning@google.com>2019-03-13 12:11:04 -0700
commite2435ff1f85679d8d67e1f9bb62835fdb948cbeb (patch)
tree00a5520be128ffa7e917df70589d84a7881fd37c /test/level_test.cc
parent1c07e79ef18efbab652b9296af67503885606663 (diff)
downloadlibvpx-e2435ff1f85679d8d67e1f9bb62835fdb948cbeb.tar
libvpx-e2435ff1f85679d8d67e1f9bb62835fdb948cbeb.tar.gz
libvpx-e2435ff1f85679d8d67e1f9bb62835fdb948cbeb.tar.bz2
libvpx-e2435ff1f85679d8d67e1f9bb62835fdb948cbeb.zip
Safe guard zero median filter outcome case
In case median filter returns 0 value, bypass the Wiener filter stage. This avoids potential divided by 0 case. In the same place use a temp variable to take the Wiener filter output instead of returning to the coeff array. Change-Id: I45f57c515b4062a0aa1f312eda852462cb655d8e
Diffstat (limited to 'test/level_test.cc')
0 files changed, 0 insertions, 0 deletions