| synopsis || arguments || prev || next |
bool set_floats( float * buffer, int first_idx, int num_samples)
Java: boolean Set_floats( float[] buffer, int first_idx, int num_samples)
[Declared in "../coresys/common/kdu_sample_processing.h"]
Returns false if the object does not hold a 32-bit normalized (floating point) sample representation. Otherwise, returns true and copies the floating point samples from the supplied buffer. The first sample in buffer is stored first_idx positions from the start of the line. There may be little or no checking that the sample range represented by first_idx and num_samples is legal, so be careful.
For native C/C++ interfacing, it is more efficient to explicitly access the internal buffer using get_buf32.