commit | 07e08ca4f0c988b18f777f3bf61394165aaeb417 | [log] [tgz] |
---|---|---|
author | Clemenz Portmann <portmannc@google.com> | Thu Apr 02 16:06:45 2020 -0700 |
committer | Clemenz Portmann <portmannc@google.com> | Mon Apr 06 19:07:10 2020 +0000 |
tree | af2430a8bb35f5b37889049661d4e8d64f74ffc0 | |
parent | 57e9da96af43593640a9fe9e2f1a3ae138869af4 [diff] |
ITS: test tonemap only if COLOR_BARS exists Also change test_test_patterns to not require COLOR_BARS. Readability cleanup in test_tonemap: Defined constants YUV_H = 480 YUV_W = 640 # fixed patch coordinates WNORM = 1.0 / N_BARS - 2 * DELTA YNORM = 0.0 HNORM = 1.0 Created a helper function to compute the xnorm value for the color patch bug: 153112079 Change-Id: I4fa90cb79073cf855f604635484a5f217ea3508b