[−][src]Enum gstreamer_video::VideoMultiviewFramePacking
VideoMultiviewFramePacking
represents the subset of VideoMultiviewMode
values that can be applied to any video frame without needing extra metadata.
It can be used by elements that provide a property to override the
multiview interpretation of a video stream when the video doesn't contain
any markers.
This enum is used (for example) on playbin, to re-interpret a played
video stream as a stereoscopic video. The individual enum values are
equivalent to and have the same value as the matching VideoMultiviewMode
.
Variants (Non-exhaustive)
A special value indicating no frame packing info.
All frames are monoscopic.
All frames represent a left-eye view.
All frames represent a right-eye view.
Left and right eye views are provided in the left and right half of the frame respectively.
Left and right eye views are provided in the left and right half of the frame, but have been sampled using quincunx method, with half-pixel offset between the 2 views.
Alternating vertical columns of pixels represent the left and right eye view respectively.
Alternating horizontal rows of pixels represent the left and right eye view respectively.
The top half of the frame contains the left eye, and the bottom half the right eye.
Pixels are arranged with alternating pixels representing left and right eye views in a checkerboard fashion.
Trait Implementations
impl Clone for VideoMultiviewFramePacking
[src]
fn clone(&self) -> VideoMultiviewFramePacking
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for VideoMultiviewFramePacking
[src]
impl Debug for VideoMultiviewFramePacking
[src]
impl Eq for VideoMultiviewFramePacking
[src]
impl From<VideoMultiviewFramePacking> for VideoMultiviewMode
[src]
fn from(v: VideoMultiviewFramePacking) -> Self
[src]
impl<'a> FromValue<'a> for VideoMultiviewFramePacking
[src]
unsafe fn from_value(value: &Value) -> Self
[src]
impl<'a> FromValueOptional<'a> for VideoMultiviewFramePacking
[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
impl Hash for VideoMultiviewFramePacking
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for VideoMultiviewFramePacking
[src]
fn cmp(&self, other: &VideoMultiviewFramePacking) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<VideoMultiviewFramePacking> for VideoMultiviewFramePacking
[src]
fn eq(&self, other: &VideoMultiviewFramePacking) -> bool
[src]
fn ne(&self, other: &VideoMultiviewFramePacking) -> bool
[src]
impl PartialOrd<VideoMultiviewFramePacking> for VideoMultiviewFramePacking
[src]
fn partial_cmp(&self, other: &VideoMultiviewFramePacking) -> Option<Ordering>
[src]
fn lt(&self, other: &VideoMultiviewFramePacking) -> bool
[src]
fn le(&self, other: &VideoMultiviewFramePacking) -> bool
[src]
fn gt(&self, other: &VideoMultiviewFramePacking) -> bool
[src]
fn ge(&self, other: &VideoMultiviewFramePacking) -> bool
[src]
impl SetValue for VideoMultiviewFramePacking
[src]
impl StaticType for VideoMultiviewFramePacking
[src]
fn static_type() -> Type
[src]
impl StructuralEq for VideoMultiviewFramePacking
[src]
impl StructuralPartialEq for VideoMultiviewFramePacking
[src]
impl TryFrom<VideoMultiviewMode> for VideoMultiviewFramePacking
[src]
type Error = BoolError
The type returned in the event of a conversion error.
fn try_from(
v: VideoMultiviewMode
) -> Result<VideoMultiviewFramePacking, BoolError>
[src]
v: VideoMultiviewMode
) -> Result<VideoMultiviewFramePacking, BoolError>
Auto Trait Implementations
impl RefUnwindSafe for VideoMultiviewFramePacking
impl Send for VideoMultiviewFramePacking
impl Sync for VideoMultiviewFramePacking
impl Unpin for VideoMultiviewFramePacking
impl UnwindSafe for VideoMultiviewFramePacking
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,
fn borrow_mut(&mut self) -> &mut T
[src]
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,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src]
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&self) -> SendValue
[src]
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>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,