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

kdu_region_decompressor::process

Java: Kdu_region_decompressor::Process

Overload navigation: 1, 2, 3

bool process( kdu_int32 * buffer, kdu_coords buffer_origin, int row_gap, int suggested_increment, int max_region_pixels, kdu_dims & incomplete_region, kdu_dims & new_region)

Java: boolean Process( int[] buffer, Kdu_coords buffer_origin, int row_gap, int suggested_increment, int max_region_pixels, Kdu_dims incomplete_region, Kdu_dims new_region)

[Declared in "../apps/support/kdu_region_decompressor.h"]

Go to class description.


Synopsis

This function is equivalent to invoking the first form of the overloaded process function, with four 8-bit channel buffers.

If the source has only one colour channel, the second and third channel buffers are copied from the first channel buffer (same as the expand_monochrome feature found in other forms of the process function).

If there is no alpha information, the fourth channel buffer (most significant byte of each integer) is set to 0xFF.

If the number of channels or colour channels is incompatible with the representation described above, an error will be generated through kdu_error.

Apart from convenience, one reason for providing this function in addition to the other, more general forms of the process function, is that it is readily mapped to alternate language bindings, such as Java.


Arguments

buffer [kdu_int32 *]

buffer_origin [kdu_coords]

row_gap [int]

suggested_increment [int]

max_region_pixels [int]

incomplete_region [kdu_dims &]

new_region [kdu_dims &]


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