[]
        
(Showing Draft Content)

CSJ2K.j2k.entropy.CBlkSizeSpec.getCBlkHeight

getCBlkHeight Method

getCBlkHeight(byte, int, int)

Returns the code-block height:

       <ul><li>for the specified tile/component</li><li>for the specified tile</li><li>for the specified component</li><li>default value</li></ul>

       The value returned depends on the value of the variable 'type' which
       can take the following values :

       <ul><li>SPEC_DEF -> Default value is returned. t and c values are
       ignored</li><li>SPEC_COMP_DEF -> Component default value is returned. t value is
       ignored</li><li>SPEC_TILE_DEF -> Tile default value is returned. c value is
       ignored</li><li>SPEC_TILE_COMP -> Tile/Component value is returned.</li></ul>
Declaration
public virtual int getCBlkHeight(byte type, int t, int c)
Parameters
Type Name Description
byte type

The type of the value we want to be returned

int t

The tile index

int c

the component index

Returns
Type Description
int

The code-block height for the specified tile and component