commit | fb2af6b101911d7abf65a519704cdaebb0cae6fd | [log] [tgz] |
---|---|---|
author | Yang Ni <yangni@google.com> | Thu Apr 14 14:20:23 2016 -0700 |
committer | Yang Ni <yangni@google.com> | Fri Jan 13 09:10:02 2017 -0800 |
tree | c7bfff94697401ff23d6b360b3ab1c428e3b3617 | |
parent | 5d6970f2ae37d288e3f25078d500a5f062b9d317 [diff] |
Updated Refocus test This CL syncs up this standalone test with CTS, which includes similar changes as in: https://android-review.googlesource.com/#/c/214027/ https://android-review.googlesource.com/#/c/245980/ https://android-review.googlesource.com/#/c/245887/ For details, see the commit messages of those CLs. To summarize: * Allow loading the image and depthmap separatedly, so that it is easier to shrink a test image and its depth map spearately * Use PSNR for image comparison * Fixed a data race * Fixed a rounding error that may manifest on devices that does not guarantee correct rounding of half_sqrt() for integers Change-Id: I044a5bfd54d5a75810bfc5ae3406ab418c3900f3 (cherry picked from commit 219d2110d0c61b7139f26dd17e3d8ec59b516c04)