In This Topic
The following tables list the members exposed by CBlkWTData.
Public Fields
| Name | Description |
| convertFactor | The value by which the absolute value of the data has to be divided in order to get the real absolute value. This value is useful to obtain the complement of 2 representation of a coefficient that is currently using the sign-magnitude representation. |
| h | The height of the code-block |
| m | The vertical index of the code-block, within the subband |
| magbits | The number of magnitude bits in the integer representation. This is only used for quantized wavelet data. |
| n | The horizontal index of the code-block, within the subband |
| nROIbp | Number of ROI magnitude bit-planes |
| nROIcoeff | Number of ROI coefficients in the code-block |
| offset | The offset in the array of the top-left coefficient |
| sb | The subband in which this code-block is found |
| scanw | The width of the scanlines used to store the data in the array |
| stepSize | The quantization step size of the code-block. The value is updated by the quantizer module |
| ulx | The horizontal coordinate of the upper-left corner of the code-block |
| uly | The vertical coordinate of the upper left corner of the code-block |
| w | The width of the code-block |
| wmseScaling | The WMSE scaling factor (multiplicative) to apply to the distortion measures of the data of this code-block. By default it is 1. |
Top
Public Properties
| Name | Description |
| Data | Returns the array containing the data, or null if there is no data. The returned array is of the type returned by getDataType() (e.g., for TYPE_INT, it is a int[]).
Each implementing class should provide a type specific equivalent method (e.g., getDataInt() in DataBlkInt) which returns an array of the correct type explicitely and not through an Object. Sets the data array to the specified one. The type of the specified data array must match the one returned by getDataType() (e.g., for TYPE_INT, it should be a int[]). If the wrong type of array is given a ClassCastException will be thrown.
The size of the array is not necessarily checked for consistency with w and h or any other fields.
Each implementing class should provide a type specific equivalent method (e.g., setDataInt() in DataBlkInt) which takes an array of the correct type explicetely and not through an Object. |
| DataType | Returns the data type of the CBlkWTData object, as defined in the DataBlk class. |
Top
Public Methods
| Name | Description |
| ToString | Returns a string of informations about the DataBlk |
Top
See Also