Struct pipewire_wrapper::spa::pod::object::format::VideoFormat
source · #[repr(transparent)]pub struct VideoFormat { /* private fields */ }
Implementations§
source§impl VideoFormat
impl VideoFormat
pub const UNKNOWN: VideoFormat = _
pub const ENCODED: VideoFormat = _
pub const I420: VideoFormat = _
pub const YV12: VideoFormat = _
pub const YUY2: VideoFormat = _
pub const UYVY: VideoFormat = _
pub const AYUV: VideoFormat = _
pub const RGBX: VideoFormat = _
pub const BGRX: VideoFormat = _
pub const XRGB: VideoFormat = _
pub const XBGR: VideoFormat = _
pub const RGBA: VideoFormat = _
pub const BGRA: VideoFormat = _
pub const ARGB: VideoFormat = _
pub const ABGR: VideoFormat = _
pub const RGB: VideoFormat = _
pub const BGR: VideoFormat = _
pub const Y41B: VideoFormat = _
pub const Y42B: VideoFormat = _
pub const YVYU: VideoFormat = _
pub const Y444: VideoFormat = _
pub const V210: VideoFormat = _
pub const V216: VideoFormat = _
pub const NV12: VideoFormat = _
pub const NV21: VideoFormat = _
pub const GRAY8: VideoFormat = _
pub const GRAY16_BE: VideoFormat = _
pub const GRAY16_LE: VideoFormat = _
pub const V308: VideoFormat = _
pub const RGB16: VideoFormat = _
pub const BGR16: VideoFormat = _
pub const RGB15: VideoFormat = _
pub const BGR15: VideoFormat = _
pub const UYVP: VideoFormat = _
pub const A420: VideoFormat = _
pub const RGB8P: VideoFormat = _
pub const YUV9: VideoFormat = _
pub const YVU9: VideoFormat = _
pub const IYU1: VideoFormat = _
pub const ARGB64: VideoFormat = _
pub const AYUV64: VideoFormat = _
pub const R210: VideoFormat = _
pub const I420_10BE: VideoFormat = _
pub const I420_10LE: VideoFormat = _
pub const I422_10BE: VideoFormat = _
pub const I422_10LE: VideoFormat = _
pub const Y444_10BE: VideoFormat = _
pub const Y444_10LE: VideoFormat = _
pub const GBR: VideoFormat = _
pub const GBR_10BE: VideoFormat = _
pub const GBR_10LE: VideoFormat = _
pub const NV16: VideoFormat = _
pub const NV24: VideoFormat = _
pub const NV12_64Z32: VideoFormat = _
pub const A420_10BE: VideoFormat = _
pub const A420_10LE: VideoFormat = _
pub const A422_10BE: VideoFormat = _
pub const A422_10LE: VideoFormat = _
pub const A444_10BE: VideoFormat = _
pub const A444_10LE: VideoFormat = _
pub const NV61: VideoFormat = _
pub const P010_10BE: VideoFormat = _
pub const P010_10LE: VideoFormat = _
pub const IYU2: VideoFormat = _
pub const VYUY: VideoFormat = _
pub const GBRA: VideoFormat = _
pub const GBRA_10BE: VideoFormat = _
pub const GBRA_10LE: VideoFormat = _
pub const GBR_12BE: VideoFormat = _
pub const GBR_12LE: VideoFormat = _
pub const GBRA_12BE: VideoFormat = _
pub const GBRA_12LE: VideoFormat = _
pub const I420_12BE: VideoFormat = _
pub const I420_12LE: VideoFormat = _
pub const I422_12BE: VideoFormat = _
pub const I422_12LE: VideoFormat = _
pub const Y444_12BE: VideoFormat = _
pub const Y444_12LE: VideoFormat = _
pub const RGBA_F16: VideoFormat = _
pub const RGBA_F32: VideoFormat = _
pub const XRGB_210LE: VideoFormat = _
pub const XBGR_210LE: VideoFormat = _
pub const RGBX_102LE: VideoFormat = _
pub const BGRX_102LE: VideoFormat = _
pub const ARGB_210LE: VideoFormat = _
pub const ABGR_210LE: VideoFormat = _
pub const RGBA_102LE: VideoFormat = _
pub const BGRA_102LE: VideoFormat = _
pub const DSP_F32: VideoFormat = _
Trait Implementations§
source§impl Clone for VideoFormat
impl Clone for VideoFormat
source§fn clone(&self) -> VideoFormat
fn clone(&self) -> VideoFormat
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 VideoFormat
impl Debug for VideoFormat
source§impl From<VideoFormat> for spa_video_format
impl From<VideoFormat> for spa_video_format
source§fn from(value: VideoFormat) -> Self
fn from(value: VideoFormat) -> Self
Converts to this type from the input type.
source§impl From<u32> for VideoFormat
impl From<u32> for VideoFormat
source§fn from(value: spa_video_format) -> Self
fn from(value: spa_video_format) -> Self
Converts to this type from the input type.
source§impl PartialEq<VideoFormat> for VideoFormat
impl PartialEq<VideoFormat> for VideoFormat
source§fn eq(&self, other: &VideoFormat) -> bool
fn eq(&self, other: &VideoFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PodIdType for VideoFormat
impl PodIdType for VideoFormat
fn to_alloc_pod(&self) -> AllocPod<PodIdRef<Self>>
source§impl RawWrapper for VideoFormat
impl RawWrapper for VideoFormat
source§fn as_raw_ptr(&self) -> *mut Self::CType
fn as_raw_ptr(&self) -> *mut Self::CType
Raw ptr to the external type
source§fn from_raw(raw: Self::CType) -> Self
fn from_raw(raw: Self::CType) -> Self
Creates wrapper from the external value, can be use when external type has no raw pointers.
source§unsafe fn mut_from_raw_ptr<'lft>(raw: *mut Self::CType) -> &'lft mut Self
unsafe fn mut_from_raw_ptr<'lft>(raw: *mut Self::CType) -> &'lft mut Self
Cast external pointer to the borrowed mutable wrapper.
Panic when pointer is null.
Lifetime is not reliable and should be guaranteed explicitly. Read more
impl Copy for VideoFormat
impl Eq for VideoFormat
impl StructuralEq for VideoFormat
impl StructuralPartialEq for VideoFormat
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§
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