[−][src]Struct windows_media_transcoding_bindings::windows::media::transcoding::MediaTranscoder
Implementations
impl MediaTranscoder[src]
pub fn new() -> Result<Self>[src]
pub fn set_trim_start_time<'a, T0__: Into<Param<'a, TimeSpan>>>(
&self,
value: T0__
) -> Result<()>[src]
&self,
value: T0__
) -> Result<()>
pub fn trim_start_time(&self) -> Result<TimeSpan>[src]
pub fn set_trim_stop_time<'a, T0__: Into<Param<'a, TimeSpan>>>(
&self,
value: T0__
) -> Result<()>[src]
&self,
value: T0__
) -> Result<()>
pub fn trim_stop_time(&self) -> Result<TimeSpan>[src]
pub fn set_always_reencode(&self, value: bool) -> Result<()>[src]
pub fn always_reencode(&self) -> Result<bool>[src]
pub fn set_hardware_acceleration_enabled(&self, value: bool) -> Result<()>[src]
pub fn hardware_acceleration_enabled(&self) -> Result<bool>[src]
pub fn add_audio_effect<'a, T0__: Into<Param<'a, HString>>>(
&self,
activatable_class_id: T0__
) -> Result<()>[src]
&self,
activatable_class_id: T0__
) -> Result<()>
pub fn add_audio_effect_with_settings<'a, T0__: Into<Param<'a, HString>>, T2__: Into<Param<'a, IPropertySet>>>(
&self,
activatable_class_id: T0__,
effect_required: bool,
configuration: T2__
) -> Result<()>[src]
&self,
activatable_class_id: T0__,
effect_required: bool,
configuration: T2__
) -> Result<()>
pub fn add_video_effect<'a, T0__: Into<Param<'a, HString>>>(
&self,
activatable_class_id: T0__
) -> Result<()>[src]
&self,
activatable_class_id: T0__
) -> Result<()>
pub fn add_video_effect_with_settings<'a, T0__: Into<Param<'a, HString>>, T2__: Into<Param<'a, IPropertySet>>>(
&self,
activatable_class_id: T0__,
effect_required: bool,
configuration: T2__
) -> Result<()>[src]
&self,
activatable_class_id: T0__,
effect_required: bool,
configuration: T2__
) -> Result<()>
pub fn clear_effects(&self) -> Result<()>[src]
pub fn prepare_file_transcode_async<'a, T0__: Into<Param<'a, IStorageFile>>, T1__: Into<Param<'a, IStorageFile>>, T2__: Into<Param<'a, MediaEncodingProfile>>>(
&self,
source: T0__,
destination: T1__,
profile: T2__
) -> Result<IAsyncOperation<PrepareTranscodeResult>>[src]
&self,
source: T0__,
destination: T1__,
profile: T2__
) -> Result<IAsyncOperation<PrepareTranscodeResult>>
pub fn prepare_stream_transcode_async<'a, T0__: Into<Param<'a, IRandomAccessStream>>, T1__: Into<Param<'a, IRandomAccessStream>>, T2__: Into<Param<'a, MediaEncodingProfile>>>(
&self,
source: T0__,
destination: T1__,
profile: T2__
) -> Result<IAsyncOperation<PrepareTranscodeResult>>[src]
&self,
source: T0__,
destination: T1__,
profile: T2__
) -> Result<IAsyncOperation<PrepareTranscodeResult>>
pub fn prepare_media_stream_source_transcode_async<'a, T0__: Into<Param<'a, IMediaSource>>, T1__: Into<Param<'a, IRandomAccessStream>>, T2__: Into<Param<'a, MediaEncodingProfile>>>(
&self,
source: T0__,
destination: T1__,
profile: T2__
) -> Result<IAsyncOperation<PrepareTranscodeResult>>[src]
&self,
source: T0__,
destination: T1__,
profile: T2__
) -> Result<IAsyncOperation<PrepareTranscodeResult>>
pub fn set_video_processing_algorithm(
&self,
value: MediaVideoProcessingAlgorithm
) -> Result<()>[src]
&self,
value: MediaVideoProcessingAlgorithm
) -> Result<()>
pub fn video_processing_algorithm(
&self
) -> Result<MediaVideoProcessingAlgorithm>[src]
&self
) -> Result<MediaVideoProcessingAlgorithm>
Trait Implementations
impl AbiTransferable for MediaTranscoder[src]
type Abi = RawComPtr<IMediaTranscoder>
fn get_abi(&self) -> Self::Abi[src]
fn set_abi(&mut self) -> *mut Self::Abi[src]
fn from_abi(abi: &Self::Abi) -> &Self
fn from_mut_abi(abi: &mut Self::Abi) -> &mut Self
unsafe fn slice_from_abi<'a>(abi: *const Self::Abi, len: usize) -> &'a [Self]
unsafe fn slice_from_mut_abi<'a>(
abi: *mut Self::Abi,
len: usize
) -> &'a mut [Self]
abi: *mut Self::Abi,
len: usize
) -> &'a mut [Self]
fn into_abi(self) -> Self::Abi
impl Clone for MediaTranscoder[src]
fn clone(&self) -> MediaTranscoder[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl ComInterface for MediaTranscoder[src]
type VTable = abi_IMediaTranscoder
fn iid() -> Guid[src]
fn as_iunknown(&self) -> Option<NonNullRawComPtr<IUnknown>>
fn query<Into>(&self) -> Into where
Into: ComInterface,
Into: ComInterface,
fn is_null(&self) -> bool
fn is_agile(&self) -> bool
unsafe fn raw_query<T>(&self, iid: &Guid, ppv: &mut T) where
T: ComInterface,
T: ComInterface,
impl Debug for MediaTranscoder[src]
impl Default for MediaTranscoder[src]
fn default() -> MediaTranscoder[src]
impl<'_> From<&'_ MediaTranscoder> for IMediaTranscoder[src]
fn from(value: &MediaTranscoder) -> Self[src]
impl<'_> From<&'_ MediaTranscoder> for IMediaTranscoder2[src]
fn from(value: &MediaTranscoder) -> Self[src]
impl<'_> From<&'_ MediaTranscoder> for Object[src]
fn from(value: &MediaTranscoder) -> Self[src]
impl From<MediaTranscoder> for IMediaTranscoder[src]
fn from(value: MediaTranscoder) -> Self[src]
impl From<MediaTranscoder> for IMediaTranscoder2[src]
fn from(value: MediaTranscoder) -> Self[src]
impl From<MediaTranscoder> for Object[src]
fn from(value: MediaTranscoder) -> Self[src]
impl<'a> Into<Param<'a, IMediaTranscoder>> for MediaTranscoder[src]
fn into(self) -> Param<'a, IMediaTranscoder>[src]
impl<'a> Into<Param<'a, IMediaTranscoder>> for &'a MediaTranscoder[src]
fn into(self) -> Param<'a, IMediaTranscoder>[src]
impl<'a> Into<Param<'a, IMediaTranscoder2>> for MediaTranscoder[src]
fn into(self) -> Param<'a, IMediaTranscoder2>[src]
impl<'a> Into<Param<'a, IMediaTranscoder2>> for &'a MediaTranscoder[src]
fn into(self) -> Param<'a, IMediaTranscoder2>[src]
impl PartialEq<MediaTranscoder> for MediaTranscoder[src]
fn eq(&self, other: &MediaTranscoder) -> bool[src]
fn ne(&self, other: &MediaTranscoder) -> bool[src]
impl RuntimeName for MediaTranscoder[src]
impl RuntimeType for MediaTranscoder[src]
impl Send for MediaTranscoder[src]
impl StructuralPartialEq for MediaTranscoder[src]
impl Sync for MediaTranscoder[src]
Auto Trait Implementations
impl RefUnwindSafe for MediaTranscoder
impl Unpin for MediaTranscoder
impl UnwindSafe for MediaTranscoder
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,
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> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
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.
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>,