示例#1
0
        internal override void writeParameters(EncodedBuffer buffer, eParameterSet which)
        {
            switch (which)
            {
            case eParameterSet.SPS:
                buffer.writeSps(sps[0]);
                return;

            case eParameterSet.PPS:
                buffer.writePps(pps[0]);
                return;

            case eParameterSet.VPS:
                throw new NotImplementedException("VPS is only for h.265 video which is not yet implemented");

            default:
                throw new ArgumentException($"Unexpected eParameterSet set value { which }");
            }
        }
示例#2
0
 internal abstract void writeParameters(EncodedBuffer buffer, eParameterSet which);