pub struct VideoConverterConfig(_);
Implementations§
source§impl VideoConverterConfig
impl VideoConverterConfig
pub fn new() -> Self
pub fn set_resampler_method(&mut self, v: VideoResamplerMethod)
pub fn resampler_method(&self) -> VideoResamplerMethod
pub fn set_chroma_resampler_method(&mut self, v: VideoResamplerMethod)
pub fn chroma_resampler_method(&self) -> VideoResamplerMethod
pub fn set_resampler_taps(&mut self, v: u32)
pub fn resampler_taps(&self) -> u32
pub fn set_dither_method(&mut self, v: VideoDitherMethod)
pub fn dither_method(&self) -> VideoDitherMethod
pub fn set_dither_quantization(&mut self, v: u32)
pub fn dither_quantization(&self) -> u32
pub fn set_src_x(&mut self, v: i32)
pub fn src_x(&self) -> i32
pub fn set_src_y(&mut self, v: i32)
pub fn src_y(&self) -> i32
pub fn set_src_width(&mut self, v: Option<i32>)
pub fn src_width(&self) -> Option<i32>
pub fn set_src_height(&mut self, v: Option<i32>)
pub fn src_height(&self) -> Option<i32>
pub fn set_dest_x(&mut self, v: i32)
pub fn dest_x(&self) -> i32
pub fn set_dest_y(&mut self, v: i32)
pub fn dest_y(&self) -> i32
pub fn set_dest_width(&mut self, v: Option<i32>)
pub fn dest_width(&self) -> Option<i32>
pub fn set_dest_height(&mut self, v: Option<i32>)
pub fn dest_height(&self) -> Option<i32>
pub fn set_fill_border(&mut self, v: bool)
pub fn fills_border(&self) -> bool
pub fn set_alpha_value(&mut self, v: f64)
pub fn alpha_value(&self) -> f64
pub fn set_alpha_mode(&mut self, v: VideoAlphaMode)
pub fn alpha_mode(&self) -> VideoAlphaMode
pub fn set_border_argb(&mut self, v: u32)
pub fn border_argb(&self) -> u32
pub fn set_chroma_mode(&mut self, v: VideoChromaMode)
pub fn chroma_mode(&self) -> VideoChromaMode
pub fn set_matrix_mode(&mut self, v: VideoMatrixMode)
pub fn matrix_mode(&self) -> VideoMatrixMode
pub fn set_gamma_mode(&mut self, v: VideoGammaMode)
pub fn gamma_mode(&self) -> VideoGammaMode
pub fn set_primaries_mode(&mut self, v: VideoPrimariesMode)
pub fn primaries_mode(&self) -> VideoPrimariesMode
pub fn set_threads(&mut self, v: u32)
pub fn threads(&self) -> u32
Methods from Deref<Target = StructureRef>§
pub fn as_ptr(&self) -> *const GstStructure
pub fn as_mut_ptr(&self) -> *mut GstStructure
pub fn get<'a, T>(
&'a self,
name: &str
) -> Result<T, GetError<<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error>>where
T: FromValue<'a>,
pub fn get_optional<'a, T>(
&'a self,
name: &str
) -> Result<Option<T>, GetError<<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error>>where
T: FromValue<'a>,
pub fn value(&self, name: &str) -> Result<&SendValue, GetError<Infallible>>
pub fn get_by_quark<'a, T>(
&'a self,
name: Quark
) -> Result<T, GetError<<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error>>where
T: FromValue<'a>,
pub fn get_optional_by_quark<'a, T>(
&'a self,
name: Quark
) -> Result<Option<T>, GetError<<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error>>where
T: FromValue<'a>,
pub fn value_by_quark(
&self,
name: Quark
) -> Result<&SendValue, GetError<Infallible>>
pub fn set<T>(&mut self, name: &str, value: T)where
T: ToSendValue + Sync,
pub fn set_value(&mut self, name: &str, value: SendValue)
pub fn set_by_quark<T>(&mut self, name: Quark, value: T)where
T: ToSendValue + Sync,
pub fn set_value_by_quark(&mut self, name: Quark, value: SendValue)
pub fn name<'a>(&self) -> &'a str
pub fn name_quark(&self) -> Quark
pub fn set_name(&mut self, name: &str)
pub fn has_name(&self, name: &str) -> bool
pub fn has_field(&self, field: &str) -> bool
pub fn has_field_with_type(&self, field: &str, type_: Type) -> bool
pub fn has_field_by_quark(&self, field: Quark) -> bool
pub fn has_field_with_type_by_quark(&self, field: Quark, type_: Type) -> bool
pub fn remove_field(&mut self, field: &str)
pub fn remove_fields(&mut self, fields: &[&str])
pub fn remove_all_fields(&mut self)
pub fn fields(&self) -> FieldIterator<'_>
pub fn iter(&self) -> Iter<'_>
pub fn nth_field_name<'a>(&self, idx: u32) -> Option<&'a str>
pub fn n_fields(&self) -> u32
pub fn can_intersect(&self, other: &StructureRef) -> bool
pub fn intersect(&self, other: &StructureRef) -> Option<Structure>
pub fn is_subset(&self, superset: &StructureRef) -> bool
pub fn fixate(&mut self)
pub fn fixate_field(&mut self, name: &str) -> bool
pub fn fixate_field_bool(&mut self, name: &str, target: bool) -> bool
pub fn fixate_field_str(&mut self, name: &str, target: &str) -> bool
pub fn fixate_field_nearest_double(&mut self, name: &str, target: f64) -> bool
pub fn fixate_field_nearest_fraction<T>(&mut self, name: &str, target: T) -> boolwhere
T: Into<Fraction>,
pub fn fixate_field_nearest_int(&mut self, name: &str, target: i32) -> bool
pub fn serialize(&self, flags: SerializeFlags) -> GString
Available on crate feature
v1_20
only.pub fn foreach<F>(&self, func: F) -> boolwhere
F: FnMut(Quark, &Value) -> ControlFlow<(), ()>,
pub fn map_in_place<F>(&mut self, func: F) -> boolwhere
F: FnMut(Quark, &mut Value) -> ControlFlow<(), ()>,
pub fn filter_map_in_place<F>(&mut self, func: F)where
F: FnMut(Quark, Value) -> Option<Value>,
Trait Implementations§
source§impl AsMut<StructureRef> for VideoConverterConfig
impl AsMut<StructureRef> for VideoConverterConfig
source§fn as_mut(&mut self) -> &mut StructureRef
fn as_mut(&mut self) -> &mut StructureRef
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsRef<StructureRef> for VideoConverterConfig
impl AsRef<StructureRef> for VideoConverterConfig
source§fn as_ref(&self) -> &StructureRef
fn as_ref(&self) -> &StructureRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for VideoConverterConfig
impl Clone for VideoConverterConfig
source§fn clone(&self) -> VideoConverterConfig
fn clone(&self) -> VideoConverterConfig
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 VideoConverterConfig
impl Debug for VideoConverterConfig
source§impl Default for VideoConverterConfig
impl Default for VideoConverterConfig
source§impl Deref for VideoConverterConfig
impl Deref for VideoConverterConfig
§type Target = StructureRef
type Target = StructureRef
The resulting type after dereferencing.
source§fn deref(&self) -> &StructureRef
fn deref(&self) -> &StructureRef
Dereferences the value.
source§impl DerefMut for VideoConverterConfig
impl DerefMut for VideoConverterConfig
source§fn deref_mut(&mut self) -> &mut StructureRef
fn deref_mut(&mut self) -> &mut StructureRef
Mutably dereferences the value.
source§impl From<VideoConverterConfig> for Structure
impl From<VideoConverterConfig> for Structure
source§fn from(v: VideoConverterConfig) -> Self
fn from(v: VideoConverterConfig) -> Self
Converts to this type from the input type.