Describes the mosaic effect properties.
typedef struct
{
long lSquareSize;
BOOL bEnabled;
long lDSquareSize;
BOOL bDEnabled;
} MOSAIC_ATTRIBUTES;
Size of the mosaic square, 1 to 64.
Indicates weather Mosaic effect is enabled (TRUE) or not (FALSE).
Default square size. Original default value is 1.
Default mosaic Enable value. Original default value is TRUE.
Describes the area exposed to the mosaic effect.
typedef struct
{
long lLeft;
long lTop;
long lRight;
long lBottom;
BOOL bEnabled;
long lDLeft;
long lDTop;
long lDRight;
long lDBottom;
BOOL bDEnabled;
} CROP_ATTRIBUTES;
The left coordinate of the effect area rectangle.
The top coordinate of the effect area rectangle.
The right coordinate of the effect area rectangle.
The bottom coordinate of the effect area rectangle.
Enables (TRUE) or disables (FALSE) the effect area.
Default left. Original value is 0.
Default top. Original value is 0.
Default right. Original value is 1.
Default bottom. Original value is 1.
Default effect area enable status.
Determines whether the filter input pin is currently connected.
Return | Description |
---|---|
S_OK | Connected. |
S_FALSE | Otherwise. |
Determines whether the filter output pin is currently connected.
Return | Description |
---|---|
S_OK | Connected. |
S_FALSE | Otherwise. |
Sets the properties for the mosaic effect.
A MOSIAC_ATTRIBUTES structure that contains the mosaic attributes to set.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |
Retrieves the current mosaic attributes.
A valid pointer to a MOSIAC_ATTRIBUTES structure to be updated with the current mosaic attributes.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |
Sets the effect area attributes.
A CROP_ATTRIBUTES structure that contains the effect area attributes to set.
If successful, effect is applied only to the passed rectangle.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |
Retrieves the current effect area attributes.
A valid pointer to a CROP_ATTRIBUTES structure to be updated with the current effect area attributes.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |
Retrieves the current media dimensions.
A valid pointer to a long variable to be updated with the input media width. NULL can be passed if this value is not needed.
A valid pointer to a long variable to be updated with the input media height. NULL can be passed if this value is not needed.
A valid pointer to a long variable to be updated with the output media width. NULL can be passed if this value is not needed.
A valid pointer to a long variable to be updated with the output media height. NULL can be passed if this value is not needed.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |
Gets the bits per pixel of the current connected input and output media formats.
A valid pointer to an integer to be updated with the input media bits per pixel value. NULL can be passed if this value is not needed.
A valid pointer to an integer to be updated with the output media bits per pixel value. NULL can be passed if this value is not needed.
Return | Description |
---|---|
S_OK | Successful. |
S_FALSE | Otherwise. |