| synopsis || arguments || prev || next |
void open( kdu_cache * cache)
Java: void Open( Kdu_cache cache)
[Declared in "../apps/compressed_io/jp2.h"]
With this form of the overloaded open function, the JP2 source data is recovered from the supplied caching data source. In this case, jp2_input_box objects opened directly or indirectly using the present object may have contents which grow dynamically as the cache contents expand. Moreover, in this case the jp2_input_box::get_capabilities function associated with any open contiguous code-stream box will advertise the KDU_SOURCE_CAP_CACHED attribute, while all other box types will advertise KDU_SOURCE_CAP_SEQUENTIAL and KDU_SOURCE_CAP_SEEKABLE.