| synopsis || arguments || prev || next |

kdu_resolution::open_precinct

Java: Kdu_resolution::Open_precinct

kdu_precinct open_precinct( kdu_coords precinct_idx)

Java: Kdu_precinct Open_precinct( Kdu_coords precinct_idx)

[Declared in "../coresys/common/kdu_compressed.h"]

Go to class description.


Synopsis

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.


Arguments

precinct_idx [kdu_coords]

Must lie within the range returned by get_valid_precincts.


| top || synopsis || arguments || prev || next |