[trunk] Tweak JP2 conformance test suite add documentation
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Mon, 10 Mar 2014 13:31:51 +0000 (13:31 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Mon, 10 Mar 2014 13:31:51 +0000 (13:31 +0000)
tests/conformance/CMakeLists.txt

index e00e98537be8539590b06860b60b982637a3964b..fb29f27fea0a5dcd83353dac17b72cf67b6eecda 100644 (file)
@@ -426,7 +426,8 @@ endforeach()
 # compare to ref file
 # non regression comparison
 
-# Tolerances given by Table G.1
+# Tolerances given by Part 4 - Table G.1
+# Peak is set to 4 only
 
 foreach(numFileJP2 RANGE 1 9)
 
@@ -434,9 +435,6 @@ foreach(numFileJP2 RANGE 1 9)
   set( filenameInput "file${numFileJP2}.jp2" )
   set( filenameRef   jp2_${numFileJP2}.tif )
 
-  # Get corresponding tests parameters
-  list(GET JP2_PEAK_list ${numFileJP2}  PEAK_limit)
-
   add_test(NAME ETS-JP2-${filenameInput}-decode
     COMMAND opj_decompress
     -i ${INPUT_CONF}/${filenameInput}
@@ -449,7 +447,7 @@ foreach(numFileJP2 RANGE 1 9)
     -t ${TEMP}/${filenameInput}.tif
     -n 3
     -p 4:4:4
-    -m 4:4:4
+    -m 1:1:1
     -s b_t_
   )