BRANCH-1.5:added a new indexer functionality to the library. With the new -jpip option at encoding, the user can now generate a JP2 file including an XML box with the index used when browsing the image with JPIP

This commit is contained in:
Antonin Descampe
2011-09-09 14:52:42 +00:00
parent 5213675ba8
commit 3d06f03072
22 changed files with 1249 additions and 42 deletions

View File

@@ -140,6 +140,7 @@ typedef struct opj_jp2 {
opj_jp2_comps_t *comps;
unsigned int j2k_codestream_offset;
unsigned int j2k_codestream_length;
opj_bool jpip_on;
} opj_jp2_t;
/**
@@ -222,6 +223,7 @@ Encode an image into a JPEG-2000 file stream
@return Returns true if successful, returns false otherwise
*/
opj_bool opj_jp2_encode(opj_jp2_t *jp2, opj_cio_t *cio, opj_image_t *image, opj_codestream_info_t *cstr_info);
/* ----------------------------------------------------------------------- */
/*@}*/