This filter has no specific data types, but offers the following enumeration for use with its programming interface:
enum REFERENCE_FRAME
{
REF_USEBUFFER,
REF_USENEXTFRAME,
REF_USECOLOR,
};
Type |
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. |
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. |
Sets the reference frame of the movie.
Return
S_OK if connected, S_FALSE otherwise.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.