+ [Mathieu Malaterre] CMake: Add doxygen output
+ [GB] One more field in the codestream_info struct for recording the number of packets per tile part; JPWL now distributes the EPBs in all the tile part headers
+ [Mathieu Malaterre] CMake: Add very simple tests (simply run command line with no option)
+* [Mathieu Malaterre] Fix unitialized read in img_fol (we may need a smarter initialize than memset)
September 4, 2007
+ [GB] Added some fields in the codestream_info structure: they are used to record the position of single tile parts. Changed also the write_index function in the codec, to reflect the presence of this new information.
FOREACH(exe j2k_to_image image_to_j2k)
ADD_EXECUTABLE(${exe} ${exe}.c ${common_SRCS})
TARGET_LINK_LIBRARIES(${exe} ${OPJ_PREFIX}openjpeg ${TIFF_LIBRARIES})
- ADD_TEST(${exe} ${exe})
+ ADD_TEST(${exe} ${EXECUTABLE_OUTPUT_PATH}/${exe})
# On unix you need to link to the math library:
IF(UNIX)
TARGET_LINK_LIBRARIES(${exe} m)
/* set encoding parameters to default values */
opj_set_default_encoder_parameters(¶meters);
+ /* need to initialize img_fol since parameters will be read in parse_cmdline_decoder */
+ memset(&img_fol,0,sizeof(img_fol_t));
+
/* parse input and get user encoding parameters */
if(parse_cmdline_encoder(argc, argv, ¶meters,&img_fol, &raw_cp) == 1) {
return 0;
/* set decoding parameters to default values */
opj_set_default_decoder_parameters(¶meters);
+ /* need to initialize img_fol since parameters will be read in parse_cmdline_decoder */
+ memset(&img_fol,0,sizeof(img_fol_t));
/* parse input and get user encoding parameters */
if(parse_cmdline_decoder(argc, argv, ¶meters,&img_fol) == 1) {