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; }
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); } }
public MBQPDelta(PictureParameterSet pps, SliceHeader header) : base(pps, header) { }
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; }
public SliceData(SequenceParameterSet sps, PictureParameterSet pps, SliceHeader header, NetworkAbstractionLayerUnit nalu) : this(sps, pps, header) { _nalu = nalu; }
public int DecodeCABAC(SliceHeader header, SyntaxElement se) { // FIXME: do nothing for now return 0; }
public CABACBaseClass(PictureParameterSet pps, SliceHeader sliceHeader) { _pps = pps; _header = sliceHeader; }
public int DecodeCABAC(SliceHeader header, SyntaxElement se) { // FIXME: do nothing for now return(0); }