Struct AVStereo3D
#[repr(C)]pub struct AVStereo3D {
pub type_: u32,
pub flags: i32,
pub view: u32,
pub primary_eye: u32,
pub baseline: u32,
pub horizontal_disparity_adjustment: AVRational,
pub horizontal_field_of_view: AVRational,
}
Expand description
Stereo 3D type: this structure describes how two videos are packed within a single video surface, with additional information as needed.
@note The struct must be allocated with av_stereo3d_alloc() and its size is not a part of the public ABI.
Fields§
§type_: u32
How views are packed within the video.
flags: i32
Additional information about the frame packing.
view: u32
Determines which views are packed.
primary_eye: u32
Which eye is the primary eye when rendering in 2D.
baseline: u32
The distance between the centres of the lenses of the camera system, in micrometers. Zero if unset.
horizontal_disparity_adjustment: AVRational
Relative shift of the left and right images, which changes the zero parallax plane. Range is -1.0 to 1.0. Zero if unset.
horizontal_field_of_view: AVRational
Horizontal field of view, in degrees. Zero if unset.
Trait Implementations§
§impl Clone for AVStereo3D
impl Clone for AVStereo3D
§fn clone(&self) -> AVStereo3D
fn clone(&self) -> AVStereo3D
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 more§impl Debug for AVStereo3D
impl Debug for AVStereo3D
impl Copy for AVStereo3D
Auto Trait Implementations§
impl Freeze for AVStereo3D
impl RefUnwindSafe for AVStereo3D
impl Send for AVStereo3D
impl Sync for AVStereo3D
impl Unpin for AVStereo3D
impl UnwindSafe for AVStereo3D
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