| synopsis || arguments |

kdu_encoder::kdu_encoder

Java: Kdu_encoder::Kdu_encoder

kdu_encoder( kdu_subband subband, kdu_sample_allocator * allocator, bool use_shorts, float normalization=1.0F, kdu_roi_node * roi=NULL)

Java: Kdu_encoder( Kdu_subband subband, Kdu_sample_allocator allocator, boolean use_shorts, float normalization, Kdu_roi_node roi)

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

Go to class description.


Synopsis

Informs the encoder that data supplied via its kdu_push_ifc::push function will have a nominal range from -0.5*R to +0.5*R where R is the value of normalization. The roi argument, if non-NULL, provides an appropriately derived kdu_roi_node object whose kdu_roi_node::pull function may be used to recover ROI mask information for this subband. Its kdu_roi::release function will be called when the encoder is destroyed — possibly sooner, if it can be determined that ROI information is no longer required.


Arguments

subband [kdu_subband]

allocator [kdu_sample_allocator *]

use_shorts [bool]

normalization [float]

roi [kdu_roi_node *]


| top || synopsis || arguments |