Available in LEADTOOLS Multimedia toolkits. |
ILMVDeblock Interface
Data Types
This filter has no specific data types, but offers the following enumeration for use with its programming interface:
enum DEBLOCKMETHOD
{
DEBLOCK_TWOLINES = 0,
DEBLOCK_FOURLINES
};
Describes the deblocking algorithms.
Interface Properties
Type |
Name |
Description |
VARIANT_BOOL |
Enabled |
Enable/Disable Deblocking. If set to VARIANT_FALSE, the filter will pass the video samples intact. |
long |
DeblockAlgorithm |
One of the supported deblocking algorithms offered by this filter. Possible values are: DEBLOCK_TWOLINES, or DEBLOCK_FOURLINES |
long |
BlockWidth |
The expected block width in the passing stream. Possible values range from 2 to half of the passing sample width. If the filter input pin is not connected, the filter assumes dimensions of 1600 X 1600. For any value below the lower limit, a minimum value of 2 will be used. For any value beyond the upper limit, the maximum possible value will be used. Default value is 8. |
long |
BlockHeight |
The expected block height in the passing stream. Possible values range from 2 to half of the passing sample height. If the filter input pin is not connected, the filter assumes dimensions of 1600 X 1600. For any value below the lower limit, a minimum value of 2 will be used. For any value beyond the upper limit, the maximum possible value will be used. Default value is 8. |
long |
HorizontalOffset |
Offset from the beginning of the sample buffer to the actual (desired) horizontal start. Default value is zero. |
long |
VerticalOffset |
Offset from the beginning of the sample buffer to the actual (desired) vertical start. Default value is zero. |
BYTE |
EdgeThreshold |
The threshold is used to preserve hard edges in the image. If the edge in the video sample is greater than the threshold, then it will be preserved, otherwise it is smoothed. A value of 0 preserves all the edges in the original video sample, while a value of 255 will smooth all the edges. Modify the Threshold value if you want to preserve some edges. If you do not wish to preserve any edges, set EdgeThreshold to 255. This property is only used if the DeblockAlgorithm property is DEBLOCK_FOURLINES. If the DeblockAlgorithm is DEBLOCK_TWOLINES, the EdgeThreshold property is ignored. |
VARIANT_BOOL |
IsLEADInputPinConnected |
Read only. Gets the filters input pin connection state. VARIANT_TRUE if connected, and VARIANT_FALSE otherwise. |
VARIANT_BOOL |
IsLEADOutputPinConnected |
Read only. Gets the filters output pin connection state. VARIANT_TRUE if connected, and VARIANT_FALSE otherwise. |
long |
InWidth |
Read only. Gets the input video stream width in pixels. Should hold the same value as the OutWidth property. |
long |
InHeight |
Read only. Gets the input video stream height in pixels. Should hold the same value as the OutHeight property. |
long |
OutWidth |
Read only. Gets the output video stream width in pixels. Should hold the same value as the InWidth property. |
long |
OutHeight |
Read only. Gets the output video stream height in pixels. Should hold the same value as the InHeight property. |
long |
InBits |
Read only. Gets the input video stream bits per pixel. Should hold the same value as the OutBits property. |
long |
OutBits |
Read only. Gets the input video stream bits per pixel. Should hold the same value as the InBits property. |