public VideoEncoderLevelSetting
        (
            uint?dataSize = null,
            VideoEncoderLevelSettingUnion?anonymous   = null,
            VideoEncoderLevelsH264 *pH264LevelSetting = null,
            VideoEncoderLevelTierConstraintsHevc *pHEVCLevelSetting = null
        ) : this()
        {
            if (dataSize is not null)
            {
                DataSize = dataSize.Value;
            }

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

            if (pH264LevelSetting is not null)
            {
                PH264LevelSetting = pH264LevelSetting;
            }

            if (pHEVCLevelSetting is not null)
            {
                PHEVCLevelSetting = pHEVCLevelSetting;
            }
        }
Exemplo n.º 2
0
        public VideoEncoderLevelSettingUnion
        (
            VideoEncoderLevelsH264 *pH264LevelSetting = null,
            VideoEncoderLevelTierConstraintsHevc *pHEVCLevelSetting = null
        ) : this()
        {
            if (pH264LevelSetting is not null)
            {
                PH264LevelSetting = pH264LevelSetting;
            }

            if (pHEVCLevelSetting is not null)
            {
                PHEVCLevelSetting = pHEVCLevelSetting;
            }
        }