Struct vapoursynth4_sys::VSVideoFormat
source · #[repr(C)]pub struct VSVideoFormat {
pub colorFamily: VSColorFamily,
pub sampleType: VSSampleType,
pub bitsPerSample: c_int,
pub bytesPerSample: c_int,
pub subSamplingW: c_int,
pub subSamplingH: c_int,
pub numPlanes: c_int,
}Fields§
§colorFamily: VSColorFamily§sampleType: VSSampleType§bitsPerSample: c_intnumber of significant bits
bytesPerSample: c_intactual storage is always in a power of 2 and the smallest possible that can fit the number of bits used per sample
subSamplingW: c_intlog2 subsampling factor, applied to second and third plane
subSamplingH: c_intlog2 subsampling factor, applied to second and third plane
numPlanes: c_intimplicit from colorFamily
Trait Implementations§
source§impl Clone for VSVideoFormat
impl Clone for VSVideoFormat
source§fn clone(&self) -> VSVideoFormat
fn clone(&self) -> VSVideoFormat
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 VSVideoFormat
impl Debug for VSVideoFormat
source§impl Hash for VSVideoFormat
impl Hash for VSVideoFormat
source§impl PartialEq<VSVideoFormat> for VSVideoFormat
impl PartialEq<VSVideoFormat> for VSVideoFormat
source§fn eq(&self, other: &VSVideoFormat) -> bool
fn eq(&self, other: &VSVideoFormat) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for VSVideoFormat
impl StructuralEq for VSVideoFormat
impl StructuralPartialEq for VSVideoFormat
Auto Trait Implementations§
impl RefUnwindSafe for VSVideoFormat
impl Send for VSVideoFormat
impl Sync for VSVideoFormat
impl Unpin for VSVideoFormat
impl UnwindSafe for VSVideoFormat
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