示例#1
0
 public unsafe void InitContextBuffers()
 {
     DecSetupMi();
     if (!LastFrameSegMap.IsNull)
     {
         MemoryUtil.Fill(LastFrameSegMap.ToPointer(), (byte)0, MiRows * MiCols);
     }
 }
示例#2
0
 private unsafe void DecSetupMi()
 {
     Mi            = Mip.Slice(MiStride + 1);
     MiGridVisible = MiGridBase.Slice(MiStride + 1);
     MemoryUtil.Fill(MiGridBase.ToPointer(), Ptr <ModeInfo> .Null, MiStride * (MiRows + 1));
 }