[][src]Struct gstreamer_video::VideoFormatInfo

pub struct VideoFormatInfo(_);

Implementations

impl VideoFormatInfo[src]

pub fn from_format(format: VideoFormat) -> VideoFormatInfo[src]

pub fn format(&self) -> VideoFormat[src]

pub fn name<'a>(&self) -> &'a str[src]

pub fn description<'a>(&self) -> &'a str[src]

pub fn flags(&self) -> VideoFormatFlags[src]

pub fn bits(&self) -> u32[src]

pub fn n_components(&self) -> u32[src]

pub fn shift(&self) -> &[u32][src]

pub fn depth(&self) -> &[u32][src]

pub fn pixel_stride(&self) -> &[i32][src]

pub fn n_planes(&self) -> u32[src]

pub fn plane(&self) -> &[u32][src]

pub fn poffset(&self) -> &[u32][src]

pub fn w_sub(&self) -> &[u32][src]

pub fn h_sub(&self) -> &[u32][src]

pub fn tile_mode(&self) -> VideoTileMode[src]

pub fn tile_ws(&self) -> u32[src]

pub fn tile_hs(&self) -> u32[src]

pub fn unpack_format(&self) -> VideoFormat[src]

pub fn pack_lines(&self) -> i32[src]

pub fn has_alpha(&self) -> bool[src]

pub fn has_palette(&self) -> bool[src]

pub fn is_complex(&self) -> bool[src]

pub fn is_gray(&self) -> bool[src]

pub fn is_le(&self) -> bool[src]

pub fn is_rgb(&self) -> bool[src]

pub fn is_tiled(&self) -> bool[src]

pub fn is_yuv(&self) -> bool[src]

pub fn scale_width(&self, component: u8, width: u32) -> u32[src]

pub fn scale_height(&self, component: u8, height: u32) -> u32[src]

pub fn unpack(
    &self,
    flags: VideoPackFlags,
    dest: &mut [u8],
    src: &[&[u8]],
    stride: &[i32],
    x: i32,
    y: i32,
    width: i32
)
[src]

pub fn pack(
    &self,
    flags: VideoPackFlags,
    src: &[u8],
    src_stride: i32,
    dest: &mut [&mut [u8]],
    dest_stride: &[i32],
    chroma_site: VideoChromaSite,
    y: i32,
    width: i32
)
[src]

Trait Implementations

impl Debug for VideoFormatInfo[src]

impl Display for VideoFormatInfo[src]

impl Eq for VideoFormatInfo[src]

impl From<VideoFormat> for VideoFormatInfo[src]

impl FromStr for VideoFormatInfo[src]

type Err = BoolError

The associated error which can be returned from parsing.

impl Ord for VideoFormatInfo[src]

impl PartialEq<VideoFormatInfo> for VideoFormatInfo[src]

impl PartialOrd<VideoFormatInfo> for VideoFormatInfo[src]

impl Send for VideoFormatInfo[src]

impl Sync for VideoFormatInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for VideoFormatInfo

impl Unpin for VideoFormatInfo

impl UnwindSafe for VideoFormatInfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.