summaryrefslogtreecommitdiff
path: root/libopenjpeg/openjpeg.h
diff options
context:
space:
mode:
Diffstat (limited to 'libopenjpeg/openjpeg.h')
-rw-r--r--libopenjpeg/openjpeg.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libopenjpeg/openjpeg.h b/libopenjpeg/openjpeg.h
index 24e2f6a5..c2bb3c58 100644
--- a/libopenjpeg/openjpeg.h
+++ b/libopenjpeg/openjpeg.h
@@ -590,9 +590,11 @@ typedef struct opj_image_comptparm {
Index structure : Information concerning a packet inside tile
*/
typedef struct opj_packet_info {
- /** start position */
+ /** packet start position (including SOP marker if it exists) */
int start_pos;
- /** end position */
+ /** end of packet header position (including EPH marker if it exists)*/
+ int end_ph_pos;
+ /** packet end position */
int end_pos;
/** packet distorsion */
double disto;