C# Class DirectX.Capture.AsfFormat

Summary description for AsfFormat.
Inheritance: System.Collections.CollectionBase
Show file Open project: parhansson/KMotionX

Private Properties

Property Type Description
AsfFormat System
AsfFormat System
FindDefaultAsfItem bool
GetAsfAVInfo bool
GetAsfAVInfo bool
GetCurrentAsfItem System.Guid
GetProfileDataFromFile bool

Public Methods

Method Description
AddProfileItem ( AsfFormatSelection avformat, IWMProfile profile, System.Guid guid, string filename ) : bool

Add profile item to the list

Clear ( ) : void

Empty the collection.

ConfigProfileFromFile ( IBaseFilter asfWriter, string filename ) : bool

Configure profile from file to Asf file writer

Dispose ( ) : void

Release (unmanaged) resources.

GetAsfItemGuid ( int item ) : System.Guid

Return Guid of stored item

GetCurrentAsfAVInfo ( bool &captureAudio, bool &captureVideo ) : bool

Get information of current Asf item

GetProfileFormatInfo ( AsfFormatSelection avformat ) : bool

Get asf profile information

NbrAsfItems ( ) : int

Return number of stored Asf items

UpdateAsfAVFormat ( IBaseFilter asfWriter ) : bool

Update current Asf audio/video item information

UpdateAsfAVFormat ( IBaseFilter asfWriter, int asfItem ) : bool

Update Asf audio/video item information

this ( int index ) : DirectX.Capture.WMProfileData

Get the profile at the specified index.

Private Methods

Method Description
AsfFormat ( ) : System

Initialize collection with no profiles.

AsfFormat ( AsfFormatSelection avformat ) : System

Initialize collection with the specified type of profiles.

FindDefaultAsfItem ( AsfFormatSelection avformat ) : bool
GetAsfAVInfo ( System.Guid guid, bool &captureAudio, bool &captureVideo ) : bool

Get Asf audio/video capture information

GetAsfAVInfo ( string filename, bool &captureAudio, bool &captureVideo ) : bool
GetCurrentAsfItem ( ) : System.Guid

Get current Asf item

GetProfileDataFromFile ( string filename, string &profileData ) : bool

Method Details

AddProfileItem() public method

Add profile item to the list
public AddProfileItem ( AsfFormatSelection avformat, IWMProfile profile, System.Guid guid, string filename ) : bool
avformat AsfFormatSelection
profile IWMProfile
guid System.Guid
filename string
return bool

Clear() public method

Empty the collection.
public Clear ( ) : void
return void

ConfigProfileFromFile() public method

Configure profile from file to Asf file writer
public ConfigProfileFromFile ( IBaseFilter asfWriter, string filename ) : bool
asfWriter IBaseFilter
filename string
return bool

Dispose() public method

Release (unmanaged) resources.
public Dispose ( ) : void
return void

GetAsfItemGuid() public method

Return Guid of stored item
public GetAsfItemGuid ( int item ) : System.Guid
item int
return System.Guid

GetCurrentAsfAVInfo() public method

Get information of current Asf item
public GetCurrentAsfAVInfo ( bool &captureAudio, bool &captureVideo ) : bool
captureAudio bool
captureVideo bool
return bool

GetProfileFormatInfo() public method

Get asf profile information
public GetProfileFormatInfo ( AsfFormatSelection avformat ) : bool
avformat AsfFormatSelection
return bool

NbrAsfItems() public method

Return number of stored Asf items
public NbrAsfItems ( ) : int
return int

UpdateAsfAVFormat() public method

Update current Asf audio/video item information
public UpdateAsfAVFormat ( IBaseFilter asfWriter ) : bool
asfWriter IBaseFilter
return bool

UpdateAsfAVFormat() public method

Update Asf audio/video item information
public UpdateAsfAVFormat ( IBaseFilter asfWriter, int asfItem ) : bool
asfWriter IBaseFilter
asfItem int
return bool

this() public method

Get the profile at the specified index.
public this ( int index ) : DirectX.Capture.WMProfileData
index int
return DirectX.Capture.WMProfileData