[−][src]Enum gstreamer_video::VideoFormat
pub enum VideoFormat { Unknown, Encoded, I420, Yv12, Yuy2, Uyvy, Ayuv, Rgbx, Bgrx, Xrgb, Xbgr, Rgba, Bgra, Argb, Abgr, Rgb, Bgr, Y41b, Y42b, Yvyu, Y444, V210, V216, Nv12, Nv21, Gray8, Gray16Be, Gray16Le, V308, Rgb16, Bgr16, Rgb15, Bgr15, Uyvp, A420, Rgb8p, Yuv9, Yvu9, Iyu1, Argb64, Ayuv64, R210, I42010be, I42010le, I42210be, I42210le, Y44410be, Y44410le, Gbr, Gbr10be, Gbr10le, Nv16, Nv24, Nv1264z32, A42010be, A42010le, A42210be, A42210le, A44410be, A44410le, Nv61, P01010be, P01010le, Iyu2, Vyuy, Gbra, Gbra10be, Gbra10le, Gbr12be, Gbr12le, Gbra12be, Gbra12le, I42012be, I42012le, I42212be, I42212le, Y44412be, Y44412le, Gray10Le32, Nv1210le32, Nv1610le32, Nv1210le40, Y210, Y410, Vuya, Bgr10a2Le, // some variants omitted }
Enum value describing the most common video formats.
See the GStreamer raw video format design document for details about the layout and packing of these formats in memory.
Variants
Methods
impl VideoFormat
[src][−]
pub fn from_fourcc(fourcc: u32) -> VideoFormat
[src]
pub fn from_masks(
depth: u32,
bpp: u32,
endianness: VideoEndianness,
red_mask: u32,
blue_mask: u32,
green_mask: u32,
alpha_mask: u32
) -> VideoFormat
[src]
depth: u32,
bpp: u32,
endianness: VideoEndianness,
red_mask: u32,
blue_mask: u32,
green_mask: u32,
alpha_mask: u32
) -> VideoFormat
pub fn to_str<'a>(self) -> &'a str
[src]
Trait Implementations
impl Clone for VideoFormat
[src][+]
impl Copy for VideoFormat
[src]
impl Debug for VideoFormat
[src][+]
impl Display for VideoFormat
[src][+]
impl Eq for VideoFormat
[src]
impl From<VideoFormat> for VideoFormatInfo
[src][+]
impl FromStr for VideoFormat
[src][+]
impl<'a> FromValue<'a> for VideoFormat
[src][+]
impl<'a> FromValueOptional<'a> for VideoFormat
[src][+]
impl Hash for VideoFormat
[src][+]
impl Ord for VideoFormat
[src][+]
impl PartialEq<VideoFormat> for VideoFormat
[src][+]
impl PartialOrd<VideoFormat> for VideoFormat
[src][+]
impl SetValue for VideoFormat
[src][+]
impl StaticType for VideoFormat
[src][+]
impl StructuralEq for VideoFormat
[src]
impl StructuralPartialEq for VideoFormat
[src]
Auto Trait Implementations
impl RefUnwindSafe for VideoFormat
impl Send for VideoFormat
impl Sync for VideoFormat
impl Unpin for VideoFormat
impl UnwindSafe for VideoFormat
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<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
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> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?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>,