Ejemplo n.º 1
0
 public MacroBlockLayer(SequenceParameterSet sps, PictureParameterSet pps, SliceHeader header, SliceData data)
 {
     _sliceType    = header.SliceType;
     _sps          = sps;
     _pps          = pps;
     _header       = header;
     _data         = data;
     _mbTypeParser = _data.MBTypeParser;
     _cbp          = _data.CBP;
     _mbQPD        = _data.MBQPD;
 }
Ejemplo n.º 2
0
 public MacroBlockLayer(SequenceParameterSet sps, PictureParameterSet pps, SliceHeader header, SliceData data)
 {
     _sliceType = header.SliceType;
       _sps = sps;
       _pps = pps;
       _header = header;
       _data = data;
       _mbTypeParser = _data.MBTypeParser;
       _cbp = _data.CBP;
       _mbQPD = _data.MBQPD;
 }
Ejemplo n.º 3
0
 public SliceData(SequenceParameterSet sps, PictureParameterSet pps, SliceHeader header)
 {
     _sps    = sps;
     _pps    = pps;
     _header = header;
     if (_pps.EntropyCodingModeFlag)
     {
         MBTypeParser = new MBTypeCABACParser(_pps, header);
         CBP          = new CodedBlockPattern(_pps, _header);
         MBQPD        = new MBQPDelta(_pps, _header);
     }
 }
Ejemplo n.º 4
0
 public SliceData(SequenceParameterSet sps, PictureParameterSet pps, SliceHeader header)
 {
     _sps = sps;
       _pps = pps;
       _header = header;
       if (_pps.EntropyCodingModeFlag)
       {
     MBTypeParser = new MBTypeCABACParser(_pps, header);
     CBP = new CodedBlockPattern(_pps, _header);
     MBQPD = new MBQPDelta(_pps, _header);
       }
 }