| synopsis || arguments || prev || next |
kdu_precinct open_precinct( kdu_coords precinct_idx)
Java: Kdu_precinct Open_precinct( Kdu_coords precinct_idx)
[Declared in "../coresys/common/kdu_compressed.h"]
This function may be used only with interchange codestreams (i.e., those created using the version of kdu_codestream::create which takes neither a compressed data source, nor a compressed data target).
The returned kdu_precinct interface may be used to directly generate and retrieve compressed data packets. The caller may use the kdu_precinct::check_loaded function to determine whether or not all code-block data has been loaded into the precinct, before attempting to size or recover packets.
Must lie within the range returned by get_valid_precincts.