Available in LEADTOOLS Multimedia toolkits. |
ILMVAddDisp Interface
Type |
Name |
Description |
BOOL |
Enable |
TRUE to enable the effect. |
BOOL |
PreserveFrameRate |
TRUE to use previous frames to enhance frame rate, the output is not exactly the same as when setting this member to FALSE. |
BOOL |
Average |
TRUE to enable frame averaging. |
int |
Frames |
Number of frames to add. |
BOOL |
IsLEADInputPinConnected |
Read only; returns TRUE if the filter’s input pin is connected. |
BOOL |
IsLEADOutputPinConnected |
Read only; returns TRUE if the filter’s output pin is connected. |
long |
InWidth |
Read only; the input stream width. |
long |
InHeight |
Read only; the input stream height. |
long |
OutWidth |
Read only; the output stream width. |
long |
OutHeight |
Read only; the output stream height. |
long |
InBits |
Read only; the input stream bits per pixel. |
long |
OutBits |
Read only; the output stream bits per pixel. |
Parameters
index: |
an integer variable that holds the frame index for which to get the factor. |
pVal: |
a valid pointer to an integer to be updated with the frame factor. |
Description
Retrieves the factor of some frame in the currently active array of frames.
Returns
S_OK: Success.
E_POINTER: Invalid pointer passed.
E_INVALIDARG: Invalid parameter passed.
Parameters
index: |
an integer variable that holds the frame index for which the factor is to be set. |
newVal: |
an integer variable that holds the new frame factor value. |
Description
Sets the factor of some frame in the currently active array of frames.
Returns
S_OK: Success.
E_INVALIDARG: Invalid parameter passed.