public VideoEncoderHeapDesc ( uint?nodeMask = null, VideoEncoderHeapFlags?flags = null, VideoEncoderCodec?encodeCodec = null, VideoEncoderProfileDesc?encodeProfile = null, VideoEncoderLevelSetting?encodeLevel = null, uint?resolutionsListCount = null, VideoEncoderPictureResolutionDesc *pResolutionList = null ) : this() { if (nodeMask is not null) { NodeMask = nodeMask.Value; } if (flags is not null) { Flags = flags.Value; } if (encodeCodec is not null) { EncodeCodec = encodeCodec.Value; } if (encodeProfile is not null) { EncodeProfile = encodeProfile.Value; } if (encodeLevel is not null) { EncodeLevel = encodeLevel.Value; } if (resolutionsListCount is not null) { ResolutionsListCount = resolutionsListCount.Value; } if (pResolutionList is not null) { PResolutionList = pResolutionList; } }
public FeatureDataVideoEncoderSupport ( uint?nodeIndex = null, VideoEncoderCodec?codec = null, Silk.NET.DXGI.Format?inputFormat = null, VideoEncoderCodecConfiguration?codecConfiguration = null, VideoEncoderSequenceGopStructure?codecGopSequence = null, VideoEncoderRateControl?rateControl = null, VideoEncoderIntraRefreshMode?intraRefresh = null, VideoEncoderFrameSubregionLayoutMode?subregionFrameEncoding = null, uint?resolutionsListCount = null, VideoEncoderPictureResolutionDesc *pResolutionList = null, uint?maxReferenceFramesInDPB = null, VideoEncoderValidationFlags?validationFlags = null, VideoEncoderSupportFlags?supportFlags = null, VideoEncoderProfileDesc?suggestedProfile = null, VideoEncoderLevelSetting?suggestedLevel = null, FeatureDataVideoEncoderResolutionSupportLimits *pResolutionDependentSupport = null ) : this() { if (nodeIndex is not null) { NodeIndex = nodeIndex.Value; } if (codec is not null) { Codec = codec.Value; } if (inputFormat is not null) { InputFormat = inputFormat.Value; } if (codecConfiguration is not null) { CodecConfiguration = codecConfiguration.Value; } if (codecGopSequence is not null) { CodecGopSequence = codecGopSequence.Value; } if (rateControl is not null) { RateControl = rateControl.Value; } if (intraRefresh is not null) { IntraRefresh = intraRefresh.Value; } if (subregionFrameEncoding is not null) { SubregionFrameEncoding = subregionFrameEncoding.Value; } if (resolutionsListCount is not null) { ResolutionsListCount = resolutionsListCount.Value; } if (pResolutionList is not null) { PResolutionList = pResolutionList; } if (maxReferenceFramesInDPB is not null) { MaxReferenceFramesInDPB = maxReferenceFramesInDPB.Value; } if (validationFlags is not null) { ValidationFlags = validationFlags.Value; } if (supportFlags is not null) { SupportFlags = supportFlags.Value; } if (suggestedProfile is not null) { SuggestedProfile = suggestedProfile.Value; } if (suggestedLevel is not null) { SuggestedLevel = suggestedLevel.Value; } if (pResolutionDependentSupport is not null) { PResolutionDependentSupport = pResolutionDependentSupport; } }