[−][src]Struct uwp_transcode::transcoder::MediaTranscoder
Implementations
impl MediaTranscoder[src]
pub fn new() -> Result<MediaTranscoder, Error>[src]
pub fn set_trim_start_time<'a, T0__>(&self, value: T0__) -> Result<(), Error> where
T0__: Into<Param<'a, TimeSpan>>, [src]
T0__: Into<Param<'a, TimeSpan>>,
pub fn trim_start_time(&self) -> Result<TimeSpan, Error>[src]
pub fn set_trim_stop_time<'a, T0__>(&self, value: T0__) -> Result<(), Error> where
T0__: Into<Param<'a, TimeSpan>>, [src]
T0__: Into<Param<'a, TimeSpan>>,
pub fn trim_stop_time(&self) -> Result<TimeSpan, Error>[src]
pub fn set_always_reencode(&self, value: bool) -> Result<(), Error>[src]
pub fn always_reencode(&self) -> Result<bool, Error>[src]
pub fn set_hardware_acceleration_enabled(
&self,
value: bool
) -> Result<(), Error>[src]
&self,
value: bool
) -> Result<(), Error>
pub fn hardware_acceleration_enabled(&self) -> Result<bool, Error>[src]
pub fn add_audio_effect<'a, T0__>(
&self,
activatable_class_id: T0__
) -> Result<(), Error> where
T0__: Into<Param<'a, HString>>, [src]
&self,
activatable_class_id: T0__
) -> Result<(), Error> where
T0__: Into<Param<'a, HString>>,
pub fn add_audio_effect_with_settings<'a, T0__, T2__>(
&self,
activatable_class_id: T0__,
effect_required: bool,
configuration: T2__
) -> Result<(), Error> where
T0__: Into<Param<'a, HString>>,
T2__: Into<Param<'a, IPropertySet>>, [src]
&self,
activatable_class_id: T0__,
effect_required: bool,
configuration: T2__
) -> Result<(), Error> where
T0__: Into<Param<'a, HString>>,
T2__: Into<Param<'a, IPropertySet>>,
pub fn add_video_effect<'a, T0__>(
&self,
activatable_class_id: T0__
) -> Result<(), Error> where
T0__: Into<Param<'a, HString>>, [src]
&self,
activatable_class_id: T0__
) -> Result<(), Error> where
T0__: Into<Param<'a, HString>>,
pub fn add_video_effect_with_settings<'a, T0__, T2__>(
&self,
activatable_class_id: T0__,
effect_required: bool,
configuration: T2__
) -> Result<(), Error> where
T0__: Into<Param<'a, HString>>,
T2__: Into<Param<'a, IPropertySet>>, [src]
&self,
activatable_class_id: T0__,
effect_required: bool,
configuration: T2__
) -> Result<(), Error> where
T0__: Into<Param<'a, HString>>,
T2__: Into<Param<'a, IPropertySet>>,
pub fn clear_effects(&self) -> Result<(), Error>[src]
pub fn prepare_file_transcode_async<'a, T0__, T1__, T2__>(
&self,
source: T0__,
destination: T1__,
profile: T2__
) -> Result<IAsyncOperation<PrepareTranscodeResult>, Error> where
T0__: Into<Param<'a, IStorageFile>>,
T1__: Into<Param<'a, IStorageFile>>,
T2__: Into<Param<'a, MediaEncodingProfile>>, [src]
&self,
source: T0__,
destination: T1__,
profile: T2__
) -> Result<IAsyncOperation<PrepareTranscodeResult>, Error> where
T0__: Into<Param<'a, IStorageFile>>,
T1__: Into<Param<'a, IStorageFile>>,
T2__: Into<Param<'a, MediaEncodingProfile>>,
pub fn prepare_stream_transcode_async<'a, T0__, T1__, T2__>(
&self,
source: T0__,
destination: T1__,
profile: T2__
) -> Result<IAsyncOperation<PrepareTranscodeResult>, Error> where
T0__: Into<Param<'a, IRandomAccessStream>>,
T1__: Into<Param<'a, IRandomAccessStream>>,
T2__: Into<Param<'a, MediaEncodingProfile>>, [src]
&self,
source: T0__,
destination: T1__,
profile: T2__
) -> Result<IAsyncOperation<PrepareTranscodeResult>, Error> where
T0__: Into<Param<'a, IRandomAccessStream>>,
T1__: Into<Param<'a, IRandomAccessStream>>,
T2__: Into<Param<'a, MediaEncodingProfile>>,
pub fn prepare_media_stream_source_transcode_async<'a, T0__, T1__, T2__>(
&self,
source: T0__,
destination: T1__,
profile: T2__
) -> Result<IAsyncOperation<PrepareTranscodeResult>, Error> where
T0__: Into<Param<'a, IMediaSource>>,
T1__: Into<Param<'a, IRandomAccessStream>>,
T2__: Into<Param<'a, MediaEncodingProfile>>, [src]
&self,
source: T0__,
destination: T1__,
profile: T2__
) -> Result<IAsyncOperation<PrepareTranscodeResult>, Error> where
T0__: Into<Param<'a, IMediaSource>>,
T1__: Into<Param<'a, IRandomAccessStream>>,
T2__: Into<Param<'a, MediaEncodingProfile>>,
pub fn set_video_processing_algorithm(
&self,
value: MediaVideoProcessingAlgorithm
) -> Result<(), Error>[src]
&self,
value: MediaVideoProcessingAlgorithm
) -> Result<(), Error>
pub fn video_processing_algorithm(
&self
) -> Result<MediaVideoProcessingAlgorithm, Error>[src]
&self
) -> Result<MediaVideoProcessingAlgorithm, Error>
Trait Implementations
impl AbiTransferable for MediaTranscoder[src]
type Abi = Option<NonNullRawComPtr<IMediaTranscoder>>
fn get_abi(&self) -> <MediaTranscoder as AbiTransferable>::Abi[src]
fn set_abi(&mut self) -> *mut <MediaTranscoder as AbiTransferable>::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<'a> Into<Param<'a, IMediaTranscoder>> for &'a MediaTranscoder[src]
fn into(self) -> Param<'a, IMediaTranscoder>[src]
impl<'a> Into<Param<'a, IMediaTranscoder>> for 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>,