Struct gstreamer_video::video_converter::VideoConverterConfig [−][src]
pub struct VideoConverterConfig(_);
Implementations
impl VideoConverterConfig[src]
impl VideoConverterConfig[src]pub fn new() -> Self[src]
pub fn set_resampler_method(&mut self, v: VideoResamplerMethod)[src]
pub fn resampler_method(&self) -> VideoResamplerMethod[src]
pub fn set_chroma_resampler_method(&mut self, v: VideoResamplerMethod)[src]
pub fn chroma_resampler_method(&self) -> VideoResamplerMethod[src]
pub fn set_resampler_taps(&mut self, v: u32)[src]
pub fn resampler_taps(&self) -> u32[src]
pub fn set_dither_method(&mut self, v: VideoDitherMethod)[src]
pub fn dither_method(&self) -> VideoDitherMethod[src]
pub fn set_dither_quantization(&mut self, v: u32)[src]
pub fn dither_quantization(&self) -> u32[src]
pub fn set_src_x(&mut self, v: i32)[src]
pub fn src_x(&self) -> i32[src]
pub fn set_src_y(&mut self, v: i32)[src]
pub fn src_y(&self) -> i32[src]
pub fn set_src_width(&mut self, v: Option<i32>)[src]
pub fn src_width(&self) -> Option<i32>[src]
pub fn set_src_height(&mut self, v: Option<i32>)[src]
pub fn src_height(&self) -> Option<i32>[src]
pub fn set_dest_x(&mut self, v: i32)[src]
pub fn dest_x(&self) -> i32[src]
pub fn set_dest_y(&mut self, v: i32)[src]
pub fn dest_y(&self) -> i32[src]
pub fn set_dest_width(&mut self, v: Option<i32>)[src]
pub fn dest_width(&self) -> Option<i32>[src]
pub fn set_dest_height(&mut self, v: Option<i32>)[src]
pub fn dest_height(&self) -> Option<i32>[src]
pub fn set_fill_border(&mut self, v: bool)[src]
pub fn fills_border(&self) -> bool[src]
pub fn set_alpha_value(&mut self, v: f64)[src]
pub fn alpha_value(&self) -> f64[src]
pub fn set_alpha_mode(&mut self, v: VideoAlphaMode)[src]
pub fn alpha_mode(&self) -> VideoAlphaMode[src]
pub fn set_border_argb(&mut self, v: u32)[src]
pub fn border_argb(&self) -> u32[src]
pub fn set_chroma_mode(&mut self, v: VideoChromaMode)[src]
pub fn chroma_mode(&self) -> VideoChromaMode[src]
pub fn set_matrix_mode(&mut self, v: VideoMatrixMode)[src]
pub fn matrix_mode(&self) -> VideoMatrixMode[src]
pub fn set_gamma_mode(&mut self, v: VideoGammaMode)[src]
pub fn gamma_mode(&self) -> VideoGammaMode[src]
pub fn set_primaries_mode(&mut self, v: VideoPrimariesMode)[src]
pub fn primaries_mode(&self) -> VideoPrimariesMode[src]
pub fn set_threads(&mut self, v: u32)[src]
pub fn threads(&self) -> u32[src]
Methods from Deref<Target = StructureRef>
pub unsafe fn as_ptr(&self) -> *const GstStructure[src]
pub unsafe fn as_mut_ptr(&self) -> *mut GstStructure[src]
pub fn get<'a, T>(&'a self, name: &str) -> Result<T, GetError> where
T: FromValue<'a>,
<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error: GlibValueError, [src]
T: FromValue<'a>,
<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error: GlibValueError,
pub fn get_optional<'a, T>(&'a self, name: &str) -> Result<Option<T>, GetError> where
T: FromValue<'a>,
<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error: GlibValueError, [src]
T: FromValue<'a>,
<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error: GlibValueError,
pub fn value(&self, name: &str) -> Result<&SendValue, GetError>[src]
pub fn get_by_quark<'a, T>(&'a self, name: Quark) -> Result<T, GetError> where
T: FromValue<'a>,
<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error: GlibValueError, [src]
T: FromValue<'a>,
<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error: GlibValueError,
pub fn get_optional_by_quark<'a, T>(
&'a self,
name: Quark
) -> Result<Option<T>, GetError> where
T: FromValue<'a>,
<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error: GlibValueError, [src]
&'a self,
name: Quark
) -> Result<Option<T>, GetError> where
T: FromValue<'a>,
<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error: GlibValueError,
pub fn value_by_quark(&self, name: Quark) -> Result<&SendValue, GetError>[src]
pub fn set<T>(&mut self, name: &str, value: T) where
T: ToSendValue + Sync, [src]
T: ToSendValue + Sync,
pub fn set_value(&mut self, name: &str, value: SendValue)[src]
pub fn set_by_quark<T>(&mut self, name: Quark, value: T) where
T: ToSendValue + Sync, [src]
T: ToSendValue + Sync,
pub fn set_value_by_quark(&mut self, name: Quark, value: SendValue)[src]
pub fn name<'a>(&self) -> &'a str[src]
pub fn name_quark(&self) -> Quark[src]
pub fn set_name(&mut self, name: &str)[src]
pub fn has_field(&self, field: &str) -> bool[src]
pub fn has_field_with_type(&self, field: &str, type_: Type) -> bool[src]
pub fn has_field_by_quark(&self, field: Quark) -> bool[src]
pub fn has_field_with_type_by_quark(&self, field: Quark, type_: Type) -> bool[src]
pub fn remove_field(&mut self, field: &str)[src]
pub fn remove_fields(&mut self, fields: &[&str])[src]
pub fn remove_all_fields(&mut self)[src]
pub fn fields(&self) -> FieldIterator<'_>[src]
pub fn iter(&self) -> Iter<'_>[src]
pub fn nth_field_name<'a>(&self, idx: u32) -> Option<&'a str>[src]
pub fn n_fields(&self) -> u32[src]
pub fn can_intersect(&self, other: &StructureRef) -> bool[src]
pub fn intersect(&self, other: &StructureRef) -> Option<Structure>[src]
pub fn is_subset(&self, superset: &StructureRef) -> bool[src]
pub fn fixate(&mut self)[src]
pub fn fixate_field(&mut self, name: &str) -> bool[src]
pub fn fixate_field_bool(&mut self, name: &str, target: bool) -> bool[src]
pub fn fixate_field_str(&mut self, name: &str, target: &str) -> bool[src]
pub fn fixate_field_nearest_double(&mut self, name: &str, target: f64) -> bool[src]
pub fn fixate_field_nearest_fraction<T>(
&mut self,
name: &str,
target: T
) -> bool where
T: Into<Fraction>, [src]
&mut self,
name: &str,
target: T
) -> bool where
T: Into<Fraction>,
pub fn fixate_field_nearest_int(&mut self, name: &str, target: i32) -> bool[src]
Trait Implementations
impl AsMut<StructureRef> for VideoConverterConfig[src]
impl AsMut<StructureRef> for VideoConverterConfig[src]fn as_mut(&mut self) -> &mut StructureRef[src]
fn as_mut(&mut self) -> &mut StructureRef[src]Performs the conversion.
impl AsRef<StructureRef> for VideoConverterConfig[src]
impl AsRef<StructureRef> for VideoConverterConfig[src]fn as_ref(&self) -> &StructureRef[src]
fn as_ref(&self) -> &StructureRef[src]Performs the conversion.
impl Clone for VideoConverterConfig[src]
impl Clone for VideoConverterConfig[src]fn clone(&self) -> VideoConverterConfig[src]
fn clone(&self) -> VideoConverterConfig[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for VideoConverterConfig[src]
impl Debug for VideoConverterConfig[src]impl Default for VideoConverterConfig[src]
impl Default for VideoConverterConfig[src]impl Deref for VideoConverterConfig[src]
impl Deref for VideoConverterConfig[src]type Target = StructureRef
type Target = StructureRefThe resulting type after dereferencing.
fn deref(&self) -> &StructureRef[src]
fn deref(&self) -> &StructureRef[src]Dereferences the value.
impl DerefMut for VideoConverterConfig[src]
impl DerefMut for VideoConverterConfig[src]fn deref_mut(&mut self) -> &mut StructureRef[src]
fn deref_mut(&mut self) -> &mut StructureRef[src]Mutably dereferences the value.
impl PartialEq<VideoConverterConfig> for VideoConverterConfig[src]
impl PartialEq<VideoConverterConfig> for VideoConverterConfig[src]fn eq(&self, other: &VideoConverterConfig) -> bool[src]
fn eq(&self, other: &VideoConverterConfig) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &VideoConverterConfig) -> bool[src]
fn ne(&self, other: &VideoConverterConfig) -> bool[src]This method tests for !=.
impl<'a> TryFrom<&'a StructureRef> for VideoConverterConfig[src]
impl<'a> TryFrom<&'a StructureRef> for VideoConverterConfig[src]impl TryFrom<Structure> for VideoConverterConfig[src]
impl TryFrom<Structure> for VideoConverterConfig[src]impl Eq for VideoConverterConfig[src]
impl StructuralEq for VideoConverterConfig[src]
impl StructuralPartialEq for VideoConverterConfig[src]
Auto Trait Implementations
impl RefUnwindSafe for VideoConverterConfig
impl Send for VideoConverterConfig
impl Sync for VideoConverterConfig
impl Unpin for VideoConverterConfig
impl UnwindSafe for VideoConverterConfig
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more