#[repr(C)]
pub struct spa_video_info_raw {
Show 16 fields pub format: spa_video_format, pub flags: u32, pub modifier: u64, pub size: spa_rectangle, pub framerate: spa_fraction, pub max_framerate: spa_fraction, pub views: u32, pub interlace_mode: spa_video_interlace_mode, pub pixel_aspect_ratio: spa_fraction, pub multiview_mode: spa_video_multiview_mode, pub multiview_flags: spa_video_multiview_flags, pub chroma_site: spa_video_chroma_site, pub color_range: spa_video_color_range, pub color_matrix: spa_video_color_matrix, pub transfer_function: spa_video_transfer_function, pub color_primaries: spa_video_color_primaries,
}

Fields§

§format: spa_video_format

< the format

§flags: u32

< extra video flags

§modifier: u64

< format modifier only used with DMA-BUF

§size: spa_rectangle

< the frame size of the video

§framerate: spa_fraction

< the framerate of the video, 0/1 means variable rate

§max_framerate: spa_fraction

< the maximum framerate of the video. This is only valid when \ref framerate is 0/1

§views: u32

< the number of views in this video

§interlace_mode: spa_video_interlace_mode

< the interlace mode

§pixel_aspect_ratio: spa_fraction

< the pixel aspect ratio

§multiview_mode: spa_video_multiview_mode

< multiview mode

§multiview_flags: spa_video_multiview_flags

< multiview flags

§chroma_site: spa_video_chroma_site

< the chroma siting

§color_range: spa_video_color_range

< the color range. This is the valid range for the samples. It is used to convert the samples to Y’PbPr values.

§color_matrix: spa_video_color_matrix

< the color matrix. Used to convert between Y’PbPr and non-linear RGB (R’G’B’)

§transfer_function: spa_video_transfer_function

< the transfer function. used to convert between R’G’B’ and RGB

§color_primaries: spa_video_color_primaries

< color primaries. used to convert between R’G’B’ and CIE XYZ

Trait Implementations§

source§

impl Clone for spa_video_info_raw

source§

fn clone(&self) -> spa_video_info_raw

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for spa_video_info_raw

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<spa_video_info_raw> for spa_video_info_raw

source§

fn eq(&self, other: &spa_video_info_raw) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for spa_video_info_raw

source§

impl Eq for spa_video_info_raw

source§

impl StructuralEq for spa_video_info_raw

source§

impl StructuralPartialEq for spa_video_info_raw

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.