public VideoEncoderCodecPictureControlSupport
        (
            uint?dataSize = null,
            VideoEncoderCodecPictureControlSupportUnion?anonymous    = null,
            VideoEncoderCodecPictureControlSupportH264 *pH264Support = null,
            VideoEncoderCodecPictureControlSupportHevc *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;
            }
        }
Exemplo n.º 2
0
        public VideoEncoderCodecPictureControlSupportUnion
        (
            VideoEncoderCodecPictureControlSupportH264 *pH264Support = null,
            VideoEncoderCodecPictureControlSupportHevc *pHEVCSupport = null
        ) : this()
        {
            if (pH264Support is not null)
            {
                PH264Support = pH264Support;
            }

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