CSJ2K.j2k.entropy.CBlkSizeSpec.storeHighestDims C# (CSharp) Method

storeHighestDims() private method

Stores the highest code-block width and height
private storeHighestDims ( System dim ) : void
dim System The 2 elements array that contains the code-block width and /// height. /// ///
return void
        private void storeHighestDims(System.Int32[] dim)
        {
            // Store the biggest code-block dimensions
            if (dim[0] > maxCBlkWidth)
            {
                maxCBlkWidth = dim[0];
            }
            if (dim[1] > maxCBlkHeight)
            {
                maxCBlkHeight = dim[1];
            }
        }