pub struct VideoDeviceCapabilities { /* private fields */ }Implementations§
Source§impl VideoDeviceCapabilities
impl VideoDeviceCapabilities
Sourcepub const fn decode_queue_family(self) -> Option<u32>
pub const fn decode_queue_family(self) -> Option<u32>
Return the first physical-device queue family advertising video decode.
Sourcepub const fn encode_queue_family(self) -> Option<u32>
pub const fn encode_queue_family(self) -> Option<u32>
Return the first physical-device queue family advertising video encode.
Sourcepub const fn supports_decode_result_status_queries(self) -> bool
pub const fn supports_decode_result_status_queries(self) -> bool
Return whether the selected video-decode queue supports operation-status queries.
Sourcepub const fn supports_encode_result_status_queries(self) -> bool
pub const fn supports_encode_result_status_queries(self) -> bool
Return whether the selected video-encode queue supports operation-status queries.
Sourcepub const fn supports_h264_decode(self) -> bool
pub const fn supports_h264_decode(self) -> bool
Return whether the physical device advertises H.264 decode.
Sourcepub const fn supports_h265_decode(self) -> bool
pub const fn supports_h265_decode(self) -> bool
Return whether the physical device advertises H.265 decode.
Sourcepub const fn supports_av1_decode(self) -> bool
pub const fn supports_av1_decode(self) -> bool
Return whether the physical device advertises AV1 decode.
Sourcepub const fn supports_vp9_decode(self) -> bool
pub const fn supports_vp9_decode(self) -> bool
Return whether the physical device advertises VP9 decode.
Sourcepub const fn supports_h264_encode(self) -> bool
pub const fn supports_h264_encode(self) -> bool
Return whether the physical device advertises H.264 encode.
Sourcepub const fn supports_h265_encode(self) -> bool
pub const fn supports_h265_encode(self) -> bool
Return whether the physical device advertises H.265 encode.
Sourcepub const fn supports_av1_encode(self) -> bool
pub const fn supports_av1_encode(self) -> bool
Return whether the physical device advertises AV1 encode.
Sourcepub const fn video_queues_enabled(self) -> bool
pub const fn video_queues_enabled(self) -> bool
Return whether the Runtime enabled the advertised Vulkan Video queue extensions.
Sourcepub const fn decoder_sessions_available(self) -> bool
pub const fn decoder_sessions_available(self) -> bool
Return whether this Runtime currently has an enabled decoder-session path.
Sourcepub const fn encoder_sessions_available(self) -> bool
pub const fn encoder_sessions_available(self) -> bool
Return whether this Runtime currently has an enabled encoder-session path.