NOTE: The tile specific things are not supported yet
public virtual int getDecompType(int n) { switch (specValType[n]) { case DEC_SPEC_MAIN_DEF: return mainDefDecompType; case DEC_SPEC_COMP_DEF: return compMainDefDecompType[n]; case DEC_SPEC_TILE_DEF: throw new NotImplementedException(); case DEC_SPEC_TILE_COMP: throw new NotImplementedException(); default: throw new System.InvalidOperationException("Internal JJ2000 error"); } }