oa::video::VideoDeviceCapabilities

Hardware video queue and codec-extension capabilities for the Engine’s device. Hardware advertisement is distinct from OA session availability. The Engine creation enables advertised video queue/codec extensions, while Session availability is narrower than hardware advertisement: it becomes true only when OA has enabled and qualified at least one corresponding path.

StRust public API

Declaration

pub struct VideoDeviceCapabilities { /* private fields */ }
Public Rust declaration.

Public Methods

pub const fn decode_queue_family(self) -> Option<u32>
pub const fn encode_queue_family(self) -> Option<u32>
pub const fn supports_decode_result_status_queries(self) -> bool
pub const fn supports_encode_result_status_queries(self) -> bool
pub const fn supports_h264_decode(self) -> bool
pub const fn supports_h265_decode(self) -> bool
pub const fn supports_av1_decode(self) -> bool
pub const fn supports_vp9_decode(self) -> bool
pub const fn supports_h264_encode(self) -> bool
pub const fn supports_h265_encode(self) -> bool
pub const fn supports_av1_encode(self) -> bool
pub const fn video_queues_enabled(self) -> bool
pub const fn decoder_sessions_available(self) -> bool
pub const fn encoder_sessions_available(self) -> bool
fn clone(&self) -> VideoDeviceCapabilities
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &VideoDeviceCapabilities) -> bool

Public Method Documentation

pub const fn decode_queue_family( self ) -> Option<u32>
No public source comment is attached to this declaration.
pub const fn encode_queue_family( self ) -> Option<u32>
No public source comment is attached to this declaration.
pub const fn supports_decode_result_status_queries( self ) -> bool
No public source comment is attached to this declaration.
pub const fn supports_encode_result_status_queries( self ) -> bool
No public source comment is attached to this declaration.
pub const fn supports_h264_decode( self ) -> bool
No public source comment is attached to this declaration.
pub const fn supports_h265_decode( self ) -> bool
No public source comment is attached to this declaration.
pub const fn supports_av1_decode( self ) -> bool
No public source comment is attached to this declaration.
pub const fn supports_vp9_decode( self ) -> bool
No public source comment is attached to this declaration.
pub const fn supports_h264_encode( self ) -> bool
No public source comment is attached to this declaration.
pub const fn supports_h265_encode( self ) -> bool
No public source comment is attached to this declaration.
pub const fn supports_av1_encode( self ) -> bool
No public source comment is attached to this declaration.
pub const fn video_queues_enabled( self ) -> bool
No public source comment is attached to this declaration.
pub const fn decoder_sessions_available( self ) -> bool
No public source comment is attached to this declaration.
pub const fn encoder_sessions_available( self ) -> bool
No public source comment is attached to this declaration.
fn clone( &self ) -> VideoDeviceCapabilities
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &VideoDeviceCapabilities ) -> bool
No public source comment is attached to this declaration.