[]
        
(Showing Draft Content)

CSJ2K.j2k.quantization.dequantizer.StdDequantizer.getFixedPoint

getFixedPoint Method

getFixedPoint(int)

Returns the position of the fixed point in the output data for the specified component. This is the position of the least significant integral (i.e. non-fractional) bit, which is equivalent to the number of fractional bits. For instance, for fixed-point values with 2 fractional bits, 2 is returned. For floating-point data this value does not apply and 0 should be returned. Position 0 is the position of the least significant bit in the data. If the output data is 'float' then 0 is always returned.

       <p><u>Note:</u> Fractional bits are no more supported by JJ2000.</p>
Declaration
public override int getFixedPoint(int c)
Parameters
Type Name Description
int c

The index of the component.

Returns
Type Description
int

The position of the fixed-point, which is the same as the number of fractional bits. For floating-point data 0 is returned.

Overrides