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

kdu_block::set_max_passes

Java: Kdu_block::Set_max_passes

void set_max_passes( int new_passes, bool copy_existing=true)

Java: void Set_max_passes( int new_passes, boolean copy_existing)

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

Go to class description.


Synopsis

This function should be called to augment the number of coding passes which can be stored in the structure. For efficiency, call the function only when you know that there is a potential problem with the current allocation, by testing the public data member, max_passes.


Arguments

new_passes [int]

Total number of coding passes required; function does nothing if sufficient storage already exists for these coding passes.

copy_existing [bool]

If true, any existing coding pass information will be copied into newly allocated (enlarged) arrays.


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