#############################################################
# Decoding
#############################################################

add_test(NAME simple_dec_irv97_64x64 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec  "-i ${images_folder}/mm.ppm -o simple_dec_irv97_64x64.jph  -precise -quiet -rate 0.5 -full"                "-i simple_dec_irv97_64x64.jph  -o test1.ppm -precise -quiet" "-i simple_dec_irv97_64x64.jph  -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_32x32 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec  "-i ${images_folder}/mm.ppm -o simple_dec_irv97_32x32.jph  -precise -quiet -rate 1 Cblk=\{32,32\} -full"   "-i simple_dec_irv97_32x32.jph  -o test1.ppm -precise -quiet" "-i simple_dec_irv97_32x32.jph  -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_16x16 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec  "-i ${images_folder}/mm.ppm -o simple_dec_irv97_16x16.jph  -precise -quiet -rate 1 Cblk=\{16,16\} -full"   "-i simple_dec_irv97_16x16.jph  -o test1.ppm -precise -quiet" "-i simple_dec_irv97_16x16.jph  -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_4x4 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec    "-i ${images_folder}/mm.ppm -o simple_dec_irv97_4x4.jph    -precise -quiet -rate 1 Cblk=\{4,4\} -full"     "-i simple_dec_irv97_4x4.jph    -o test1.ppm -precise -quiet" "-i simple_dec_irv97_4x4.jph    -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_1024x4 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_1024x4.jph -precise -quiet -rate 1 Cblk=\{1024,4\} -full"  "-i simple_dec_irv97_1024x4.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_1024x4.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_4x1024 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_4x1024.jph -precise -quiet -rate 1 Cblk=\{4,1024\} -full"  "-i simple_dec_irv97_4x1024.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_4x1024.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_512x8 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec  "-i ${images_folder}/mm.ppm -o simple_dec_irv97_512x8.jph  -precise -quiet -rate 1 Cblk=\{512,8\} -full"   "-i simple_dec_irv97_512x8.jph  -o test1.ppm -precise -quiet" "-i simple_dec_irv97_512x8.jph  -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_8x512 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec  "-i ${images_folder}/mm.ppm -o simple_dec_irv97_8x512.jph  -precise -quiet -rate 1 Cblk=\{8,512\} -full"   "-i simple_dec_irv97_8x512.jph  -o test1.ppm -precise -quiet" "-i simple_dec_irv97_8x512.jph  -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_256x16 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_256x16.jph -precise -quiet -rate 1 Cblk=\{256,16\} -full"  "-i simple_dec_irv97_256x16.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_256x16.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_16x256 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_16x256.jph -precise -quiet -rate 1 Cblk=\{16,256\} -full"  "-i simple_dec_irv97_16x256.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_16x256.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_128x32 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_128x32.jph -precise -quiet -rate 1 Cblk=\{128,32\} -full"  "-i simple_dec_irv97_128x32.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_128x32.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_32x128 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_32x128.jph -precise -quiet -rate 1 Cblk=\{32,128\} -full"  "-i simple_dec_irv97_32x128.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_32x128.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")

add_test(NAME simple_dec_rev53_64x64 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -rdec  "-i ${images_folder}/mm.ppm -o simple_dec_rev53_64x64.jph  -precise -quiet Creversible=yes -full"                  "-i simple_dec_rev53_64x64.jph  -o test1.ppm -precise -quiet" "-i simple_dec_rev53_64x64.jph  -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_rev53_32x32 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -rdec  "-i ${images_folder}/mm.ppm -o simple_dec_rev53_32x32.jph  -precise -quiet Creversible=yes Cblk=\{32,32\} -full"   "-i simple_dec_rev53_32x32.jph  -o test1.ppm -precise -quiet" "-i simple_dec_rev53_32x32.jph  -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_rev53_4x4 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -rdec    "-i ${images_folder}/mm.ppm -o simple_dec_rev53_4x4.jph    -precise -quiet Creversible=yes Cblk=\{4,4\} -full"     "-i simple_dec_rev53_4x4.jph    -o test1.ppm -precise -quiet" "-i simple_dec_rev53_4x4.jph    -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_rev53_1024x4 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -rdec "-i ${images_folder}/mm.ppm -o simple_dec_rev53_1024x4.jph -precise -quiet Creversible=yes Cblk=\{1024,4\} -full"  "-i simple_dec_rev53_1024x4.jph -o test1.ppm -precise -quiet" "-i simple_dec_rev53_1024x4.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_rev53_4x1024 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -rdec "-i ${images_folder}/mm.ppm -o simple_dec_rev53_4x1024.jph -precise -quiet Creversible=yes Cblk=\{4,1024\} -full"  "-i simple_dec_rev53_4x1024.jph -o test1.ppm -precise -quiet" "-i simple_dec_rev53_4x1024.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")

add_test(NAME simple_dec_irv97_64x64_yuv COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom_yuv.sh -dec        "-i ${images_folder}/foreman_420y.rawl,${images_folder}/foreman_420u.rawl,${images_folder}/foreman_420v.rawl -o simple_dec_irv97_64x64_yuv.jph       -precise -quiet -rate 0.5 Sdims=\{288,352\},\{144,176\},\{144,176\} Ssampling=\{1,1\},\{2,2\},\{2,2\} Nprecision=\{8\} Nsigned=\{no\} -full"                          "-i simple_dec_irv97_64x64_yuv.jph       -o test1y.rawl,test1u.rawl,test1v.rawl -precise -quiet" "-i simple_dec_irv97_64x64_yuv.jph       -o test2.yuv" "${images_folder}/foreman_420.yuv:352x288x8x420" "test1.yuv:352x288x8x420" "test2.yuv:352x288x8x420")
add_test(NAME simple_dec_rev53_64x64_yuv COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom_yuv.sh -rdec       "-i ${images_folder}/foreman_420y.rawl,${images_folder}/foreman_420u.rawl,${images_folder}/foreman_420v.rawl -o simple_dec_rev53_64x64_yuv.jph       -precise -quiet Creversible=yes Sdims=\{288,352\},\{144,176\},\{144,176\} Ssampling=\{1,1\},\{2,2\},\{2,2\} Nprecision=\{8\} Nsigned=\{no\} -full"                    "-i simple_dec_rev53_64x64_yuv.jph       -o test1y.rawl,test1u.rawl,test1v.rawl -precise -quiet" "-i simple_dec_rev53_64x64_yuv.jph       -o test2.yuv" "${images_folder}/foreman_420.yuv:352x288x8x420" "test1.yuv:352x288x8x420" "test2.yuv:352x288x8x420")
add_test(NAME simple_dec_irv97_64x64_tiles_yuv COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom_yuv.sh -dec  "-i ${images_folder}/foreman_420y.rawl,${images_folder}/foreman_420u.rawl,${images_folder}/foreman_420v.rawl -o simple_dec_irv97_64x64_tiles_yuv.jph -precise -quiet -rate 0.5 Sdims=\{288,352\},\{144,176\},\{144,176\} Ssampling=\{1,1\},\{2,2\},\{2,2\} Nprecision=\{8\} Nsigned=\{no\} Stiles=\{33,257\} -full"        "-i simple_dec_irv97_64x64_tiles_yuv.jph -o test1y.rawl,test1u.rawl,test1v.rawl -precise -quiet" "-i simple_dec_irv97_64x64_tiles_yuv.jph -o test2.yuv" "${images_folder}/foreman_420.yuv:352x288x8x420" "test1.yuv:352x288x8x420" "test2.yuv:352x288x8x420")
add_test(NAME simple_dec_rev53_64x64_tiles_yuv COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom_yuv.sh -rdec "-i ${images_folder}/foreman_420y.rawl,${images_folder}/foreman_420u.rawl,${images_folder}/foreman_420v.rawl -o simple_dec_rev53_64x64_tiles_yuv.jph -precise -quiet Creversible=yes Sdims=\{288,352\},\{144,176\},\{144,176\} Ssampling=\{1,1\},\{2,2\},\{2,2\} Nprecision=\{8\} Nsigned=\{no\} Stiles=\{33,257\} -full"  "-i simple_dec_rev53_64x64_tiles_yuv.jph -o test1y.rawl,test1u.rawl,test1v.rawl -precise -quiet" "-i simple_dec_rev53_64x64_tiles_yuv.jph -o test2.yuv" "${images_folder}/foreman_420.yuv:352x288x8x420" "test1.yuv:352x288x8x420" "test2.yuv:352x288x8x420")

add_test(NAME simple_dec_irv97_64x64_tiles_LRCP COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_64x64_tiles_LRCP.jph -precise -quiet -rate 0.5 Clevels=5 Corder=LRCP Cprecincts=\{2,256\} Sorigin=\{374,1717\} Stile_origin=\{374,1717\} -full"  "-i simple_dec_irv97_64x64_tiles_LRCP.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_64x64_tiles_LRCP.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_64x64_tiles_RLCP COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_64x64_tiles_RLCP.jph -precise -quiet -rate 0.5 Clevels=5 Corder=RLCP Cprecincts=\{2,256\} Sorigin=\{374,1717\} Stile_origin=\{374,1717\} -full"  "-i simple_dec_irv97_64x64_tiles_RLCP.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_64x64_tiles_RLCP.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_64x64_tiles_RPCL COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_64x64_tiles_RPCL.jph -precise -quiet -rate 0.5 Clevels=5 Corder=RPCL Cprecincts=\{2,256\} Sorigin=\{374,1717\} Stile_origin=\{374,1717\} -full"  "-i simple_dec_irv97_64x64_tiles_RPCL.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_64x64_tiles_RPCL.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_64x64_tiles_PCRL COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_64x64_tiles_PCRL.jph -precise -quiet -rate 0.5 Clevels=5 Corder=PCRL Cprecincts=\{2,256\} Sorigin=\{374,1717\} Stile_origin=\{374,1717\} -full"  "-i simple_dec_irv97_64x64_tiles_PCRL.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_64x64_tiles_PCRL.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_64x64_tiles_CPRL COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_64x64_tiles_CPRL.jph -precise -quiet -rate 0.5 Clevels=5 Corder=CPRL Cprecincts=\{2,256\} Sorigin=\{374,1717\} Stile_origin=\{374,1717\} -full"  "-i simple_dec_irv97_64x64_tiles_CPRL.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_64x64_tiles_CPRL.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")

add_test(NAME simple_dec_irv97_64x64_tiles_LRCP33 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_64x64_tiles_LRCP33.jph -precise -quiet -rate 0.5 Clevels=5 Corder=LRCP Sorigin=\{5,33\} Stile_origin=\{5,10\} Stiles=\{33,257\} -full"  "-i simple_dec_irv97_64x64_tiles_LRCP33.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_64x64_tiles_LRCP33.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_64x64_tiles_RLCP33 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_64x64_tiles_RLCP33.jph -precise -quiet -rate 0.5 Clevels=5 Corder=RLCP Sorigin=\{5,33\} Stile_origin=\{5,10\} Stiles=\{33,257\} -full"  "-i simple_dec_irv97_64x64_tiles_RLCP33.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_64x64_tiles_RLCP33.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_64x64_tiles_RPCL33 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_64x64_tiles_RPCL33.jph -precise -quiet -rate 0.5 Clevels=5 Corder=RPCL Sorigin=\{5,33\} Stile_origin=\{5,10\} Stiles=\{33,257\} -full"  "-i simple_dec_irv97_64x64_tiles_RPCL33.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_64x64_tiles_RPCL33.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_64x64_tiles_PCRL33 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_64x64_tiles_PCRL33.jph -precise -quiet -rate 0.5 Clevels=5 Corder=PCRL Sorigin=\{5,33\} Stile_origin=\{5,10\} Stiles=\{33,257\} -full"  "-i simple_dec_irv97_64x64_tiles_PCRL33.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_64x64_tiles_PCRL33.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_64x64_tiles_CPRL33 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_64x64_tiles_CPRL33.jph -precise -quiet -rate 0.5 Clevels=5 Corder=CPRL Sorigin=\{5,33\} Stile_origin=\{5,10\} Stiles=\{33,257\} -full"  "-i simple_dec_irv97_64x64_tiles_CPRL33.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_64x64_tiles_CPRL33.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")

add_test(NAME simple_dec_irv97_64x64_tiles_LRCP33x33 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_64x64_tiles_LRCP33x33.jph -precise -quiet -rate 0.5 Clevels=5 Corder=LRCP Sorigin=\{5,33\} Stile_origin=\{5,10\} Stiles=\{33,33\} -full"  "-i simple_dec_irv97_64x64_tiles_LRCP33x33.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_64x64_tiles_LRCP33x33.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_64x64_tiles_RLCP33x33 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_64x64_tiles_RLCP33x33.jph -precise -quiet -rate 0.5 Clevels=5 Corder=RLCP Sorigin=\{5,33\} Stile_origin=\{5,10\} Stiles=\{33,33\} -full"  "-i simple_dec_irv97_64x64_tiles_RLCP33x33.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_64x64_tiles_RLCP33x33.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_64x64_tiles_RPCL33x33 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_64x64_tiles_RPCL33x33.jph -precise -quiet -rate 0.5 Clevels=5 Corder=RPCL Sorigin=\{5,33\} Stile_origin=\{5,10\} Stiles=\{33,33\} -full"  "-i simple_dec_irv97_64x64_tiles_RPCL33x33.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_64x64_tiles_RPCL33x33.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_64x64_tiles_PCRL33x33 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_64x64_tiles_PCRL33x33.jph -precise -quiet -rate 0.5 Clevels=5 Corder=PCRL Sorigin=\{5,33\} Stile_origin=\{5,10\} Stiles=\{33,33\} -full"  "-i simple_dec_irv97_64x64_tiles_PCRL33x33.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_64x64_tiles_PCRL33x33.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_64x64_tiles_CPRL33x33 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv97_64x64_tiles_CPRL33x33.jph -precise -quiet -rate 0.5 Clevels=5 Corder=CPRL Sorigin=\{5,33\} Stile_origin=\{5,10\} Stiles=\{33,33\} -full"  "-i simple_dec_irv97_64x64_tiles_CPRL33x33.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv97_64x64_tiles_CPRL33x33.jph -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")

add_test(NAME simple_dec_rev53_64x64_gray_tiles COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -rdec "-i ${images_folder}/im3.pgm -o simple_dec_rev53_64x64_gray_tiles.jph -precise -quiet Creversible=yes Clevels=5 Stiles=\{33,257\} -full"  "-i simple_dec_rev53_64x64_gray_tiles.jph -o test1.pgm -precise -quiet" "-i simple_dec_rev53_64x64_gray_tiles.jph -o test2.pgm" "${images_folder}/im3.pgm" "test1.pgm" "test2.pgm")
add_test(NAME simple_dec_irv97_64x64_gray_tiles COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec  "-i ${images_folder}/im3.pgm -o simple_dec_irv97_64x64_gray_tiles.jph -precise -quiet -rate 0.5 Clevels=5 Stiles=\{33,257\} -full"        "-i simple_dec_irv97_64x64_gray_tiles.jph -o test1.pgm -precise -quiet" "-i simple_dec_irv97_64x64_gray_tiles.jph -o test2.pgm" "${images_folder}/im3.pgm" "test1.pgm" "test2.pgm")

add_test(NAME simple_dec_irv97_64x64_16bit COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec       "-i ${images_folder}/mm.ppm -o simple_dec_irv97_64x64_16bit.jph      -precise -quiet -rate 0.5 -full"        "-i simple_dec_irv97_64x64_16bit.jph      -o test1.ppm -precise -quiet" "-i simple_dec_irv97_64x64_16bit.jph      -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_irv97_64x64_16bit_gray COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec  "-i ${images_folder}/mm.pgm -o simple_dec_irv97_64x64_16bit_gray.jph -precise -quiet -rate 0.5 -full"        "-i simple_dec_irv97_64x64_16bit_gray.jph -o test1.pgm -precise -quiet" "-i simple_dec_irv97_64x64_16bit_gray.jph -o test2.pgm" "${images_folder}/mm.pgm" "test1.pgm" "test2.pgm")
add_test(NAME simple_dec_rev53_64x64_16bit COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -rdec      "-i ${images_folder}/mm.ppm -o simple_dec_rev53_64x64_16bit.jph      -precise -quiet Creversible=yes -full"  "-i simple_dec_rev53_64x64_16bit.jph      -o test1.ppm -precise -quiet" "-i simple_dec_rev53_64x64_16bit.jph      -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_dec_rev53_64x64_16bit_gray COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -rdec "-i ${images_folder}/mm.pgm -o simple_dec_rev53_64x64_16bit_gray.jph -precise -quiet Creversible=yes -full"  "-i simple_dec_rev53_64x64_16bit_gray.jph -o test1.pgm -precise -quiet" "-i simple_dec_rev53_64x64_16bit_gray.jph -o test2.pgm" "${images_folder}/mm.pgm" "test1.pgm" "test2.pgm")

add_test(NAME simple_dec_irv53_bhvhb_low_latency COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -dec "-i ${images_folder}/mm.ppm -o simple_dec_irv53_bhvhb_low_latency.jph -quiet Corder=PCRL Clevels=5 Cmodes=HT|CAUSAL -rate 2 Catk=2 Kkernels:I2=I5X3 Cprecincts=\{16,8192\},\{8,8192\},\{4,8192\} Cblk=\{8,256\} Cdecomp=B(-:-:-),H(-),V(-),H(-),B(-:-:-) Qstep=0.0001 -precise -no_weights -tolerance 0"  "-i simple_dec_irv53_bhvhb_low_latency.jph -o test1.ppm -precise -quiet" "-i simple_dec_irv53_bhvhb_low_latency.jph -o test2.ppm" "${images_folder}/mm.pgm" "test1.pgm" "test2.pgm")

#############################################################
# Encoding
#############################################################

add_test(NAME simple_enc_irv97_64x64  COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc                 "-i ${images_folder}/mm.ppm -o simple_enc_irv97_64x64.j2c             -qstep 0.1"                                           "-i simple_enc_irv97_64x64.j2c             -o test1.ppm -precise -quiet"    "-i simple_enc_irv97_64x64.j2c                -o test2.ppm"    "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_irv97_32x32  COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc                 "-i ${images_folder}/mm.ppm -o simple_enc_irv97_32x32.j2c             -qstep 0.01 -block_size \{32,32\}"                    "-i simple_enc_irv97_32x32.j2c             -o test1.ppm -precise -quiet"    "-i simple_enc_irv97_32x32.j2c                -o test2.ppm"    "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_irv97_16x16  COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc                 "-i ${images_folder}/mm.ppm -o simple_enc_irv97_16x16.j2c             -qstep 0.01 -block_size \{16,16\}"                    "-i simple_enc_irv97_16x16.j2c             -o test1.ppm -precise -quiet"    "-i simple_enc_irv97_16x16.j2c                -o test2.ppm"    "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_irv97_4x4    COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc                 "-i ${images_folder}/mm.ppm -o simple_enc_irv97_4x4.j2c               -qstep 0.01 -block_size \{4,4\}"                      "-i simple_enc_irv97_4x4.j2c               -o test1.ppm -precise -quiet"    "-i simple_enc_irv97_4x4.j2c                  -o test2.ppm"    "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_irv97_1024x4 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc                 "-i ${images_folder}/mm.ppm -o simple_enc_irv97_1024x4.j2c            -qstep 0.01 -block_size \{4,1024\}"                   "-i simple_enc_irv97_1024x4.j2c            -o test1.ppm -precise -quiet"    "-i simple_enc_irv97_1024x4.j2c               -o test2.ppm"    "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_irv97_4x1024 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc                 "-i ${images_folder}/mm.ppm -o simple_enc_irv97_4x1024.j2c            -qstep 0.01 -block_size \{1024,4\}"                   "-i simple_enc_irv97_4x1024.j2c            -o test1.ppm -precise -quiet"    "-i simple_enc_irv97_4x1024.j2c               -o test2.ppm"    "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_irv97_512x8  COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc                 "-i ${images_folder}/mm.ppm -o simple_enc_irv97_512x8.j2c             -qstep 0.01 -block_size \{8,512\}"                    "-i simple_enc_irv97_512x8.j2c             -o test1.ppm -precise -quiet"    "-i simple_enc_irv97_512x8.j2c                -o test2.ppm"    "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_irv97_8x512  COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc                 "-i ${images_folder}/mm.ppm -o simple_enc_irv97_8x512.j2c             -qstep 0.01 -block_size \{512,8\}"                    "-i simple_enc_irv97_8x512.j2c             -o test1.ppm -precise -quiet"    "-i simple_enc_irv97_8x512.j2c                -o test2.ppm"    "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_irv97_256x16 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc                 "-i ${images_folder}/mm.ppm -o simple_enc_irv97_256x16.j2c            -qstep 0.01 -block_size \{16,256\}"                   "-i simple_enc_irv97_256x16.j2c            -o test1.ppm -precise -quiet"    "-i simple_enc_irv97_256x16.j2c               -o test2.ppm"    "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_irv97_16x256 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc                 "-i ${images_folder}/mm.ppm -o simple_enc_irv97_16x256.j2c            -qstep 0.01 -block_size \{256,16\}"                   "-i simple_enc_irv97_16x256.j2c            -o test1.ppm -precise -quiet"    "-i simple_enc_irv97_16x256.j2c               -o test2.ppm"    "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_irv97_128x32 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc                 "-i ${images_folder}/mm.ppm -o simple_enc_irv97_128x32.j2c            -qstep 0.01 -block_size \{32,128\}"                   "-i simple_enc_irv97_128x32.j2c            -o test1.ppm -precise -quiet"    "-i simple_enc_irv97_128x32.j2c               -o test2.ppm"    "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_irv97_32x128 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc                 "-i ${images_folder}/mm.ppm -o simple_enc_irv97_32x128.j2c            -qstep 0.01 -block_size \{128,32\}"                   "-i simple_enc_irv97_32x128.j2c            -o test1.ppm -precise -quiet"    "-i simple_enc_irv97_32x128.j2c               -o test2.ppm"    "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_irv97_64x64_tiles_33x33_d5 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc   "-i ${images_folder}/mm.ppm -o simple_enc_irv97_64x64_tiles_33x33_d5.j2c -qstep 0.01 -tile_size \{33,33\} -num_decomps 5"   "-i simple_enc_irv97_64x64_tiles_33x33_d5.j2c -o test1.ppm -precise -quiet" "-i simple_enc_irv97_64x64_tiles_33x33_d5.j2c -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_irv97_64x64_tiles_33x33_d6 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc   "-i ${images_folder}/mm.ppm -o simple_enc_irv97_64x64_tiles_33x33_d6.j2c -qstep 0.01 -tile_size \{33,33\} -num_decomps 6"   "-i simple_enc_irv97_64x64_tiles_33x33_d6.j2c -o test1.ppm -precise -quiet" "-i simple_enc_irv97_64x64_tiles_33x33_d6.j2c -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_irv97_64x64_16bit COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc            "-i ${images_folder}/mm.ppm  -o simple_enc_irv97_64x64_16bit.j2c      -qstep 0.01"                                          "-i simple_enc_irv97_64x64_16bit.j2c       -o test1.ppm -precise -quiet"    "-i simple_enc_irv97_64x64_16bit.j2c          -o test2.ppm"    "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_irv97_64x64_16bit_gray COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc       "-i ${images_folder}/mm.pgm  -o simple_enc_irv97_64x64_16bit_gray.j2c -qstep 0.01"                                          "-i simple_enc_irv97_64x64_16bit_gray.j2c  -o test1.pgm -precise -quiet"    "-i simple_enc_irv97_64x64_16bit_gray.j2c     -o test2.pgm"    "${images_folder}/mm.pgm" "test1.pgm" "test2.pgm")
add_test(NAME simple_enc_rev53_64x64_16bit  COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -renc          "-i ${images_folder}/mm.ppm  -o simple_enc_rev53_64x64_16bit.j2c      -reversible true"                                     "-i simple_enc_rev53_64x64_16bit.j2c       -o test1.ppm -precise -quiet"    "-i simple_enc_rev53_64x64_16bit.j2c          -o test2.ppm"    "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_rev53_64x64_16bit_gray  COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -renc     "-i ${images_folder}/mm.pgm  -o simple_enc_rev53_64x64_16bit_gray.j2c -reversible true"                                     "-i simple_enc_rev53_64x64_16bit_gray.j2c  -o test1.pgm -precise -quiet"    "-i simple_enc_rev53_64x64_16bit_gray.j2c     -o test2.pgm"    "${images_folder}/mm.pgm" "test1.pgm" "test2.pgm")

add_test(NAME simple_enc_rev53_64x64  COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -renc               "-i ${images_folder}/mm.ppm -o simple_enc_rev53_64x64.j2c  -reversible true"                                                 "-i simple_enc_rev53_64x64.j2c  -o test1.ppm -precise -quiet"             "-i simple_enc_rev53_64x64.j2c  -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_rev53_32x32  COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -renc               "-i ${images_folder}/mm.ppm -o simple_enc_rev53_32x32.j2c  -reversible true -block_size \{32,32\}"                           "-i simple_enc_rev53_32x32.j2c  -o test1.ppm -precise -quiet"             "-i simple_enc_rev53_32x32.j2c  -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_rev53_4x4    COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -renc               "-i ${images_folder}/mm.ppm -o simple_enc_rev53_4x4.j2c    -reversible true -block_size \{4,4\}"                             "-i simple_enc_rev53_4x4.j2c    -o test1.ppm -precise -quiet"             "-i simple_enc_rev53_4x4.j2c    -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_rev53_1024x4 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -renc               "-i ${images_folder}/mm.ppm -o simple_enc_rev53_1024x4.j2c -reversible true -block_size \{4,1024\}"                          "-i simple_enc_rev53_1024x4.j2c -o test1.ppm -precise -quiet"             "-i simple_enc_rev53_1024x4.j2c -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_rev53_4x1024 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -renc               "-i ${images_folder}/mm.ppm -o simple_enc_rev53_4x1024.j2c -reversible true -block_size \{1024,4\}"                          "-i simple_enc_rev53_4x1024.j2c -o test1.ppm -precise -quiet"             "-i simple_enc_rev53_4x1024.j2c -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_rev53_64x64_tiles_33x33_d5 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -renc "-i ${images_folder}/mm.ppm -o simple_enc_rev53_64x64_tiles_33x33_d5.j2c  -reversible true -tile_size \{32,32\} -num_decomps 5" "-i simple_enc_rev53_64x64_tiles_33x33_d5.j2c  -o test1.ppm -precise -quiet" "-i simple_enc_rev53_64x64_tiles_33x33_d5.j2c  -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_rev53_64x64_tiles_33x33_d6 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -renc "-i ${images_folder}/mm.ppm -o simple_enc_rev53_64x64_tiles_33x33_d6.j2c  -reversible true -tile_size \{32,32\} -num_decomps 6" "-i simple_enc_rev53_64x64_tiles_33x33_d6.j2c  -o test1.ppm -precise -quiet" "-i simple_enc_rev53_64x64_tiles_33x33_d6.j2c  -o test2.ppm" "${images_folder}/mm.ppm" "test1.ppm" "test2.ppm")

add_test(NAME simple_enc_irv97_64x64_yuv COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom_yuv.sh -enc  "-i ${images_folder}/foreman_420.yuv -o simple_enc_irv97_64x64_yuv.j2c -qstep 0.1 -dims \{352,288\} -num_comps 3 -downsamp \{1,1\},\{2,2\},\{2,2\} -bit_depth 8,8,8 -signed false,false,false"                   "-i simple_enc_irv97_64x64_yuv.j2c -o test1y.rawl,test1u.rawl,test1v.rawl -precise -quiet" "-i simple_enc_irv97_64x64_yuv.j2c -o test2.yuv" "${images_folder}/foreman_420.yuv:352x288x8x420" "test1.yuv:352x288x8x420" "test2.yuv:352x288x8x420")
add_test(NAME simple_enc_rev53_64x64_yuv COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom_yuv.sh -renc "-i ${images_folder}/foreman_420.yuv -o simple_enc_rev53_64x64_yuv.j2c -reversible true -qstep 0.1 -dims \{352,288\} -num_comps 3 -downsamp \{1,1\},\{2,2\},\{2,2\} -bit_depth 8,8,8 -signed false,false,false"  "-i simple_enc_rev53_64x64_yuv.j2c -o test1y.rawl,test1u.rawl,test1v.rawl -precise -quiet" "-i simple_enc_rev53_64x64_yuv.j2c -o test2.yuv" "${images_folder}/foreman_420.yuv:352x288x8x420" "test1.yuv:352x288x8x420" "test2.yuv:352x288x8x420")

add_test(NAME simple_enc_irv97_tall_narrow COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc  "-i ${images_folder}/tall_narrow.ppm  -o simple_enc_irv97_tall_narrow.j2c  -qstep 0.1"                              "-i simple_enc_irv97_tall_narrow.j2c  -o test1.ppm -precise -quiet" "-i simple_enc_irv97_tall_narrow.j2c  -o test2.ppm" "${images_folder}/tall_narrow.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_irv97_tall_narrow1 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -enc  "-i ${images_folder}/tall_narrow.ppm -o simple_enc_irv97_tall_narrow1.j2c -image_offset {1,0} -qstep 0.1"          "-i simple_enc_irv97_tall_narrow1.j2c -o test1.ppm -precise -quiet" "-i simple_enc_irv97_tall_narrow1.j2c -o test2.ppm" "${images_folder}/tall_narrow.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_rev53_tall_narrow COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -renc "-i ${images_folder}/tall_narrow.ppm  -o simple_enc_rev53_tall_narrow.j2c  -reversible true"                        "-i simple_enc_rev53_tall_narrow.j2c  -o test1.ppm -precise -quiet" "-i simple_enc_rev53_tall_narrow.j2c  -o test2.ppm" "${images_folder}/tall_narrow.ppm" "test1.ppm" "test2.ppm")
add_test(NAME simple_enc_rev53_tall_narrow1 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -renc "-i ${images_folder}/tall_narrow.ppm -o simple_enc_rev53_tall_narrow1.j2c -image_offset {1,0} -reversible true"    "-i simple_enc_rev53_tall_narrow1.j2c -o test1.ppm -precise -quiet" "-i simple_enc_rev53_tall_narrow1.j2c -o test2.ppm" "${images_folder}/tall_narrow.ppm" "test1.ppm" "test2.ppm")

add_test(NAME dpx_enc_rev53_10bit_le_nuke11 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -renc "-i ${images_folder}/dpx_1280x720_10bit_le_nuke11.dpx -o dpx_enc_1280x720_10bit_le_nuke11.j2c -reversible true"    "-i dpx_enc_1280x720_10bit_le_nuke11.j2c -o test1.ppm -precise -quiet" "-i dpx_enc_1280x720_10bit_le_nuke11.j2c -o test2.ppm" "${images_folder}/dpx_1280x720_10bit.ppm" "test1.ppm" "test2.ppm")
add_test(NAME dpx_enc_rev53_10bit_be_nuke11 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -renc "-i ${images_folder}/dpx_1280x720_10bit_be_nuke11.dpx -o dpx_enc_1280x720_10bit_be_nuke11.j2c -reversible true"    "-i dpx_enc_1280x720_10bit_be_nuke11.j2c -o test1.ppm -precise -quiet" "-i dpx_enc_1280x720_10bit_be_nuke11.j2c -o test2.ppm" "${images_folder}/dpx_1280x720_10bit.ppm" "test1.ppm" "test2.ppm")
add_test(NAME dpx_enc_rev53_16bit_le_nuke11 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -renc "-i ${images_folder}/dpx_1280x720_16bit_le_nuke11.dpx -o dpx_enc_1280x720_16bit_le_nuke11.j2c -reversible true"    "-i dpx_enc_1280x720_16bit_le_nuke11.j2c -o test1.ppm -precise -quiet" "-i dpx_enc_1280x720_16bit_le_nuke11.j2c -o test2.ppm" "${images_folder}/dpx_1280x720_16bit.ppm" "test1.ppm" "test2.ppm")
add_test(NAME dpx_enc_rev53_16bit_be_nuke11 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -renc "-i ${images_folder}/dpx_1280x720_16bit_be_nuke11.dpx -o dpx_enc_1280x720_16bit_be_nuke11.j2c -reversible true"    "-i dpx_enc_1280x720_16bit_be_nuke11.j2c -o test1.ppm -precise -quiet" "-i dpx_enc_1280x720_16bit_be_nuke11.j2c -o test2.ppm" "${images_folder}/dpx_1280x720_16bit.ppm" "test1.ppm" "test2.ppm")
add_test(NAME dpx_enc_rev53_10bit_resolve18 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -renc "-i ${images_folder}/dpx_1280x720_10bit_resolve18.dpx -o dpx_enc_1280x720_10bit_resolve18.j2c -reversible true"    "-i dpx_enc_1280x720_10bit_resolve18.j2c -o test1.ppm -precise -quiet" "-i dpx_enc_1280x720_10bit_resolve18.j2c -o test2.ppm" "${images_folder}/dpx_1280x720_16bit.ppm" "test1.ppm" "test2.ppm")
add_test(NAME dpx_enc_rev53_16bit_resolve18 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/com_decom.sh -renc "-i ${images_folder}/dpx_1280x720_16bit_resolve18.dpx -o dpx_enc_1280x720_16bit_resolve18.j2c -reversible true"    "-i dpx_enc_1280x720_16bit_resolve18.j2c -o test1.ppm -precise -quiet" "-i dpx_enc_1280x720_16bit_resolve18.j2c -o test2.ppm" "${images_folder}/dpx_1280x720_16bit.ppm" "test1.ppm" "test2.ppm")

