Struct gstreamer_video::VideoInfoDmaDrm
source · pub struct VideoInfoDmaDrm(/* private fields */);
Available on crate feature
v1_24
only.Implementations§
source§impl VideoInfoDmaDrm
impl VideoInfoDmaDrm
pub fn new(info: VideoInfo, fourcc: u32, modifier: u64) -> VideoInfoDmaDrm
pub fn is_valid(&self) -> bool
pub fn from_caps(caps: &CapsRef) -> Result<Self, BoolError>
pub fn to_caps(&self) -> Result<Caps, BoolError>
pub fn from_video_info( video_info: &VideoInfo, modifier: u64 ) -> Result<Self, BoolError>
pub fn to_video_info(&self) -> Result<VideoInfo, BoolError>
pub fn fourcc(&self) -> u32
pub fn modifier(&self) -> u64
Methods from Deref<Target = VideoInfo>§
pub fn is_valid(&self) -> bool
pub fn to_caps(&self) -> Result<Caps, BoolError>
pub fn format(&self) -> VideoFormat
pub fn format_info(&self) -> VideoFormatInfo
pub fn name<'a>(&self) -> &'a str
pub fn width(&self) -> u32
pub fn height(&self) -> u32
pub fn field_height(&self) -> u32
Available on crate feature
v1_16
only.pub fn interlace_mode(&self) -> VideoInterlaceMode
pub fn flags(&self) -> VideoFlags
pub fn size(&self) -> usize
pub fn views(&self) -> u32
pub fn chroma_site(&self) -> VideoChromaSite
pub fn colorimetry(&self) -> VideoColorimetry
pub fn comp_depth(&self, component: u8) -> u32
pub fn comp_height(&self, component: u8) -> u32
pub fn comp_width(&self, component: u8) -> u32
pub fn comp_offset(&self, component: u8) -> usize
pub fn comp_plane(&self, component: u8) -> u32
pub fn comp_poffset(&self, component: u8) -> u32
pub fn comp_pstride(&self, component: u8) -> i32
pub fn comp_stride(&self, component: u8) -> i32
pub fn par(&self) -> Fraction
pub fn fps(&self) -> Fraction
pub fn field_rate(&self) -> Fraction
Available on crate feature
v1_16
only.pub fn offset(&self) -> &[usize]
pub fn stride(&self) -> &[i32]
pub fn multiview_mode(&self) -> VideoMultiviewMode
pub fn multiview_flags(&self) -> VideoMultiviewFlags
pub fn field_order(&self) -> VideoFieldOrder
pub fn has_alpha(&self) -> bool
pub fn is_gray(&self) -> bool
pub fn is_rgb(&self) -> bool
pub fn is_yuv(&self) -> bool
pub fn is_interlaced(&self) -> bool
pub fn n_planes(&self) -> u32
pub fn n_components(&self) -> u32
pub fn convert<U: SpecificFormattedValueFullRange>( &self, src_val: impl FormattedValue ) -> Option<U>
pub fn convert_generic( &self, src_val: impl FormattedValue, dest_fmt: Format ) -> Option<GenericFormattedValue>
pub fn range_offsets(&self, range: VideoColorRange) -> ([i32; 4], [i32; 4])
Trait Implementations§
source§impl Clone for VideoInfoDmaDrm
impl Clone for VideoInfoDmaDrm
source§fn clone(&self) -> VideoInfoDmaDrm
fn clone(&self) -> VideoInfoDmaDrm
Returns a copy 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 VideoInfoDmaDrm
impl Debug for VideoInfoDmaDrm
source§impl Deref for VideoInfoDmaDrm
impl Deref for VideoInfoDmaDrm
source§impl PartialEq for VideoInfoDmaDrm
impl PartialEq for VideoInfoDmaDrm
source§impl StaticType for VideoInfoDmaDrm
impl StaticType for VideoInfoDmaDrm
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl ValueType for VideoInfoDmaDrm
impl ValueType for VideoInfoDmaDrm
§type Type = VideoInfoDmaDrm
type Type = VideoInfoDmaDrm
Type to get the
Type
from. Read moreimpl Eq for VideoInfoDmaDrm
impl Send for VideoInfoDmaDrm
impl Sync for VideoInfoDmaDrm
Auto Trait Implementations§
impl Freeze for VideoInfoDmaDrm
impl RefUnwindSafe for VideoInfoDmaDrm
impl Unpin for VideoInfoDmaDrm
impl UnwindSafe for VideoInfoDmaDrm
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
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.