Operates the parameters of codecs
Methods
AttributesBoolGet
Gets value of attribute. This method works only with attributes, whose values are boolean.
Syntax
void AttributesBoolGet( string _bsName, out int _pbValue )
Parameters
_bsName - name of attribute
_pbValue - value of attribute
AttributesBoolSet
Sets value to attribute. This method works only with attributes, whose values are boolean.
Syntax
void AttributesBoolSet( string _bsName, int _bValue )
Parameters
_bsName - name of attribute
_bValue - value of attribute
AttributesClone
Creates a copy of attributes.
Syntax
void AttributesClone( out IMAttributes _ppClone )
Parameters
_ppClone - copy of attributes
AttributesDoubleGet
Gets value of attribute. This method works only with attributes, whose values are double.
Syntax
void AttributesDoubleGet( string _bsName, out double _pdblValue )
Parameters
_bsName - name of attribute
_pdblValue - value of attribute
AttributesDoubleSet
Sets value to attribute. This method works only with attributes, whose values are double.
Syntax
void AttributesDoubleSet( string _bsName, double _dblValue )
Parameters
_bsName - name of attribute
_dblValue - value of attribute
AttributesGetByIndex
Gets attribute by its index.
Syntax
void AttributesGetByIndex( int _nIndex, out string _pbsName, out string _pbsValue )
Parameters
_nIndex - index of attribute
_pbsName - name of attribute
_pbsValue - value of attribute
AttributesGetCount
Gets count of attributes.
Syntax
void AttributesGetCount( out int _pnCount )
Parameters
_pnCount - a number of attributes
AttributesHave
Indicates whether the attribute exists.
Syntax
void AttributesHave( string _bsName, out int _pbHave, out string _pbsValueOrDefault )
Parameters
_bsName - name of the attribute
_pbHave - "0" means that the attribute does not exist. "1" means that the attribute exists.
_pbsValueOrDefault - value of the attribute if it exists or default value in other case
AttributesInfoGet
Get attribute information (see eMInfoType for details)
Syntax
void AttributesInfoGet( string _bsName, eMInfoType _eType, out string _pbsInfo )
Parameters
_bsName - name of attribute
_eType - type of attribute information
_pbsInfo - additional information
AttributesInfoGetByIndex
Get attribute information by index of the attribute.
Syntax
void AttributesInfoGetByIndex( int _nIndex, out string _pbsName )
Parameters
_nIndex - index of the attribute
_pbsName - name of the attribute
AttributesInfoGetCount
Gets the count of attribute information fields.
Syntax
void AttributesInfoGetCount( out int _pnCount )
Parameters
_pnCount - number of information fields
AttributesIntGet
Gets value of attribute. This method works only with attributes, whose values are integer.
Syntax
void AttributesIntGet( string _bsName, out int _pnValue )
Parameters
_bsName - name of attribute
_pnValue - value of attribute
AttributesIntSet
Sets value of attribute. This method works only with attributes, whose values are integer.
Syntax
void AttributesIntSet( string _bsName, int _nValue )
Parameters
_bsName - name of attribute
_nValue - value of attribute
AttributesMultipleSet
Sets values to collection of attributes.
Syntax
void AttributesMultipleSet( string _bsAttributesList, eMUpdateType _eUpdateType )
Parameters
_bsAttributesList - list of attributes with their values
_eUpdateType - type of update
AttributesRemove
Removes the attribute.
Syntax
void AttributesRemove( string _bsName )
Parameters
_bsName - name of attribute
AttributesRemoveAll
Removes all attributes.
Syntax
void AttributesRemoveAll()
AttributesSave
Saves all attributes to string.
Syntax
void AttributesSave( out string _pbsAttributesList )
Parameters
_pbsAttributesList - list of attributes
AttributesSet
Sets multiple attributes.
Syntax
void AttributesSet( IMAttributes _pAttributesList, eMUpdateType _eUpdateType )
Parameters
_pAttributesList - list of attributes
_eUpdateType - type of update
AttributesStringGet
Gets value of attribute. This method works only with attributes, whose values are strings.
Syntax
void AttributesStringGet( string _bsName, out string _pbsValue )
Parameters
_bsName - name of attribute
_pbsValue - value of attribute
AttributesStringSet
Sets value of attribute. This method works only with attributes, whose values are strings.
Syntax
void AttributesStringSet( string _bsName, string _bsValue )
Parameters
_bsName - name attribute
_bsValue - value of attribute
AttributesValuesInfoGet
Gets information about values of the attribute
Syntax
void AttributesValuesInfoGet( string _bsName, string _bsValue, string _bsType, out string _pbsInfo )
Parameters
_bsName - attribute name
_bsValue - value of attribute
_bsType - type of attribute
_pbsInfo - information about the attribute
ConfigGet
Gets the option of the specified type with its attributes.
Syntax
void ConfigGet( string _bsType, out string _pbsName, out IMAttributes _ppConfigProps )
Parameters
_bsType - type of the option
_pbsName - value of the option
_ppConfigProps - properties of the option
ConfigGetAll
Gets all properties of configuration.
Syntax
void ConfigGetAll( int _bAttributesLine, out string _pbsAttributesLineOrXML )
Parameters
_bAttributesLine - "0" is to return properties as XML, "1" is to return properties as simple string
_pbsAttributesLineOrXML - properties of configuration
ConfigGetByIndex
Gets the option of the certain type by its index.
Syntax
void ConfigGetByIndex( string _bsType, int _nIndex, out string _pbsName )
Parameters
_bsType - type of the option
_nIndex - index of the option
_pbsName - value of the option
ConfigGetCount
Gets count of the certain type options.
Syntax
void ConfigGetCount( string _bsType, out int _pnCount )
Parameters
_bsType - type of the option
_pnCount - number of options
ConfigSet
Sets the option of the specified type and gets its attributes for setting the properties of this option.
Syntax
void ConfigSet( string _bsType, string _bsName, out IMAttributes _ppConfigProps )
Parameters
_bsType - type of the option
_bsName - value of the option
_ppConfigProps - attributes of the option
ConfigSetAll
Sets all properties of configuration.
Syntax
void ConfigSetAll( string _bsAttributesLineOrXML )
Parameters
_bsAttributesLineOrXML - properties of configuration as XML or simple string
ConfigShowProps
Shows properties of the specified type. Reserved for future usage.
Syntax
void ConfigShowProps( string _bsType, string _bsPropsType, long _lWndHandle )
Parameters
_bsType - type of the option
_bsPropsType - type of the properties
_lWndHandle - handle of the window
ConfigTypesGetByIndex
Gets an option type by its index.
Syntax
void ConfigTypesGetByIndex( int _nIndex, out string _pbsSubType )
Parameters
_nIndex - index of the option' type
_pbsSubType - type of the option (for example "format", "format::video")
ConfigTypesGetCount
Gets the count of option types.
Syntax
void ConfigTypesGetCount( out int _pnCount )
Parameters
_pnCount - number of types