示例#1
0
        public VideoEncoderCodecConfigurationSupport
        (
            uint?dataSize = null,
            VideoEncoderCodecConfigurationSupportUnion?anonymous    = null,
            VideoEncoderCodecConfigurationSupportH264 *pH264Support = null,
            VideoEncoderCodecConfigurationSupportHevc *pHEVCSupport = null
        ) : this()
        {
            if (dataSize is not null)
            {
                DataSize = dataSize.Value;
            }

            if (anonymous is not null)
            {
                Anonymous = anonymous.Value;
            }

            if (pH264Support is not null)
            {
                PH264Support = pH264Support;
            }

            if (pHEVCSupport is not null)
            {
                PHEVCSupport = pHEVCSupport;
            }
        }
        public VideoEncoderCodecConfigurationSupportUnion
        (
            VideoEncoderCodecConfigurationSupportH264 *pH264Support = null,
            VideoEncoderCodecConfigurationSupportHevc *pHEVCSupport = null
        ) : this()
        {
            if (pH264Support is not null)
            {
                PH264Support = pH264Support;
            }

            if (pHEVCSupport is not null)
            {
                PHEVCSupport = pHEVCSupport;
            }
        }