virtual int get_capabilities( )
Java: int Get_capabilities( )
[Declared in "../coresys/common/kdu_compressed.h"]
Returns the logical OR of one or more capability flags, whose values are identified by the macros, KDU_SOURCE_CAP_SEQUENTIAL, KDU_SOURCE_CAP_SEEKABLE and KDU_SOURCE_CAP_CACHED. These flags have the following interpretation:
Cached sources might conceivably support sequential reading as well, meaning that it is possible to read the code-stream linearly as if it were organized in a file. However, in most cases only one of the KDU_SOURCE_CAP_SEQUENTIAL and KDU_SOURCE_CAP_CACHED flags will be set.
Both cached and sequential sources may support seekability. If a cached source is seekable, seeking is performed with respect to the current scope. Specifically, this is the scope of the precinct associated with the most recent call to set_precinct_scope or the tile header associated with the most recent set_tile_header_scope, whichever call was invoked most recently, or the scope of the main code-stream header, if neither set_precinct_scope nor set_tile_header_scope has yet been called.