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

kdu_block::set_max_contexts

Java: Kdu_block::Set_max_contexts

void set_max_contexts( int new_contexts)

Java: void Set_max_contexts( int new_contexts)

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

Go to class description.


Synopsis

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


Arguments

new_contexts [int]


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