Example #1
0
 public void Read(BitReader bitReader)
 {
     if ((_mbLayer.MbPartPredMode(_mbType, 0) == MacroBlockPartitionMode.Intra_4x4) ||
         (_mbLayer.MbPartPredMode(_mbType, 0) == MacroBlockPartitionMode.Intra_16x16))
     {
         if (_mbLayer.MbPartPredMode(_mbType, 0) == MacroBlockPartitionMode.Intra_4x4)
         {
             for (int luma4x4ids = 0; luma4x4ids < 16; luma4x4ids++)
             {
                 PrevIntra4x4PredModeFlag[luma4x4ids] = bitReader.GetNextBit();
                 if (!PrevIntra4x4PredModeFlag[luma4x4ids])
                 {
                     RemIntra4x4PredMode[luma4x4ids] = bitReader.GetByteFromNBits(3);
                 }
             }
         }
         IntraChromaPredMode = (byte)bitReader.DecodeUnsignedExpGolomb();
     }
     else if (_mbLayer.MbPartPredMode(_mbType, 0) != MacroBlockPartitionMode.Direct)
     {
         int numPart = (int)_mbLayer.NumMbPart(_mbType);
         for (int mbPartIdx = 0; mbPartIdx < numPart; mbPartIdx++)
         {
         }
         for (int mbPartIdx = 0; mbPartIdx < numPart; mbPartIdx++)
         {
         }
         for (int mbPartIdx = 0; mbPartIdx < numPart; mbPartIdx++)
         {
         }
         for (int mbPartIdx = 0; mbPartIdx < numPart; mbPartIdx++)
         {
         }
     }
 }