[]
        
(Showing Draft Content)

CSJ2K.j2k.codestream.reader.TagTreeDecoder.update

update Method

update(int, int, int, PktHeaderBitReader)

Decodes information for the specified element of the tree, given the threshold, and updates its value. The information that can be decoded is whether or not the value of the element is greater than, or equal to, the value of the threshold.

Declaration
public virtual int update(int m, int n, int t, PktHeaderBitReader in_Renamed)
Parameters
Type Name Description
int m

The vertical index of the element.

int n

The horizontal index of the element.

int t

The threshold to use in decoding. It must be non-negative.

PktHeaderBitReader in_Renamed
Returns
Type Description
int

The updated value at position (m,n).