Hervé Guillemet
2015-05-08 10:06:58 UTC
Hello,
Two comments/questions about the API for reading from an arbitrary stream
and particularly opj_stream_set_user_data_length:
-The opj_stream_set_user_data_length name is quite misleading. It took me
quite some time to find out it's not meant to set the userdata length but
the total length of the byte stream.
- Wouldn't it be possible to get rid of this function ? There may be
situations where the length of the stream is not known in advance, and it
seems to me that the segmented JPEG codestream structure would allow to
decode without having this information.
--
Hervé
Two comments/questions about the API for reading from an arbitrary stream
and particularly opj_stream_set_user_data_length:
-The opj_stream_set_user_data_length name is quite misleading. It took me
quite some time to find out it's not meant to set the userdata length but
the total length of the byte stream.
- Wouldn't it be possible to get rid of this function ? There may be
situations where the length of the stream is not known in advance, and it
seems to me that the segmented JPEG codestream structure would allow to
decode without having this information.
--
Hervé
--
You are subscribed to the mailing-list of the OpenJPEG project (www.openjpeg.org)
To post: email to ***@googlegroups.com
To unsubscribe: email to openjpeg+***@googlegroups.com
For more options: visit http://groups.google.com/group/openjpeg
OpenJPEG is mainly supported by :
* UCL Image and Signal Processing Group (http://sites.uclouvain.be/ispgroup)
* IntoPIX (www.intopix.com)
You are subscribed to the mailing-list of the OpenJPEG project (www.openjpeg.org)
To post: email to ***@googlegroups.com
To unsubscribe: email to openjpeg+***@googlegroups.com
For more options: visit http://groups.google.com/group/openjpeg
OpenJPEG is mainly supported by :
* UCL Image and Signal Processing Group (http://sites.uclouvain.be/ispgroup)
* IntoPIX (www.intopix.com)