#[repr(C)]pub struct _LEAP_DISTORTION_MATRIX {
pub matrix: [[_LEAP_DISTORTION_MATRIX__bindgen_ty_1; 64]; 64],
}Expand description
\ingroup Structs A matrix containing lens distortion correction coordinates.
Each point in the grid contains the coordinates of the pixel in the image buffer that contains the data for the pixel in the undistorted image corresponding to that point in the grid. Interpolate between points in the matrix to correct image pixels that don’t fall directly underneath a point in the distortion grid.
Current devices use a 64x64 point distortion grid. @since 3.0.0
Fields§
§matrix: [[_LEAP_DISTORTION_MATRIX__bindgen_ty_1; 64]; 64]A grid of 2D points. @since 3.0.0
Trait Implementations§
Source§impl Clone for _LEAP_DISTORTION_MATRIX
impl Clone for _LEAP_DISTORTION_MATRIX
Source§fn clone(&self) -> _LEAP_DISTORTION_MATRIX
fn clone(&self) -> _LEAP_DISTORTION_MATRIX
Returns a duplicate 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 _LEAP_DISTORTION_MATRIX
impl Debug for _LEAP_DISTORTION_MATRIX
impl Copy for _LEAP_DISTORTION_MATRIX
Auto Trait Implementations§
impl Freeze for _LEAP_DISTORTION_MATRIX
impl RefUnwindSafe for _LEAP_DISTORTION_MATRIX
impl Send for _LEAP_DISTORTION_MATRIX
impl Sync for _LEAP_DISTORTION_MATRIX
impl Unpin for _LEAP_DISTORTION_MATRIX
impl UnwindSafe for _LEAP_DISTORTION_MATRIX
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