org.diracvideo.Jirac.Parameters.VerifyBlockParams C# (CSharp) Method

VerifyBlockParams() public method

public VerifyBlockParams ( ) : void
return void
        public void VerifyBlockParams()
        {
            bool ok = true;
            ok = ok && xblen_luma >= 0;
            ok = ok && yblen_luma >= 0;
            ok = ok && xbsep_luma >= 0;
            ok = ok && ybsep_luma >= 0;
            if(!ok) {
                throw new Exception("Block Paramters incorrect");
            }
        }