Enum rustsynth::format::PresetFormat
source · #[repr(i32)]pub enum PresetFormat {
Show 41 variants
None,
Gray8,
Gray9,
Gray10,
Gray12,
Gray14,
Gray16,
Gray32,
GrayH,
GrayS,
YUV410P8,
YUV411P8,
YUV440P8,
YUV420P8,
YUV422P8,
YUV444P8,
YUV420P9,
YUV422P9,
YUV444P9,
YUV420P10,
YUV422P10,
YUV444P10,
YUV420P12,
YUV422P12,
YUV444P12,
YUV420P14,
YUV422P14,
YUV444P14,
YUV420P16,
YUV422P16,
YUV444P16,
YUV444PH,
YUV444PS,
RGB24,
RGB27,
RGB30,
RGB36,
RGB42,
RGB48,
RGBH,
RGBS,
}
Expand description
The presets suffixed with H and S have floating point sample type. The H and S suffixes stand for half precision and single precision, respectively.
The compat formats are the only packed formats in VapourSynth. Everything else is planar. They exist for compatibility with Avisynth plugins. They are not to be implemented in native VapourSynth plugins.
Variants§
None
Gray8
Gray9
Gray10
Gray12
Gray14
Gray16
Gray32
GrayH
GrayS
YUV410P8
YUV411P8
YUV440P8
YUV420P8
YUV422P8
YUV444P8
YUV420P9
YUV422P9
YUV444P9
YUV420P10
YUV422P10
YUV444P10
YUV420P12
YUV422P12
YUV444P12
YUV420P14
YUV422P14
YUV444P14
YUV420P16
YUV422P16
YUV444P16
YUV444PH
YUV444PS
RGB24
RGB27
RGB30
RGB36
RGB42
RGB48
RGBH
RGBS
Trait Implementations§
source§impl Clone for PresetFormat
impl Clone for PresetFormat
source§fn clone(&self) -> PresetFormat
fn clone(&self) -> PresetFormat
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 PresetFormat
impl Debug for PresetFormat
source§impl Hash for PresetFormat
impl Hash for PresetFormat
source§impl Ord for PresetFormat
impl Ord for PresetFormat
source§fn cmp(&self, other: &PresetFormat) -> Ordering
fn cmp(&self, other: &PresetFormat) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<PresetFormat> for PresetFormat
impl PartialEq<PresetFormat> for PresetFormat
source§fn eq(&self, other: &PresetFormat) -> bool
fn eq(&self, other: &PresetFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PresetFormat> for PresetFormat
impl PartialOrd<PresetFormat> for PresetFormat
source§fn partial_cmp(&self, other: &PresetFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &PresetFormat) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PresetFormat
impl Eq for PresetFormat
impl StructuralEq for PresetFormat
impl StructuralPartialEq for PresetFormat
Auto Trait Implementations§
impl RefUnwindSafe for PresetFormat
impl Send for PresetFormat
impl Sync for PresetFormat
impl Unpin for PresetFormat
impl UnwindSafe for PresetFormat
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