CSJ2K.j2k.codestream.reader.PktDecoder.getNumPrecinct C# (CSharp) Method

getNumPrecinct() public method

Gets the number of precincts in a given component and resolution level.
public getNumPrecinct ( int c, int r ) : int
c int Component index /// ///
r int Resolution index /// ///
return int
        public virtual int getNumPrecinct(int c, int r)
        {
            return numPrec[c][r].x * numPrec[c][r].y;
        }