Chromium Code Reviews
DescriptionExpand QCMS tests. Add Munsell test for transform accuracy
Add a test driver (re-named to qcms_tests) now there are two tests, and
update the build targets (gyp/gn/Makefile) to match.
Put the tests into separate files, add qcms_test_main.c to handle which
test to run and options, add new options to control the tests.
Brief usage:
qcms_tests -w WIDTH -h HEIGHT -n ITERATIONS -t TEST
Options are:
-w INT test image width
-h INT test image height
-n INT number of iterations for each test
-a run all tests
-l list available tests
-s force software(non-sse) transform function, where available
-i STRING specify input icc color profile
-o STRING specify output icc color profile
-t STRING run specific test: use -l to list possible values
Tests are:
src/tests/qcms_test_tetra_clut_rgba.c
- test to compare tetra SSE with the software tetra code, for
speed and that the color transform results for random input
data (the source test image) match.
src/tests/qcms_test_munsell.c
- test color transforms of Munsell RGB colors from a known in
color space (AdobeRGB1998, or sRGB) to the out color space,
and report color accuracy (RMS color error).
BUG=532910
Committed: https://crrev.com/daae8f2139bd5681ff0bfbf620a86b645934cd34
Cr-Commit-Position: refs/heads/master@{#353255}
Patch Set 1 #Patch Set 2 : Removed non-Munsell related changes #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : Add option to test software #Patch Set 6 : Fix test size #
Total comments: 26
Patch Set 7 : Rebase + Apply feedback #Patch Set 8 : Fix README #
Total comments: 8
Patch Set 9 : #
Total comments: 37
Patch Set 10 : Fixed some bugs, added spaces instead of tabs #Patch Set 11 : Adding Makefile #Patch Set 12 : #
Total comments: 2
Patch Set 13 : Rebase #Patch Set 14 : #Patch Set 15 : Changed return error from -1 to EXIT_FAILURE #
Messages
Total messages: 35 (6 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||