| synopsis || arguments || prev || next |
void set_num_channels( int num)
Java: void Set_num_channels( int num)
[Declared in "../apps/support/kdu_region_decompressor.h"]
Convenience function for allocating the source_components and palette arrays required to hold the channel properties. Also sets the num_channels member. Copies any existing channel data, so that you can build up a channel description progressively by calling this function multiple times. Initializes all new source_components entries to -1 and all new palette entries to NULL.