| synopsis || arguments || prev || next |
virtual int * get_codestream_ranges( int & num_ranges)
[Declared in "../apps/kdu_server/kdu_serve.h"]
Returns an array of code-stream ID ranges. The number of ranges in the returned array is returned via the num_ranges argument. Each range consists of a pair of consecutive integers in the array, the first of which is the identifier of the first code-stream in the range, while the second is the identifier of the last code-stream in the range (inclusive).
The returned code-stream ranges include the identifiers of all JPEG2000 code-streams as well as all other code-streams whose image data can be accessed via the JPIP protocol. Non-JPEG2000 code-streams are transported as raw meta-data boxes. Whether or not a code-stream identifier corresponds to a JPEG2000 code-stream which can be served as an incremental code-stream (via code-stream header and precinct data-bins), may be determined by calling lock_codestream.