commit | 435285443ae02e7cbb46cc7ab358331c7da30f38 | [log] [tgz] |
---|---|---|
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Tue Apr 12 09:14:29 2022 -0700 |
committer | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Tue Apr 12 17:51:52 2022 +0000 |
tree | cca182fb0e9dab045cc1ec05529d30f57224651c | |
parent | 6695b9b4b0a56fb4d409ae522d47a04f7bb9830f [diff] |
ImageReaderDecoderTest: Fix swirl validation for 10-bit cases All the computations in swirl validations are based on 8-bit data. So after decoding 10-bit clips, instead of generating statistics using 10-bit data, use 8 most significant bits so that all the calculations in the tests can continue with 8-bit precision. Bug: 214634656 Test: atest CtsMediaDecoderTestCases:ImageReaderDecoderTest Change-Id: I3f3e1984aa21596ff8c5187cc725a63dc7fbd2e9