| synopsis || return value || arguments || prev || next |
Overload navigation: 1, 2, 3, 4, 5, 6, 7, 8
bool push_stripe( kdu_int16 * stripe_bufs[], int stripe_heights[], int * sample_gaps=NULL, int * row_gaps=NULL, int * precisions=NULL, bool * is_signed=NULL, int flush_period=0)
[Declared in "../apps/support/kdu_stripe_compressor.h"]
Same as the first form of the overloaded push_stripe function, except in the following respects:
True until all samples for all image components have been pushed in, at which point the function returns false.
See description of the first form of the push_stripe function.
See description of the first form of the push_stripe function.
See description of the first form of the push_stripe function.
See description of the first form of the push_stripe function, but note these two changes: the precision for any component may be as large as 16 (this is the default, if precisions is NULL); and the samples all have a nominally signed representation (not the unsigned representation assumed by the first form of the function), unless otherwise indicated by a non-NULL is_signed argument.
If NULL, the supplied samples for each component, c, are assumed to have a signed representation in the range -2^{ precisions[c]-1} to 2^{ precisions[c]-1}-1. Otherwise, this argument points to an array with one element for each component. If is_signed[c] is true, the default signed representation is assumed for that component; if false, the component samples are assumed to have an unsigned representation in the range 0 to 2^{ precisions[c]}-1. What this means is that the function subtracts 2^{ precisions[c]-1} from the samples of any component for which is_signed[c] is false. It is allowable to have precisions[c]=16 even if is_signed[c] is false, meaning that the input words are treated as though they were 16-bit unsigned words.
See description of the first form of the push_stripe function.
| top || synopsis || return value || arguments || prev || next |