commit | ca7896326b5c7421128f7dded874cae4ebe5118c | [log] [tgz] |
---|---|---|
author | Krzysztof Kosiński <krzysio@google.com> | Wed Jul 25 14:48:37 2018 -0700 |
committer | Krzysztof Kosiński <krzysio@google.com> | Wed Jul 25 15:56:07 2018 -0700 |
tree | 5013eb8f161dee0fde5cb8ee84c48fb19c9477d8 | |
parent | 2ab22a7e5511fb4935bed0992f503feef487c9c5 [diff] |
CtsNativeHardwareTestCases: fix RGB565 formats. The precision of RGB565 requires extending the accepted range of values from [127, 128] to [123, 132]. floor(15./31.*255.) = 123 and ceil(16./31.*255.) = 132 Bug: 66900669 Bug: 74131503 Test: Passes on Pixel 2. Change-Id: Ib22f3742aeb4c68e80be0895090a246c5c0321a5