ILMVBright Interface
Data types:
REFERENCE_FRAME
enum REFERENCE_FRAME
{
REF_USEBUFFER,
REF_USENEXTFRAME,
REF_USECOLOR,
};
ILMVBright Interface
Properties:
Type |
Property name |
Description |
VARIANT_BOOL |
Enabled |
Enables or disables the effect. If set to VARIANT_FALSE, the filter will pass the video samples intact. |
VARIANT_BOOL |
FirstFrameIsReference |
Enables or disables setting the first frame in every play session as the reference frame. If this is VARIANT_TRUE, the first frame in every play session will be set as the reference frame (Usually the first frame in a movie). |
Long |
Threshold |
Value used to control an object's detection level. A lower threshold provides stronger object detection. Range: 1 to 100. |
Long |
Brightness |
Value used to control the amount of the intensity. The intensity ranges from -1000 to 1000. A positive value increases (or lightens) the brightness of the bitmap image. A negative value decreases (or darkens) the brightness of the bitmap image. |
Methods:
Method |
Parameters |
Description |
||
SetReferenceFrame |
byte* pBuffer, [in] long lRGBColor, [in] REFERENCE_FRAME opt |
Sets the reference frame of the movie. |
||
|
|
Parameters |
Description |
|
|
|
pBuffer |
Buffer contains the reference frame. This buffer should have the same dimensions (width and height), and the same bits per pixel as the movie. |
|
|
|
lRGBColor |
Pixel color (RGB 24-bit). The reference frame will be set as a solid frame with the color specified in this parameter. |
|
|
|
Opt |
Flag that controls the reference frame. Possible values are: |
|
|
|
|
Value |
Meaning |
|
|
|
REF_USEBUFFER |
only the pBuffer member is used. |
|
|
|
REF_USENEXTFRAME |
the next frame in the movie is taken as the reference frame. |
|
|
|
REF_USECOLOR |
the lRGBColor parameter is used. |