コード例 #1
0
 /// <summary>To be documented.</summary>
 public static unsafe Result CreateVideoSession(this KhrVideoQueue thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <VideoSessionCreateInfoKHR> pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <AllocationCallbacks> pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Span <VideoSessionKHR> pVideoSession)
 {
     // SpanOverloader
     return(thisApi.CreateVideoSession(device, in pCreateInfo.GetPinnableReference(), in pAllocator.GetPinnableReference(), out pVideoSession.GetPinnableReference()));
 }
コード例 #2
0
 /// <summary>To be documented.</summary>
 public static unsafe Result CreateVideoSessionParameters(this KhrVideoQueue thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] VideoSessionParametersCreateInfoKHR *pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] AllocationCallbacks *pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] Span <VideoSessionParametersKHR> pVideoSessionParameters)
 {
     // SpanOverloader
     return(thisApi.CreateVideoSessionParameters(device, pCreateInfo, pAllocator, out pVideoSessionParameters.GetPinnableReference()));
 }
コード例 #3
0
 /// <summary>To be documented.</summary>
 public static unsafe Result UpdateVideoSessionParameters(this KhrVideoQueue thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] VideoSessionParametersKHR videoSessionParameters, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <VideoSessionParametersUpdateInfoKHR> pUpdateInfo)
 {
     // SpanOverloader
     return(thisApi.UpdateVideoSessionParameters(device, videoSessionParameters, in pUpdateInfo.GetPinnableReference()));
 }
コード例 #4
0
 /// <summary>To be documented.</summary>
 public static unsafe void CmdEndVideoCoding(this KhrVideoQueue thisApi, [Count(Count = 0)] CommandBuffer commandBuffer, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <VideoEndCodingInfoKHR> pEndCodingInfo)
 {
     // SpanOverloader
     thisApi.CmdEndVideoCoding(commandBuffer, in pEndCodingInfo.GetPinnableReference());
 }
コード例 #5
0
 public static unsafe Result GetVideoSessionMemoryRequirements(this KhrVideoQueue thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] VideoSessionKHR videoSession, [Count(Count = 0)] Span <uint> pVideoSessionMemoryRequirementsCount, [Count(Parameter = "pVideoSessionMemoryRequirementsCount"), Flow(FlowDirection.Out)] Span <VideoGetMemoryPropertiesKHR> pVideoSessionMemoryRequirements)
 {
     // SpanOverloader
     return(thisApi.GetVideoSessionMemoryRequirements(device, videoSession, ref pVideoSessionMemoryRequirementsCount.GetPinnableReference(), out pVideoSessionMemoryRequirements.GetPinnableReference()));
 }
コード例 #6
0
 public static unsafe Result GetPhysicalDeviceVideoFormatProperties(this KhrVideoQueue thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <PhysicalDeviceVideoFormatInfoKHR> pVideoFormatInfo, [Count(Count = 0)] Span <uint> pVideoFormatPropertyCount, [Count(Parameter = "pVideoFormatPropertyCount"), Flow(FlowDirection.Out)] Span <VideoFormatPropertiesKHR> pVideoFormatProperties)
 {
     // SpanOverloader
     return(thisApi.GetPhysicalDeviceVideoFormatProperties(physicalDevice, in pVideoFormatInfo.GetPinnableReference(), ref pVideoFormatPropertyCount.GetPinnableReference(), out pVideoFormatProperties.GetPinnableReference()));
 }
コード例 #7
0
 /// <summary>To be documented.</summary>
 public static unsafe Result BindVideoSessionMemory(this KhrVideoQueue thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] VideoSessionKHR videoSession, [Count(Count = 0)] uint videoSessionBindMemoryCount, [Count(Parameter = "videoSessionBindMemoryCount"), Flow(FlowDirection.In)] ReadOnlySpan <VideoBindMemoryKHR> pVideoSessionBindMemories)
 {
     // SpanOverloader
     return(thisApi.BindVideoSessionMemory(device, videoSession, videoSessionBindMemoryCount, in pVideoSessionBindMemories.GetPinnableReference()));
 }
コード例 #8
0
 public static unsafe Result GetPhysicalDeviceVideoCapabilities(this KhrVideoQueue thisApi, [Count(Count = 0)] PhysicalDevice physicalDevice, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <VideoProfileKHR> pVideoProfile, [Count(Count = 0), Flow(FlowDirection.Out)] Span <VideoCapabilitiesKHR> pCapabilities)
 {
     // SpanOverloader
     return(thisApi.GetPhysicalDeviceVideoCapabilities(physicalDevice, in pVideoProfile.GetPinnableReference(), out pCapabilities.GetPinnableReference()));
 }
コード例 #9
0
 /// <summary>To be documented.</summary>
 public static unsafe void DestroyVideoSessionParameters(this KhrVideoQueue thisApi, [Count(Count = 0)] Device device, [Count(Count = 0)] VideoSessionParametersKHR videoSessionParameters, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <AllocationCallbacks> pAllocator)
 {
     // SpanOverloader
     thisApi.DestroyVideoSessionParameters(device, videoSessionParameters, in pAllocator.GetPinnableReference());
 }