pub struct GlobalMotionParams {
pub is_global: [bool; 8],
pub is_rot_zoom: [bool; 8],
pub is_translation: [bool; 8],
pub gm_params: [[i32; 6]; 8],
pub warp_valid: [bool; 8],
pub gm_type: [WarpModelType; 8],
}
Fields§
§is_global: [bool; 8]
Specifies whether global motion parameters are present for a particular reference frame.
is_rot_zoom: [bool; 8]
Specifies whether a particular reference frame uses rotation and zoom global motion.
is_translation: [bool; 8]
Specifies whether a particular reference frame uses translation global motion.
gm_params: [[i32; 6]; 8]
gm_params[ ref ][ j ] is set equal to SavedGmParams[ frame_to_show_map_idx ][ ref ][ j ] for ref = LAST_FRAME..ALTREF_FRAME, for j = 0..5.
warp_valid: [bool; 8]
Whether the parameters are valid (see warpValid and section 7.11.3.6)
gm_type: [WarpModelType; 8]
Same as GmType.
Trait Implementations§
Source§impl Clone for GlobalMotionParams
impl Clone for GlobalMotionParams
Source§fn clone(&self) -> GlobalMotionParams
fn clone(&self) -> GlobalMotionParams
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 GlobalMotionParams
impl Debug for GlobalMotionParams
Source§impl Default for GlobalMotionParams
impl Default for GlobalMotionParams
Source§fn default() -> GlobalMotionParams
fn default() -> GlobalMotionParams
Returns the “default value” for a type. Read more
Source§impl PartialEq for GlobalMotionParams
impl PartialEq for GlobalMotionParams
impl Eq for GlobalMotionParams
impl StructuralPartialEq for GlobalMotionParams
Auto Trait Implementations§
impl Freeze for GlobalMotionParams
impl RefUnwindSafe for GlobalMotionParams
impl Send for GlobalMotionParams
impl Sync for GlobalMotionParams
impl Unpin for GlobalMotionParams
impl UnwindSafe for GlobalMotionParams
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