예제 #1
0
            public void Init()
            {
                int posState;

                URangeDecoder.InitBitModels(m_Choice);
                for (posState = 0; posState < m_NumPosStates; posState++)
                {
                    m_LowCoder[posState].Init();
                    m_MidCoder[posState].Init();
                }
                m_HighCoder.Init();
            }
예제 #2
0
            public void Init()
            {
                int i;

                m_OutWindow.Init(false);

                URangeDecoder.InitBitModels(m_IsMatchDecoders);
                URangeDecoder.InitBitModels(m_IsRep0LongDecoders);
                URangeDecoder.InitBitModels(m_IsRepDecoders);
                URangeDecoder.InitBitModels(m_IsRepG0Decoders);
                URangeDecoder.InitBitModels(m_IsRepG1Decoders);
                URangeDecoder.InitBitModels(m_IsRepG2Decoders);
                URangeDecoder.InitBitModels(m_PosDecoders);

                m_LiteralDecoder.Init();
                for (i = 0; i < ULZMABase.kNumLenToPosStates; i++)
                {
                    m_PosSlotDecoder[i].Init();
                }
                m_LenDecoder.Init();
                m_RepLenDecoder.Init();
                m_PosAlignDecoder.Init();
                m_RangeDecoder.Init();
            }
예제 #3
0
 public void Init()
 {
     URangeDecoder.InitBitModels(m_Decoders);
 }