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];
}