summaryrefslogtreecommitdiff
path: root/tools_common.c
diff options
context:
space:
mode:
authorDmitry Kovalev <dkovalev@google.com>2014-01-10 16:09:56 -0800
committerDmitry Kovalev <dkovalev@google.com>2014-01-10 16:09:56 -0800
commit4def0a8125c84a20724e481c4753724413d710c1 (patch)
tree202174a507eb226e263ed395ef1a4d195f33b1fd /tools_common.c
parentc8e8d3a461c3a75e768bd8b380e4439de7acb290 (diff)
downloadlibvpx-4def0a8125c84a20724e481c4753724413d710c1.tar
libvpx-4def0a8125c84a20724e481c4753724413d710c1.tar.gz
libvpx-4def0a8125c84a20724e481c4753724413d710c1.tar.bz2
libvpx-4def0a8125c84a20724e481c4753724413d710c1.zip
Cleaning up and fixing psnr calculation code.
Introducing calc_psnr() which calculates psnr between two yv12 buffers. Previously we incorrectly used width/height instead of crop_width/crop_height to calculate number of samples -- fixed. Change-Id: Iecda01980555de55ad347e0276e6641c793fa56c
Diffstat (limited to 'tools_common.c')
0 files changed, 0 insertions, 0 deletions