pub trait IMFASFContentInfo_Impl: Sized {
    // Required methods
    fn GetHeaderSize(
        &self,
        pistartofcontent: Option<&IMFMediaBuffer>,
    ) -> Result<u64>;
    fn ParseHeader(
        &self,
        piheaderbuffer: Option<&IMFMediaBuffer>,
        cboffsetwithinheader: u64,
    ) -> Result<()>;
    fn GenerateHeader(&self, piheader: Option<&IMFMediaBuffer>) -> Result<u32>;
    fn GetProfile(&self) -> Result<IMFASFProfile>;
    fn SetProfile(&self, piprofile: Option<&IMFASFProfile>) -> Result<()>;
    fn GeneratePresentationDescriptor(
        &self,
    ) -> Result<IMFPresentationDescriptor>;
    fn GetEncodingConfigurationPropertyStore(
        &self,
        wstreamnumber: u16,
    ) -> Result<IPropertyStore>;
}

Required Methods§

fn GetHeaderSize( &self, pistartofcontent: Option<&IMFMediaBuffer>, ) -> Result<u64>

fn ParseHeader( &self, piheaderbuffer: Option<&IMFMediaBuffer>, cboffsetwithinheader: u64, ) -> Result<()>

fn GenerateHeader(&self, piheader: Option<&IMFMediaBuffer>) -> Result<u32>

fn GetProfile(&self) -> Result<IMFASFProfile>

fn SetProfile(&self, piprofile: Option<&IMFASFProfile>) -> Result<()>

fn GeneratePresentationDescriptor(&self) -> Result<IMFPresentationDescriptor>

fn GetEncodingConfigurationPropertyStore( &self, wstreamnumber: u16, ) -> Result<IPropertyStore>

Object Safety§

This trait is not object safe.

Implementors§