[−][src]Struct rav1e::prelude::PlaneConfig
Plane-specific configuration.
Fields
stride: usize
Data stride.
alloc_height: usize
Allocated height in pixels.
width: usize
Width in pixels.
height: usize
Height in pixels.
xdec: usize
Decimator along the X axis.
For example, for chroma planes in a 4:2:0 configuration this would be 1.
ydec: usize
Decimator along the Y axis.
For example, for chroma planes in a 4:2:0 configuration this would be 1.
xpad: usize
Number of padding pixels on the right.
ypad: usize
Number of padding pixels on the bottom.
xorigin: usize
X where the data starts.
yorigin: usize
Y where the data starts.
Implementations
impl PlaneConfig
[src]
pub fn new(
width: usize,
height: usize,
xdec: usize,
ydec: usize,
xpad: usize,
ypad: usize,
type_size: usize
) -> Self
[src]
width: usize,
height: usize,
xdec: usize,
ydec: usize,
xpad: usize,
ypad: usize,
type_size: usize
) -> Self
Trait Implementations
impl Clone for PlaneConfig
[src]
pub fn clone(&self) -> PlaneConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PlaneConfig
[src]
impl Eq for PlaneConfig
[src]
impl PartialEq<PlaneConfig> for PlaneConfig
[src]
pub fn eq(&self, other: &PlaneConfig) -> bool
[src]
pub fn ne(&self, other: &PlaneConfig) -> bool
[src]
impl StructuralEq for PlaneConfig
[src]
impl StructuralPartialEq for PlaneConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for PlaneConfig
[src]
impl Send for PlaneConfig
[src]
impl Sync for PlaneConfig
[src]
impl Unpin for PlaneConfig
[src]
impl UnwindSafe for PlaneConfig
[src]
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,
pub 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> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,