CSJ2K.j2k.codestream.HeaderInfo.SIZ.getOrigBitDepth C# (CSharp) Метод

getOrigBitDepth() публичный Метод

public getOrigBitDepth ( int c ) : int
c int
Результат int
            public virtual int getOrigBitDepth(int c)
            {
                if (origBitDepth == null)
                {
                    origBitDepth = new int[csiz];
                    for (int cc = 0; cc < csiz; cc++)
                    {
                        origBitDepth[cc] = (ssiz[cc] & ((1 << CSJ2K.j2k.codestream.Markers.SSIZ_DEPTH_BITS) - 1)) + 1;
                    }
                }
                return origBitDepth[c];
            }