This filter has no specific data types, but includes the following enumeration for use with its programming interface:
Specifies the reference frame.
enum REFERENCE_FRAME
{
REF_USEBUFFER,
REF_USENEXTFRAME,
REF_USECOLOR,
};
Only the pBuffer member is used.
The next frame in the movie is taken as the reference frame.
The lRGBColor parameter is used.
Type | Name | Description |
---|---|---|
VARIANT_BOOL | Enabled | Enables or disables the effect. If set to VARIANT_FALSE, the filter will pass the video samples intact. |
long | Hue | Value used to change the color of the effect. Hue is a color wheel (360 degree). Range: 0 to 360. |
VARIANT_BOOL | LineNoise | Show/hide a noise line. If this property is VARIANT_TRUE, the noise line appears as it is moving from the bottom to the top. |
long | Noise | Gets or sets the noise density. Range: 1 to 100. |
VARIANT_BOOL | FirstFrameIsReference | Enables or disables setting the first frame in every play session as the reference frame. Possible values are: |
• VARIANT_TRUE - the first frame in every play session will be set as the reference frame (Usually the first frame in a movie). | ||
• VARIANT_FALSE - then the reference frame should be set manually after a number of frames. Setting this property after the stream starts will have no effect. | ||
long | Threshold | Value used to control an object's detection level. A lower threshold provides stronger object detection. Range : 1 to 100. |
VARIANT_BOOL | NoReferenceFrame | Flag that controls the reference frame. Possible values are: |
• VARIANT_TRUE - the reference frame is assumed to be a black buffer. | ||
• VARIANT_FALSE - the reference frame will be the frame set by the user through theSetReferenceFrame method or by setting the FirstFrameAsReference property. |
Sets the reference frame of the movie.
Buffer contains the reference frame. This buffer should have the same dimensions (width and height), and the same bits per pixel as the movie.
Pixel color (RGB 24-bit). The reference frame will be set as a solid frame with the color specified in this parameter.
Flag that controls the reference frame.
Return | Description |
---|---|
S_OK | Connected. |
S_FALSE | Otherwise. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document