#[repr(C)]pub struct AVStereo3D {
pub type_: AVStereo3DType,
pub flags: c_int,
pub view: AVStereo3DView,
pub primary_eye: AVStereo3DPrimaryEye,
pub baseline: u32,
pub horizontal_disparity_adjustment: AVRational,
pub horizontal_field_of_view: AVRational,
}展开描述
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_: AVStereo3DTypeHow views are packed within the video.
flags: c_intAdditional information about the frame packing.
view: AVStereo3DViewDetermines which views are packed.
primary_eye: AVStereo3DPrimaryEyeWhich eye is the primary eye when rendering in 2D.
baseline: u32The distance between the centres of the lenses of the camera system, in micrometers. Zero if unset.
horizontal_disparity_adjustment: AVRationalRelative 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: AVRationalHorizontal field of view, in degrees. Zero if unset.
trait 实现§
源代码§impl Clone for AVStereo3D
impl Clone for AVStereo3D
源代码§fn clone(&self) -> AVStereo3D
fn clone(&self) -> AVStereo3D
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行拷贝赋值。 阅读更多源代码§impl PartialEq for AVStereo3D
impl PartialEq for AVStereo3D
impl Copy for AVStereo3D
impl Eq for AVStereo3D
impl StructuralPartialEq for AVStereo3D
自动 trait 实现§
impl Freeze for AVStereo3D
impl RefUnwindSafe for AVStereo3D
impl Send for AVStereo3D
impl Sync for AVStereo3D
impl Unpin for AVStereo3D
impl UnsafeUnpin for AVStereo3D
impl UnwindSafe for AVStereo3D
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多