aboutsummaryrefslogtreecommitdiff
path: root/infra
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@chromium.org>2017-10-11 12:46:25 -0700
committerCommit Bot <commit-bot@chromium.org>2017-10-11 20:21:31 +0000
commit1cebe2c622c22d579f5cc85306a1c263ac4b6bcd (patch)
tree2da48c5465300fd8bac83f1db7defcc863f8bdf7 /infra
parente23b27d040f6b1d63ddc76dbd5bd0f3b51b8ee80 (diff)
downloadlibyuv-1cebe2c622c22d579f5cc85306a1c263ac4b6bcd.tar.gz
TestHammingDistance_Opt to test low level matches C reference.
The low level hamming distance functions have size limitations based on counter sizes. The higher level calls the low level in blocks that avoid overflow and then accumulators in int64. This test compares the results of the low levels to the high level and against a known value (all ones) to ensure the count is correct for any specified size. The the size is very large, the result is expected to be different. Bug: libyuv:701 Test: TestHammingDistance_Opt Change-Id: I6716af7cd09ac4d88a8afa25bc845a1b62af7c93 Reviewed-on: https://chromium-review.googlesource.com/710800 Reviewed-by: Frank Barchard <fbarchard@google.com> Reviewed-by: richard winterton <rrwinterton@gmail.com> Commit-Queue: Frank Barchard <fbarchard@google.com>
Diffstat (limited to 'infra')
0 files changed, 0 insertions, 0 deletions