Beispiel #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;
 }
Beispiel #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;
 }
Beispiel #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);
       }
 }
Beispiel #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);
     }
 }
Beispiel #5
0
 public MBQPDelta(PictureParameterSet pps, SliceHeader header) : base(pps, header)
 {
 }
Beispiel #6
0
 public CodedSliceBase(SequenceParameterSet sps, PictureParameterSet pps, Byte idc, NALUnitType naluType, uint size)
 {
     Nalu = new NetworkAbstractionLayerUnit(idc, naluType, size);
       Header = new SliceHeader(sps, pps, Nalu);
       Data = new SliceData(sps, pps, Header, Nalu);
 }
        private bool _firstMacroBlock; // if true, no macroblock has been processed for slice

        #endregion Fields

        #region Constructors

        public MBTypeCABACParser(PictureParameterSet pps, SliceHeader header)
            : base(pps, header)
        {
            _firstMacroBlock = true;
        }
 public CodedBlockPattern(PictureParameterSet pps, SliceHeader header) : base(pps, header)
 {
 }
        private bool _firstMacroBlock; // if true, no macroblock has been processed for slice

        public MBTypeCABACParser(PictureParameterSet pps, SliceHeader header) : base(pps, header)
        {
            _firstMacroBlock = true;
        }
Beispiel #10
0
 public MBQPDelta(PictureParameterSet pps, SliceHeader header)
     : base(pps, header)
 {
 }
Beispiel #11
0
 public CodedBlockPattern(PictureParameterSet pps, SliceHeader header)
     : base(pps, header)
 {
 }
Beispiel #12
0
 public CodedSliceBase(SequenceParameterSet sps, PictureParameterSet pps, Byte idc, NALUnitType naluType, uint size)
 {
     Nalu   = new NetworkAbstractionLayerUnit(idc, naluType, size);
     Header = new SliceHeader(sps, pps, Nalu);
     Data   = new SliceData(sps, pps, Header, Nalu);
 }
Beispiel #13
0
 public SliceData(SequenceParameterSet sps, PictureParameterSet pps, SliceHeader header, NetworkAbstractionLayerUnit nalu) : this(sps, pps, header)
 {
     _nalu = nalu;
 }
Beispiel #14
0
 public SliceData(SequenceParameterSet sps, PictureParameterSet pps, SliceHeader header, NetworkAbstractionLayerUnit nalu)
     : this(sps, pps, header)
 {
     _nalu = nalu;
 }
Beispiel #15
0
 public int DecodeCABAC(SliceHeader header, SyntaxElement se)
 {
     // FIXME: do nothing for now
       return 0;
 }
Beispiel #16
0
 public CABACBaseClass(PictureParameterSet pps, SliceHeader sliceHeader)
 {
     _pps = pps;
       _header = sliceHeader;
 }
Beispiel #17
0
 public CABACBaseClass(PictureParameterSet pps, SliceHeader sliceHeader)
 {
     _pps    = pps;
     _header = sliceHeader;
 }
Beispiel #18
0
 public int DecodeCABAC(SliceHeader header, SyntaxElement se)
 {
     // FIXME: do nothing for now
     return(0);
 }