minor doc tweak

This commit is contained in:
Mathieu Malaterre 2011-12-21 10:19:36 +00:00
parent 3280dc344f
commit 51ae8b7926
2 changed files with 35 additions and 30 deletions

View File

@ -1,26 +1,29 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) # Tests
INCLUDE_DIRECTORIES(
INCLUDE_DIRECTORIES(${OPENJPEG_SOURCE_DIR}/libopenjpeg ${OPENJPEG_SOURCE_DIR}/libopenjpeg
${OPENJPEG_SOURCE_DIR}/applications/codec ${OPENJPEG_SOURCE_DIR}/applications/codec
${OPENJPEG_SOURCE_DIR}/applications/common ${OPENJPEG_SOURCE_DIR}/applications/common
${Z_INCLUDE_DIRNAME} ${Z_INCLUDE_DIRNAME}
${PNG_INCLUDE_DIRNAME} ${PNG_INCLUDE_DIRNAME}
${TIFF_INCLUDE_DIRNAME} ${TIFF_INCLUDE_DIRNAME}
) )
# First thing define the common source: # First thing define the common source:
SET(comparePGXimages_SRCS comparePGXimages.c ${OPENJPEG_SOURCE_DIR}/applications/codec/convert.c ${OPENJPEG_SOURCE_DIR}/applications/common/opj_getopt.c) SET(comparePGXimages_SRCS comparePGXimages.c
${OPENJPEG_SOURCE_DIR}/applications/codec/convert.c
${OPENJPEG_SOURCE_DIR}/applications/common/opj_getopt.c
)
SET(compare_dump_files_SRCS compare_dump_files.c ${OPENJPEG_SOURCE_DIR}/applications/common/opj_getopt.c) SET(compare_dump_files_SRCS compare_dump_files.c
${OPENJPEG_SOURCE_DIR}/applications/common/opj_getopt.c)
SET(compareRAWimages_SRCS compareRAWimages.c ${OPENJPEG_SOURCE_DIR}/applications/common/opj_getopt.c) SET(compareRAWimages_SRCS compareRAWimages.c
${OPENJPEG_SOURCE_DIR}/applications/common/opj_getopt.c)
ADD_EXECUTABLE(comparePGXimages ${comparePGXimages_SRCS}) ADD_EXECUTABLE(comparePGXimages ${comparePGXimages_SRCS})
TARGET_LINK_LIBRARIES(comparePGXimages ${OPENJPEG_LIBRARY_NAME} TARGET_LINK_LIBRARIES(comparePGXimages
${Z_LIBNAME} ${OPENJPEG_LIBRARY_NAME} ${Z_LIBNAME}
${PNG_LIBNAME} ${PNG_LIBNAME} ${TIFF_LIBNAME})
${TIFF_LIBNAME}
)
ADD_EXECUTABLE(compare_dump_files ${compare_dump_files_SRCS}) ADD_EXECUTABLE(compare_dump_files ${compare_dump_files_SRCS})

View File

@ -1,19 +1,21 @@
# This file list all the input commands of the tests run by the ctest command which # This file list all the input commands of the tests run by the ctest command
# are not related to the conformance files. # which are not related to the conformance files.
# #
# For each line of this file (exept line which begin with #) an image_to_j2k test or a # For each line of this file (exept line which begin with #) an image_to_j2k
# j2k_to_image is run and its related tests. # test or a j2k_to_image is run and its related tests.
# + For encoder related tests = dump, compare dump to base, decode the encoded file with # + For encoder related tests = dump, compare dump to base, decode the
# reference and compare the decoded file with the baseline decoded previously with # encoded file with reference and compare the decoded file with the baseline
# ref decoder. # decoded previously with ref decoder.
# + For decoder related tests = dump, compare dump to base, (TODO: compare outpout decoding # + For decoder related tests = dump, compare dump to base, (TODO: compare
# image to base) # outpout decoding image to base)
# #
# Line begin with ! should failed (should be used for bad jpeg2000 file which should be # Line begining with ! should fail (use for bad jpeg2000 file which should
# gracefully rejected) # gracefully be rejected)
# #
# You can use @INPUT_NR_PATH@ and @TEMP_PATH@ cmake variable which refers to OPJ_DATA_ROOT # You can use @INPUT_NR_PATH@ and @TEMP_PATH@ cmake variable which refers to
# repository. However you can use relative path or absolute path. # OPJ_DATA_ROOT repository. You can use either relative path or absolute path.
# However you cannot have space in the path for neither INPUT_NR_PATH nor
# TEMP_PATH
# ENCODER TEST SUITE # ENCODER TEST SUITE
image_to_j2k -i @INPUT_NR_PATH@/Bretagne1.ppm -o @TEMP_PATH@/Bretagne1_0.j2k -r 200,50,10 image_to_j2k -i @INPUT_NR_PATH@/Bretagne1.ppm -o @TEMP_PATH@/Bretagne1_0.j2k -r 200,50,10