Example #1
0
        public VideoEncodeH265NaluSliceEXT
        (
            StructureType?sType = StructureType.VideoEncodeH265NaluSliceExt,
            void *pNext         = null,
            uint?ctbCount       = null,
            VideoEncodeH265ReferenceListsEXT *pReferenceFinalLists = null,
            Video.StdVideoEncodeH265SliceHeader *pSliceHeaderStd   = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

            if (pNext is not null)
            {
                PNext = pNext;
            }

            if (ctbCount is not null)
            {
                CtbCount = ctbCount.Value;
            }

            if (pReferenceFinalLists is not null)
            {
                PReferenceFinalLists = pReferenceFinalLists;
            }

            if (pSliceHeaderStd is not null)
            {
                PSliceHeaderStd = pSliceHeaderStd;
            }
        }
        public VideoEncodeH265VclFrameInfoEXT
        (
            StructureType?sType = StructureType.VideoEncodeH265VclFrameInfoExt,
            void *pNext         = null,
            VideoEncodeH265ReferenceListsEXT *pReferenceFinalLists = null,
            uint?naluSliceEntryCount = null,
            VideoEncodeH265NaluSliceEXT *pNaluSliceEntries           = null,
            Video.StdVideoEncodeH265PictureInfo *pCurrentPictureInfo = null
        ) : this()
        {
            if (sType is not null)
            {
                SType = sType.Value;
            }

            if (pNext is not null)
            {
                PNext = pNext;
            }

            if (pReferenceFinalLists is not null)
            {
                PReferenceFinalLists = pReferenceFinalLists;
            }

            if (naluSliceEntryCount is not null)
            {
                NaluSliceEntryCount = naluSliceEntryCount.Value;
            }

            if (pNaluSliceEntries is not null)
            {
                PNaluSliceEntries = pNaluSliceEntries;
            }

            if (pCurrentPictureInfo is not null)
            {
                PCurrentPictureInfo = pCurrentPictureInfo;
            }
        }