minor doc tweak
This commit is contained in:
parent
3280dc344f
commit
51ae8b7926
|
@ -1,26 +1,29 @@
|
|||
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
|
||||
|
||||
INCLUDE_DIRECTORIES(${OPENJPEG_SOURCE_DIR}/libopenjpeg
|
||||
${OPENJPEG_SOURCE_DIR}/applications/codec
|
||||
${OPENJPEG_SOURCE_DIR}/applications/common
|
||||
${Z_INCLUDE_DIRNAME}
|
||||
${PNG_INCLUDE_DIRNAME}
|
||||
${TIFF_INCLUDE_DIRNAME}
|
||||
)
|
||||
# Tests
|
||||
INCLUDE_DIRECTORIES(
|
||||
${OPENJPEG_SOURCE_DIR}/libopenjpeg
|
||||
${OPENJPEG_SOURCE_DIR}/applications/codec
|
||||
${OPENJPEG_SOURCE_DIR}/applications/common
|
||||
${Z_INCLUDE_DIRNAME}
|
||||
${PNG_INCLUDE_DIRNAME}
|
||||
${TIFF_INCLUDE_DIRNAME}
|
||||
)
|
||||
|
||||
# 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})
|
||||
TARGET_LINK_LIBRARIES(comparePGXimages ${OPENJPEG_LIBRARY_NAME}
|
||||
${Z_LIBNAME}
|
||||
${PNG_LIBNAME}
|
||||
${TIFF_LIBNAME}
|
||||
)
|
||||
TARGET_LINK_LIBRARIES(comparePGXimages
|
||||
${OPENJPEG_LIBRARY_NAME} ${Z_LIBNAME}
|
||||
${PNG_LIBNAME} ${TIFF_LIBNAME})
|
||||
|
||||
ADD_EXECUTABLE(compare_dump_files ${compare_dump_files_SRCS})
|
||||
|
||||
|
|
|
@ -1,19 +1,21 @@
|
|||
# This file list all the input commands of the tests run by the ctest command which
|
||||
# are not related to the conformance files.
|
||||
# This file list all the input commands of the tests run by the ctest command
|
||||
# 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
|
||||
# j2k_to_image is run and its related tests.
|
||||
# + For encoder related tests = dump, compare dump to base, decode the encoded file with
|
||||
# reference and compare the decoded file with the baseline decoded previously with
|
||||
# ref decoder.
|
||||
# + For decoder related tests = dump, compare dump to base, (TODO: compare outpout decoding
|
||||
# image to base)
|
||||
# For each line of this file (exept line which begin with #) an image_to_j2k
|
||||
# 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 reference and compare the decoded file with the baseline
|
||||
# decoded previously with ref decoder.
|
||||
# + For decoder related tests = dump, compare dump to base, (TODO: compare
|
||||
# outpout decoding image to base)
|
||||
#
|
||||
# Line begin with ! should failed (should be used for bad jpeg2000 file which should be
|
||||
# gracefully rejected)
|
||||
# Line begining with ! should fail (use for bad jpeg2000 file which should
|
||||
# gracefully be rejected)
|
||||
#
|
||||
# You can use @INPUT_NR_PATH@ and @TEMP_PATH@ cmake variable which refers to OPJ_DATA_ROOT
|
||||
# repository. However you can use relative path or absolute path.
|
||||
# You can use @INPUT_NR_PATH@ and @TEMP_PATH@ cmake variable which refers to
|
||||
# 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
|
||||
image_to_j2k -i @INPUT_NR_PATH@/Bretagne1.ppm -o @TEMP_PATH@/Bretagne1_0.j2k -r 200,50,10
|
||||
|
|
Loading…
Reference in New Issue