public StdVideoH265VideoParameterSet ( byte?vpsVideoParameterSetId = null, byte?vpsMaxSubLayersMinus1 = null, uint?vpsNumUnitsInTick = null, uint?vpsTimeScale = null, uint?vpsNumTicksPocDiffOneMinus1 = null, StdVideoH265DecPicBufMgr *pDecPicBufMgr = null, StdVideoH265HrdParameters *hrdParameters = null, StdVideoH265VpsFlags?flags = null ) : this() { if (vpsVideoParameterSetId is not null) { VpsVideoParameterSetId = vpsVideoParameterSetId.Value; } if (vpsMaxSubLayersMinus1 is not null) { VpsMaxSubLayersMinus1 = vpsMaxSubLayersMinus1.Value; } if (vpsNumUnitsInTick is not null) { VpsNumUnitsInTick = vpsNumUnitsInTick.Value; } if (vpsTimeScale is not null) { VpsTimeScale = vpsTimeScale.Value; } if (vpsNumTicksPocDiffOneMinus1 is not null) { VpsNumTicksPocDiffOneMinus1 = vpsNumTicksPocDiffOneMinus1.Value; } if (pDecPicBufMgr is not null) { PDecPicBufMgr = pDecPicBufMgr; } if (hrdParameters is not null) { HrdParameters = hrdParameters; } if (flags is not null) { Flags = flags.Value; } }
public StdVideoH265SequenceParameterSetVui ( byte?aspectRatioIdc = null, ushort?sarWidth = null, ushort?sarHeight = null, byte?videoFormat = null, byte?colourPrimaries = null, byte?transferCharacteristics = null, byte?matrixCoeffs = null, byte?chromaSampleLocTypeTopField = null, byte?chromaSampleLocTypeBottomField = null, ushort?defDispWinLeftOffset = null, ushort?defDispWinRightOffset = null, ushort?defDispWinTopOffset = null, ushort?defDispWinBottomOffset = null, uint?vuiNumUnitsInTick = null, uint?vuiTimeScale = null, uint?vuiNumTicksPocDiffOneMinus1 = null, StdVideoH265HrdParameters *hrdParameters = null, ushort?minSpatialSegmentationIdc = null, byte?maxBytesPerPicDenom = null, byte?maxBitsPerMinCuDenom = null, byte?log2MaxMvLengthHorizontal = null, byte?log2MaxMvLengthVertical = null, StdVideoH265SpsVuiFlags?flags = null ) : this() { if (aspectRatioIdc is not null) { AspectRatioIdc = aspectRatioIdc.Value; } if (sarWidth is not null) { SarWidth = sarWidth.Value; } if (sarHeight is not null) { SarHeight = sarHeight.Value; } if (videoFormat is not null) { VideoFormat = videoFormat.Value; } if (colourPrimaries is not null) { ColourPrimaries = colourPrimaries.Value; } if (transferCharacteristics is not null) { TransferCharacteristics = transferCharacteristics.Value; } if (matrixCoeffs is not null) { MatrixCoeffs = matrixCoeffs.Value; } if (chromaSampleLocTypeTopField is not null) { ChromaSampleLocTypeTopField = chromaSampleLocTypeTopField.Value; } if (chromaSampleLocTypeBottomField is not null) { ChromaSampleLocTypeBottomField = chromaSampleLocTypeBottomField.Value; } if (defDispWinLeftOffset is not null) { DefDispWinLeftOffset = defDispWinLeftOffset.Value; } if (defDispWinRightOffset is not null) { DefDispWinRightOffset = defDispWinRightOffset.Value; } if (defDispWinTopOffset is not null) { DefDispWinTopOffset = defDispWinTopOffset.Value; } if (defDispWinBottomOffset is not null) { DefDispWinBottomOffset = defDispWinBottomOffset.Value; } if (vuiNumUnitsInTick is not null) { VuiNumUnitsInTick = vuiNumUnitsInTick.Value; } if (vuiTimeScale is not null) { VuiTimeScale = vuiTimeScale.Value; } if (vuiNumTicksPocDiffOneMinus1 is not null) { VuiNumTicksPocDiffOneMinus1 = vuiNumTicksPocDiffOneMinus1.Value; } if (hrdParameters is not null) { HrdParameters = hrdParameters; } if (minSpatialSegmentationIdc is not null) { MinSpatialSegmentationIdc = minSpatialSegmentationIdc.Value; } if (maxBytesPerPicDenom is not null) { MaxBytesPerPicDenom = maxBytesPerPicDenom.Value; } if (maxBitsPerMinCuDenom is not null) { MaxBitsPerMinCuDenom = maxBitsPerMinCuDenom.Value; } if (log2MaxMvLengthHorizontal is not null) { Log2MaxMvLengthHorizontal = log2MaxMvLengthHorizontal.Value; } if (log2MaxMvLengthVertical is not null) { Log2MaxMvLengthVertical = log2MaxMvLengthVertical.Value; } if (flags is not null) { Flags = flags.Value; } }