| 1 |
::windows_targets::link!("msdmo.dll" "system" fn DMOEnum(guidcategory : *const ::windows_sys::core::GUID, dwflags : u32, cintypes : u32, pintypes : *const DMO_PARTIAL_MEDIATYPE, couttypes : u32, pouttypes : *const DMO_PARTIAL_MEDIATYPE, ppenum : *mut IEnumDMO) -> ::windows_sys::core::HRESULT); |
| 2 |
::windows_targets::link!("msdmo.dll" "system" fn DMOGetName(clsiddmo : *const ::windows_sys::core::GUID, szname : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); |
| 3 |
::windows_targets::link!("msdmo.dll" "system" fn DMOGetTypes(clsiddmo : *const ::windows_sys::core::GUID, ulinputtypesrequested : u32, pulinputtypessupplied : *mut u32, pinputtypes : *mut DMO_PARTIAL_MEDIATYPE, uloutputtypesrequested : u32, puloutputtypessupplied : *mut u32, poutputtypes : *mut DMO_PARTIAL_MEDIATYPE) -> ::windows_sys::core::HRESULT); |
| 4 |
::windows_targets::link!("msdmo.dll" "system" fn DMORegister(szname : ::windows_sys::core::PCWSTR, clsiddmo : *const ::windows_sys::core::GUID, guidcategory : *const ::windows_sys::core::GUID, dwflags : u32, cintypes : u32, pintypes : *const DMO_PARTIAL_MEDIATYPE, couttypes : u32, pouttypes : *const DMO_PARTIAL_MEDIATYPE) -> ::windows_sys::core::HRESULT); |
| 5 |
::windows_targets::link!("msdmo.dll" "system" fn DMOUnregister(clsiddmo : *const ::windows_sys::core::GUID, guidcategory : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); |
| 6 |
#[cfg(feature = "Win32_Foundation")] |
| 7 |
::windows_targets::link!("msdmo.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoCopyMediaType(pmtdest : *mut DMO_MEDIA_TYPE, pmtsrc : *const DMO_MEDIA_TYPE) -> ::windows_sys::core::HRESULT); |
| 8 |
#[cfg(feature = "Win32_Foundation")] |
| 9 |
::windows_targets::link!("msdmo.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoCreateMediaType(ppmt : *mut *mut DMO_MEDIA_TYPE, cbformat : u32) -> ::windows_sys::core::HRESULT); |
| 10 |
#[cfg(feature = "Win32_Foundation")] |
| 11 |
::windows_targets::link!("msdmo.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoDeleteMediaType(pmt : *mut DMO_MEDIA_TYPE) -> ::windows_sys::core::HRESULT); |
| 12 |
#[cfg(feature = "Win32_Foundation")] |
| 13 |
::windows_targets::link!("msdmo.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoDuplicateMediaType(ppmtdest : *mut *mut DMO_MEDIA_TYPE, pmtsrc : *const DMO_MEDIA_TYPE) -> ::windows_sys::core::HRESULT); |
| 14 |
#[cfg(feature = "Win32_Foundation")] |
| 15 |
::windows_targets::link!("msdmo.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoFreeMediaType(pmt : *mut DMO_MEDIA_TYPE) -> ::windows_sys::core::HRESULT); |
| 16 |
#[cfg(feature = "Win32_Foundation")] |
| 17 |
::windows_targets::link!("msdmo.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoInitMediaType(pmt : *mut DMO_MEDIA_TYPE, cbformat : u32) -> ::windows_sys::core::HRESULT); |
| 18 |
pub type IDMOQualityControl = *mut ::core::ffi::c_void; |
| 19 |
pub type IDMOVideoOutputOptimizations = *mut ::core::ffi::c_void; |
| 20 |
pub type IEnumDMO = *mut ::core::ffi::c_void; |
| 21 |
pub type IMediaBuffer = *mut ::core::ffi::c_void; |
| 22 |
pub type IMediaObject = *mut ::core::ffi::c_void; |
| 23 |
pub type IMediaObjectInPlace = *mut ::core::ffi::c_void; |
| 24 |
pub const DMOCATEGORY_ACOUSTIC_ECHO_CANCEL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbf963d80_c559_11d0_8a2b_00a0c9255ac1); |
| 25 |
pub const DMOCATEGORY_AGC: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe88c9ba0_c557_11d0_8a2b_00a0c9255ac1); |
| 26 |
pub const DMOCATEGORY_AUDIO_CAPTURE_EFFECT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf665aaba_3e09_4920_aa5f_219811148f09); |
| 27 |
pub const DMOCATEGORY_AUDIO_DECODER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x57f2db8b_e6bb_4513_9d43_dcd2a6593125); |
| 28 |
pub const DMOCATEGORY_AUDIO_EFFECT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf3602b3f_0592_48df_a4cd_674721e7ebeb); |
| 29 |
pub const DMOCATEGORY_AUDIO_ENCODER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x33d9a761_90c8_11d0_bd43_00a0c911ce86); |
| 30 |
pub const DMOCATEGORY_AUDIO_NOISE_SUPPRESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe07f903f_62fd_4e60_8cdd_dea7236665b5); |
| 31 |
pub const DMOCATEGORY_VIDEO_DECODER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4a69b442_28be_4991_969c_b500adf5d8a8); |
| 32 |
pub const DMOCATEGORY_VIDEO_EFFECT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd990ee14_776c_4723_be46_3da2f56f10b9); |
| 33 |
pub const DMOCATEGORY_VIDEO_ENCODER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x33d9a760_90c8_11d0_bd43_00a0c911ce86); |
| 34 |
pub const DMO_ENUMF_INCLUDE_KEYED: DMO_ENUM_FLAGS = 1i32; |
| 35 |
pub const DMO_E_INVALIDSTREAMINDEX: ::windows_sys::core::HRESULT = -2147220991i32; |
| 36 |
pub const DMO_E_INVALIDTYPE: ::windows_sys::core::HRESULT = -2147220990i32; |
| 37 |
pub const DMO_E_NOTACCEPTING: ::windows_sys::core::HRESULT = -2147220988i32; |
| 38 |
pub const DMO_E_NO_MORE_ITEMS: ::windows_sys::core::HRESULT = -2147220986i32; |
| 39 |
pub const DMO_E_TYPE_NOT_ACCEPTED: ::windows_sys::core::HRESULT = -2147220987i32; |
| 40 |
pub const DMO_E_TYPE_NOT_SET: ::windows_sys::core::HRESULT = -2147220989i32; |
| 41 |
pub const DMO_INPLACE_NORMAL: _DMO_INPLACE_PROCESS_FLAGS = 0i32; |
| 42 |
pub const DMO_INPLACE_ZERO: _DMO_INPLACE_PROCESS_FLAGS = 1i32; |
| 43 |
pub const DMO_INPUT_DATA_BUFFERF_DISCONTINUITY: _DMO_INPUT_DATA_BUFFER_FLAGS = 8i32; |
| 44 |
pub const DMO_INPUT_DATA_BUFFERF_SYNCPOINT: _DMO_INPUT_DATA_BUFFER_FLAGS = 1i32; |
| 45 |
pub const DMO_INPUT_DATA_BUFFERF_TIME: _DMO_INPUT_DATA_BUFFER_FLAGS = 2i32; |
| 46 |
pub const DMO_INPUT_DATA_BUFFERF_TIMELENGTH: _DMO_INPUT_DATA_BUFFER_FLAGS = 4i32; |
| 47 |
pub const DMO_INPUT_STATUSF_ACCEPT_DATA: _DMO_INPUT_STATUS_FLAGS = 1i32; |
| 48 |
pub const DMO_INPUT_STREAMF_FIXED_SAMPLE_SIZE: _DMO_INPUT_STREAM_INFO_FLAGS = 4i32; |
| 49 |
pub const DMO_INPUT_STREAMF_HOLDS_BUFFERS: _DMO_INPUT_STREAM_INFO_FLAGS = 8i32; |
| 50 |
pub const DMO_INPUT_STREAMF_SINGLE_SAMPLE_PER_BUFFER: _DMO_INPUT_STREAM_INFO_FLAGS = 2i32; |
| 51 |
pub const DMO_INPUT_STREAMF_WHOLE_SAMPLES: _DMO_INPUT_STREAM_INFO_FLAGS = 1i32; |
| 52 |
pub const DMO_OUTPUT_DATA_BUFFERF_DISCONTINUITY: _DMO_OUTPUT_DATA_BUFFER_FLAGS = 8i32; |
| 53 |
pub const DMO_OUTPUT_DATA_BUFFERF_INCOMPLETE: _DMO_OUTPUT_DATA_BUFFER_FLAGS = 16777216i32; |
| 54 |
pub const DMO_OUTPUT_DATA_BUFFERF_SYNCPOINT: _DMO_OUTPUT_DATA_BUFFER_FLAGS = 1i32; |
| 55 |
pub const DMO_OUTPUT_DATA_BUFFERF_TIME: _DMO_OUTPUT_DATA_BUFFER_FLAGS = 2i32; |
| 56 |
pub const DMO_OUTPUT_DATA_BUFFERF_TIMELENGTH: _DMO_OUTPUT_DATA_BUFFER_FLAGS = 4i32; |
| 57 |
pub const DMO_OUTPUT_STREAMF_DISCARDABLE: _DMO_OUTPUT_STREAM_INFO_FLAGS = 8i32; |
| 58 |
pub const DMO_OUTPUT_STREAMF_FIXED_SAMPLE_SIZE: _DMO_OUTPUT_STREAM_INFO_FLAGS = 4i32; |
| 59 |
pub const DMO_OUTPUT_STREAMF_OPTIONAL: _DMO_OUTPUT_STREAM_INFO_FLAGS = 16i32; |
| 60 |
pub const DMO_OUTPUT_STREAMF_SINGLE_SAMPLE_PER_BUFFER: _DMO_OUTPUT_STREAM_INFO_FLAGS = 2i32; |
| 61 |
pub const DMO_OUTPUT_STREAMF_WHOLE_SAMPLES: _DMO_OUTPUT_STREAM_INFO_FLAGS = 1i32; |
| 62 |
pub const DMO_PROCESS_OUTPUT_DISCARD_WHEN_NO_BUFFER: _DMO_PROCESS_OUTPUT_FLAGS = 1i32; |
| 63 |
pub const DMO_QUALITY_STATUS_ENABLED: _DMO_QUALITY_STATUS_FLAGS = 1i32; |
| 64 |
pub const DMO_REGISTERF_IS_KEYED: DMO_REGISTER_FLAGS = 1i32; |
| 65 |
pub const DMO_SET_TYPEF_CLEAR: _DMO_SET_TYPE_FLAGS = 2i32; |
| 66 |
pub const DMO_SET_TYPEF_TEST_ONLY: _DMO_SET_TYPE_FLAGS = 1i32; |
| 67 |
pub const DMO_VOSF_NEEDS_PREVIOUS_SAMPLE: _DMO_VIDEO_OUTPUT_STREAM_FLAGS = 1i32; |
| 68 |
pub type DMO_ENUM_FLAGS = i32; |
| 69 |
pub type DMO_REGISTER_FLAGS = i32; |
| 70 |
pub type _DMO_INPLACE_PROCESS_FLAGS = i32; |
| 71 |
pub type _DMO_INPUT_DATA_BUFFER_FLAGS = i32; |
| 72 |
pub type _DMO_INPUT_STATUS_FLAGS = i32; |
| 73 |
pub type _DMO_INPUT_STREAM_INFO_FLAGS = i32; |
| 74 |
pub type _DMO_OUTPUT_DATA_BUFFER_FLAGS = i32; |
| 75 |
pub type _DMO_OUTPUT_STREAM_INFO_FLAGS = i32; |
| 76 |
pub type _DMO_PROCESS_OUTPUT_FLAGS = i32; |
| 77 |
pub type _DMO_QUALITY_STATUS_FLAGS = i32; |
| 78 |
pub type _DMO_SET_TYPE_FLAGS = i32; |
| 79 |
pub type _DMO_VIDEO_OUTPUT_STREAM_FLAGS = i32; |
| 80 |
#[repr(C)] |
| 81 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 82 |
#[cfg(feature = "Win32_Foundation")] |
| 83 |
pub struct DMO_MEDIA_TYPE { |
| 84 |
pub majortype: ::windows_sys::core::GUID, |
| 85 |
pub subtype: ::windows_sys::core::GUID, |
| 86 |
pub bFixedSizeSamples: super::super::Foundation::BOOL, |
| 87 |
pub bTemporalCompression: super::super::Foundation::BOOL, |
| 88 |
pub lSampleSize: u32, |
| 89 |
pub formattype: ::windows_sys::core::GUID, |
| 90 |
pub pUnk: ::windows_sys::core::IUnknown, |
| 91 |
pub cbFormat: u32, |
| 92 |
pub pbFormat: *mut u8, |
| 93 |
} |
| 94 |
#[cfg(feature = "Win32_Foundation")] |
| 95 |
impl ::core::marker::Copy for DMO_MEDIA_TYPE {} |
| 96 |
#[cfg(feature = "Win32_Foundation")] |
| 97 |
impl ::core::clone::Clone for DMO_MEDIA_TYPE { |
| 98 |
fn clone(&self) -> Self { |
| 99 |
*self |
| 100 |
} |
| 101 |
} |
| 102 |
#[repr(C)] |
| 103 |
pub struct DMO_OUTPUT_DATA_BUFFER { |
| 104 |
pub pBuffer: IMediaBuffer, |
| 105 |
pub dwStatus: u32, |
| 106 |
pub rtTimestamp: i64, |
| 107 |
pub rtTimelength: i64, |
| 108 |
} |
| 109 |
impl ::core::marker::Copy for DMO_OUTPUT_DATA_BUFFER {} |
| 110 |
impl ::core::clone::Clone for DMO_OUTPUT_DATA_BUFFER { |
| 111 |
fn clone(&self) -> Self { |
| 112 |
*self |
| 113 |
} |
| 114 |
} |
| 115 |
#[repr(C)] |
| 116 |
pub struct DMO_PARTIAL_MEDIATYPE { |
| 117 |
pub r#type: ::windows_sys::core::GUID, |
| 118 |
pub subtype: ::windows_sys::core::GUID, |
| 119 |
} |
| 120 |
impl ::core::marker::Copy for DMO_PARTIAL_MEDIATYPE {} |
| 121 |
impl ::core::clone::Clone for DMO_PARTIAL_MEDIATYPE { |
| 122 |
fn clone(&self) -> Self { |
| 123 |
*self |
| 124 |
} |
| 125 |
} |