OSDN Git Service

Fix some errors in errorCalculator.rs.
authorStephen Hines <srhines@google.com>
Thu, 10 Mar 2016 00:42:40 +0000 (16:42 -0800)
committerStephen Hines <srhines@google.com>
Thu, 10 Mar 2016 00:42:40 +0000 (16:42 -0800)
commit74be0c9b4329bb79ed46f2532022995429ffdfe8
tree51bbe5093f6f1496293a1bfc92797a9cf9d0ad0c
parent6ca2cb499112871fd840597184dc75ba26fdeae8
Fix some errors in errorCalculator.rs.

Bug: http://b/26987366

This code was accidentally casting a uchar4 to a single integer, which
the latest llvm-rs-cc will flag as an error. The comparison was also
incorrectly using a single integer comparison, instead of looking at all
4 uchar vector components.

Change-Id: Id680d642cb0079461429f3910343c6dbe8d488ef
tests/CanvasCompare/src/com/android/test/hwuicompare/errorCalculator.rs