pub struct VendorHdmiBlock {Show 22 fields
pub source_phys_addr: u16,
pub supports_ai: bool,
pub supports_dc_48bit: bool,
pub supports_dc_36bit: bool,
pub supports_dc_30bit: bool,
pub supports_dc_y444: bool,
pub supports_dvi_dual: bool,
pub max_tmds_clock: c_int,
pub supports_content_graphics: bool,
pub supports_content_photo: bool,
pub supports_content_cinema: bool,
pub supports_content_game: bool,
pub has_latency: bool,
pub has_interlaced_latency: bool,
pub supports_progressive_video: bool,
pub supports_progressive_audio: bool,
pub supports_interlaced_video: bool,
pub supports_interlaced_audio: bool,
pub progressive_video_latency: c_int,
pub progressive_audio_latency: c_int,
pub interlaced_video_latency: c_int,
pub interlaced_audio_latency: c_int,
}Available on crate feature
v0_3 only.Expand description
HDMI vendor-specific data block.
This block is defined in HDMI 1.4b section 8.3.2.
Fields§
§source_phys_addr: u16§supports_ai: bool§supports_dc_48bit: bool§supports_dc_36bit: bool§supports_dc_30bit: bool§supports_dc_y444: bool§supports_dvi_dual: bool§max_tmds_clock: c_int§supports_content_graphics: bool§supports_content_photo: bool§supports_content_cinema: bool§supports_content_game: bool§has_latency: boolIf !has_latency and !has_interlaced_latency, we have no latency information at all.
If only has_latency, video/audio latency fields are valid and should be used for both progressive and interlaced video/audio formats.
If both are valid, it means that video_latency and audio_latency should be used for progressive video/audio formats, and their interlaced counterpart for interlaced formats.
has_interlaced_latency: bool§supports_progressive_video: bool§supports_progressive_audio: bool§supports_interlaced_video: bool§supports_interlaced_audio: bool§progressive_video_latency: c_int§progressive_audio_latency: c_int§interlaced_video_latency: c_int§interlaced_audio_latency: c_intTrait Implementations§
Source§impl Clone for VendorHdmiBlock
impl Clone for VendorHdmiBlock
Source§fn clone(&self) -> VendorHdmiBlock
fn clone(&self) -> VendorHdmiBlock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VendorHdmiBlock
impl Debug for VendorHdmiBlock
Source§impl From<di_cta_vendor_hdmi_block> for VendorHdmiBlock
impl From<di_cta_vendor_hdmi_block> for VendorHdmiBlock
Source§fn from(value: di_cta_vendor_hdmi_block) -> VendorHdmiBlock
fn from(value: di_cta_vendor_hdmi_block) -> VendorHdmiBlock
Converts to this type from the input type.
impl Copy for VendorHdmiBlock
Auto Trait Implementations§
impl Freeze for VendorHdmiBlock
impl RefUnwindSafe for VendorHdmiBlock
impl Send for VendorHdmiBlock
impl Sync for VendorHdmiBlock
impl Unpin for VendorHdmiBlock
impl UnwindSafe for VendorHdmiBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more