[−]Struct gstreamer_pbutils::DiscovererVideoInfo
DiscovererStreamInfo
specific to video streams (this includes images).
Implements
Methods
impl DiscovererVideoInfo
[src][−]
pub fn get_bitrate(&self) -> u32
[src][−]
Returns
the average or nominal bitrate of the video stream in bits/second.
pub fn get_depth(&self) -> u32
[src][−]
Returns
the depth in bits of the video stream.
pub fn get_height(&self) -> u32
[src][−]
Returns
the height of the video stream in pixels.
pub fn get_max_bitrate(&self) -> u32
[src][−]
Returns
the maximum bitrate of the video stream in bits/second.
pub fn get_width(&self) -> u32
[src][−]
Returns
the width of the video stream in pixels.
pub fn is_image(&self) -> bool
[src][−]
Returns
true
if the video stream corresponds to an image (i.e. only contains
one frame).
pub fn is_interlaced(&self) -> bool
[src][−]
Returns
true
if the stream is interlaced, else false
.
impl DiscovererVideoInfo
[src][−]
Trait Implementations
impl Clone for DiscovererVideoInfo
[+]
impl Debug for DiscovererVideoInfo
[+]
impl Eq for DiscovererVideoInfo
impl Hash for DiscovererVideoInfo
[+]
impl IsA<DiscovererStreamInfo> for DiscovererVideoInfo
impl Ord for DiscovererVideoInfo
[+]
impl<T: ObjectType> PartialEq<T> for DiscovererVideoInfo
[+]
impl<T: ObjectType> PartialOrd<T> for DiscovererVideoInfo
[+]
impl Send for DiscovererVideoInfo
[src]
impl StaticType for DiscovererVideoInfo
[+]
impl Sync for DiscovererVideoInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for DiscovererVideoInfo
impl Unpin for DiscovererVideoInfo
impl UnwindSafe for DiscovererVideoInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<Super, Sub> CanDowncast<Sub> for Super where
Sub: IsA<Super>,
Super: IsA<Super>,
[src]
Sub: IsA<Super>,
Super: IsA<Super>,
impl<T> Cast for T where
T: ObjectType,
[src][+]
T: ObjectType,
impl<T> From<T> for T
[src][+]
impl<O> GObjectExtManualGst for O where
O: IsA<Object>,
[src][+]
O: IsA<Object>,
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ObjectExt for T where
T: ObjectType,
[src][+]
T: ObjectType,
impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src][+]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src][+]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src][+]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src][+]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src][+]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src][+]
T: ToValue + SetValue + Send + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src][+]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,