pub trait IMFASFIndexer_Impl: Sized {
Show 13 methods // Required methods fn SetFlags(&self, dwflags: u32) -> Result<()>; fn GetFlags(&self) -> Result<u32>; fn Initialize( &self, picontentinfo: Option<&IMFASFContentInfo> ) -> Result<()>; fn GetIndexPosition( &self, picontentinfo: Option<&IMFASFContentInfo> ) -> Result<u64>; fn SetIndexByteStreams( &self, ppibytestreams: *const Option<IMFByteStream>, cbytestreams: u32 ) -> Result<()>; fn GetIndexByteStreamCount(&self) -> Result<u32>; fn GetIndexStatus( &self, pindexidentifier: *const ASF_INDEX_IDENTIFIER, pfisindexed: *mut BOOL, pbindexdescriptor: *mut u8, pcbindexdescriptor: *mut u32 ) -> Result<()>; fn SetIndexStatus( &self, pbindexdescriptor: *const u8, cbindexdescriptor: u32, fgenerateindex: BOOL ) -> Result<()>; fn GetSeekPositionForValue( &self, pvarvalue: *const PROPVARIANT, pindexidentifier: *const ASF_INDEX_IDENTIFIER, pcboffsetwithindata: *mut u64, phnsapproxtime: *mut i64, pdwpayloadnumberofstreamwithinpacket: *mut u32 ) -> Result<()>; fn GenerateIndexEntries( &self, piasfpacketsample: Option<&IMFSample> ) -> Result<()>; fn CommitIndex( &self, picontentinfo: Option<&IMFASFContentInfo> ) -> Result<()>; fn GetIndexWriteSpace(&self) -> Result<u64>; fn GetCompletedIndex( &self, piindexbuffer: Option<&IMFMediaBuffer>, cboffsetwithinindex: u64 ) -> Result<()>;
}

Required Methods§

fn SetFlags(&self, dwflags: u32) -> Result<()>

fn GetFlags(&self) -> Result<u32>

fn Initialize(&self, picontentinfo: Option<&IMFASFContentInfo>) -> Result<()>

fn GetIndexPosition( &self, picontentinfo: Option<&IMFASFContentInfo> ) -> Result<u64>

fn SetIndexByteStreams( &self, ppibytestreams: *const Option<IMFByteStream>, cbytestreams: u32 ) -> Result<()>

fn GetIndexByteStreamCount(&self) -> Result<u32>

fn GetIndexStatus( &self, pindexidentifier: *const ASF_INDEX_IDENTIFIER, pfisindexed: *mut BOOL, pbindexdescriptor: *mut u8, pcbindexdescriptor: *mut u32 ) -> Result<()>

fn SetIndexStatus( &self, pbindexdescriptor: *const u8, cbindexdescriptor: u32, fgenerateindex: BOOL ) -> Result<()>

fn GetSeekPositionForValue( &self, pvarvalue: *const PROPVARIANT, pindexidentifier: *const ASF_INDEX_IDENTIFIER, pcboffsetwithindata: *mut u64, phnsapproxtime: *mut i64, pdwpayloadnumberofstreamwithinpacket: *mut u32 ) -> Result<()>

fn GenerateIndexEntries( &self, piasfpacketsample: Option<&IMFSample> ) -> Result<()>

fn CommitIndex(&self, picontentinfo: Option<&IMFASFContentInfo>) -> Result<()>

fn GetIndexWriteSpace(&self) -> Result<u64>

fn GetCompletedIndex( &self, piindexbuffer: Option<&IMFMediaBuffer>, cboffsetwithinindex: u64 ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§