[]
Creates a Quantizer object for the appropriate type of quantization specified in the options in the parameter list 'pl', and having 'src' as the source of data to be quantized. The 'rev' flag indicates if the quantization should be reversible.
NOTE: At the moment only sources of wavelet data that implement the
'CBlkWTDataSrc' interface are supported.
public static Quantizer createInstance(CBlkWTDataSrc src, EncoderSpecs encSpec)
Type | Name | Description |
---|---|---|
CBlkWTDataSrc | src | The source of data to be quantized |
EncoderSpecs | encSpec | Encoder specifications |
Type | Description |
---|---|
Quantizer |