Trait vulkanalia::vk::KhrVideoQueueExtension
source · pub trait KhrVideoQueueExtension: DeviceV1_0 {
const METADATA: Extension = KHR_VIDEO_QUEUE_EXTENSION;
// Provided methods
unsafe fn bind_video_session_memory_khr(
&self,
video_session: VideoSessionKHR,
bind_session_memory_infos: &[impl Cast<Target = BindVideoSessionMemoryInfoKHR>]
) -> VkResult<()> { ... }
unsafe fn cmd_begin_video_coding_khr(
&self,
command_buffer: CommandBuffer,
begin_info: &VideoBeginCodingInfoKHR
) { ... }
unsafe fn cmd_control_video_coding_khr(
&self,
command_buffer: CommandBuffer,
coding_control_info: &VideoCodingControlInfoKHR
) { ... }
unsafe fn cmd_end_video_coding_khr(
&self,
command_buffer: CommandBuffer,
end_coding_info: &VideoEndCodingInfoKHR
) { ... }
unsafe fn create_video_session_khr(
&self,
create_info: &VideoSessionCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<VideoSessionKHR> { ... }
unsafe fn create_video_session_parameters_khr(
&self,
create_info: &VideoSessionParametersCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<VideoSessionParametersKHR> { ... }
unsafe fn destroy_video_session_khr(
&self,
video_session: VideoSessionKHR,
allocator: Option<&AllocationCallbacks>
) { ... }
unsafe fn destroy_video_session_parameters_khr(
&self,
video_session_parameters: VideoSessionParametersKHR,
allocator: Option<&AllocationCallbacks>
) { ... }
unsafe fn get_physical_device_video_capabilities_khr(
&self,
physical_device: PhysicalDevice,
video_profile: &VideoProfileInfoKHR,
capabilities: &mut VideoCapabilitiesKHR
) -> VkResult<()> { ... }
unsafe fn get_physical_device_video_format_properties_khr(
&self,
physical_device: PhysicalDevice,
video_format_info: &PhysicalDeviceVideoFormatInfoKHR
) -> VkResult<Vec<VideoFormatPropertiesKHR>> { ... }
unsafe fn get_video_session_memory_requirements_khr(
&self,
video_session: VideoSessionKHR
) -> VkResult<Vec<VideoSessionMemoryRequirementsKHR>> { ... }
unsafe fn update_video_session_parameters_khr(
&self,
video_session_parameters: VideoSessionParametersKHR,
update_info: &VideoSessionParametersUpdateInfoKHR
) -> VkResult<()> { ... }
}
Expand description
Provided Associated Constants§
Provided Methods§
sourceunsafe fn bind_video_session_memory_khr(
&self,
video_session: VideoSessionKHR,
bind_session_memory_infos: &[impl Cast<Target = BindVideoSessionMemoryInfoKHR>]
) -> VkResult<()>
unsafe fn bind_video_session_memory_khr( &self, video_session: VideoSessionKHR, bind_session_memory_infos: &[impl Cast<Target = BindVideoSessionMemoryInfoKHR>] ) -> VkResult<()>
sourceunsafe fn cmd_begin_video_coding_khr(
&self,
command_buffer: CommandBuffer,
begin_info: &VideoBeginCodingInfoKHR
)
unsafe fn cmd_begin_video_coding_khr( &self, command_buffer: CommandBuffer, begin_info: &VideoBeginCodingInfoKHR )
sourceunsafe fn cmd_control_video_coding_khr(
&self,
command_buffer: CommandBuffer,
coding_control_info: &VideoCodingControlInfoKHR
)
unsafe fn cmd_control_video_coding_khr( &self, command_buffer: CommandBuffer, coding_control_info: &VideoCodingControlInfoKHR )
sourceunsafe fn cmd_end_video_coding_khr(
&self,
command_buffer: CommandBuffer,
end_coding_info: &VideoEndCodingInfoKHR
)
unsafe fn cmd_end_video_coding_khr( &self, command_buffer: CommandBuffer, end_coding_info: &VideoEndCodingInfoKHR )
sourceunsafe fn create_video_session_khr(
&self,
create_info: &VideoSessionCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<VideoSessionKHR>
unsafe fn create_video_session_khr( &self, create_info: &VideoSessionCreateInfoKHR, allocator: Option<&AllocationCallbacks> ) -> VkResult<VideoSessionKHR>
sourceunsafe fn create_video_session_parameters_khr(
&self,
create_info: &VideoSessionParametersCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<VideoSessionParametersKHR>
unsafe fn create_video_session_parameters_khr( &self, create_info: &VideoSessionParametersCreateInfoKHR, allocator: Option<&AllocationCallbacks> ) -> VkResult<VideoSessionParametersKHR>
sourceunsafe fn destroy_video_session_khr(
&self,
video_session: VideoSessionKHR,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_video_session_khr( &self, video_session: VideoSessionKHR, allocator: Option<&AllocationCallbacks> )
sourceunsafe fn destroy_video_session_parameters_khr(
&self,
video_session_parameters: VideoSessionParametersKHR,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_video_session_parameters_khr( &self, video_session_parameters: VideoSessionParametersKHR, allocator: Option<&AllocationCallbacks> )
sourceunsafe fn get_physical_device_video_capabilities_khr(
&self,
physical_device: PhysicalDevice,
video_profile: &VideoProfileInfoKHR,
capabilities: &mut VideoCapabilitiesKHR
) -> VkResult<()>
unsafe fn get_physical_device_video_capabilities_khr( &self, physical_device: PhysicalDevice, video_profile: &VideoProfileInfoKHR, capabilities: &mut VideoCapabilitiesKHR ) -> VkResult<()>
sourceunsafe fn get_physical_device_video_format_properties_khr(
&self,
physical_device: PhysicalDevice,
video_format_info: &PhysicalDeviceVideoFormatInfoKHR
) -> VkResult<Vec<VideoFormatPropertiesKHR>>
unsafe fn get_physical_device_video_format_properties_khr( &self, physical_device: PhysicalDevice, video_format_info: &PhysicalDeviceVideoFormatInfoKHR ) -> VkResult<Vec<VideoFormatPropertiesKHR>>
sourceunsafe fn get_video_session_memory_requirements_khr(
&self,
video_session: VideoSessionKHR
) -> VkResult<Vec<VideoSessionMemoryRequirementsKHR>>
unsafe fn get_video_session_memory_requirements_khr( &self, video_session: VideoSessionKHR ) -> VkResult<Vec<VideoSessionMemoryRequirementsKHR>>
sourceunsafe fn update_video_session_parameters_khr(
&self,
video_session_parameters: VideoSessionParametersKHR,
update_info: &VideoSessionParametersUpdateInfoKHR
) -> VkResult<()>
unsafe fn update_video_session_parameters_khr( &self, video_session_parameters: VideoSessionParametersKHR, update_info: &VideoSessionParametersUpdateInfoKHR ) -> VkResult<()>
Object Safety§
This trait is not object safe.