Available in LEADTOOLS Multimedia toolkits. |
ILMVDynRateCtrl Interface
This is the interface for the LEAD Video Dynamic Rate Control Filter .
typedef enum LMVDynRate_APILEVEL
{
LMVDynRate_APILEVEL_1 = 0
} LMVDynRate_APILEVEL
The LMVDynRate_APILEVEL enumeration type describes API version levels for this filter's default settings.
Member |
Description |
LMVDynRate_APILEVEL_1 |
API Version 1 defaults. Enabled=TRUE, Rate=1.0 |
Interface Properties:
Type |
Name |
Description |
VARIANT_BOOL |
Enable |
Set to VARIANT_TRUE to enable the filter. If set to VARIANT_FALSE, the filter will pass the video stream as is, without changing the frame rate. |
double |
Rate |
Sets or gets the dynamic playback rate, relative to input sample times. Eg. 1.0 = 1x (orginal input stream playback rate), .5 = 1/2x (half as fast as original input rate), 2.0 = 2x (twice as fast as original input rate) |
Methods:
HRESULT ResetToDefaultsEx( LMVDynRate_APILEVEL ApiLevel )
Description:
Resets the filter properties to their
default values based on the API Level version passed.
Comments:
The method will fail if the filter is in the running state.
Returns:
S_OK |
Success |
VFW_E_WRONG_STATE |
The filter is in the wrong state. |