]> granicus.if.org Git - libvpx/commit
Fix high bit depth mask and variance reference function
authorYi Luo <luoyi@google.com>
Mon, 4 Apr 2016 16:44:56 +0000 (09:44 -0700)
committerYi Luo <luoyi@google.com>
Tue, 5 Apr 2016 19:58:06 +0000 (12:58 -0700)
commitc3e07b22c433eaf8a2123004d54d1edc10517c1e
tree927460975e18c84fd86dd2248a59904b2260273a
parente6b089be43deb9197e39d0be50ec1872ef17ebba
Fix high bit depth mask and variance reference function

- Use arithmetic AND (&) instead of logical AND (&&) to
  generate correct testing input.
- Fix variance reference function to be consistent with
  our codebase implementation.
- Refer to the following issue:
https://bugs.chromium.org/p/webm/issues/detail?id=1166

Change-Id: I8c1ebb03e22dc9e1dcd96bdf935fc126cee71307
test/variance_test.cc