LEADTOOLS Transforms Help > Filters, Codecs and Interfaces > Video Transforms > Deinterlace Transform > LEAD Video Deinterlace Transform Attributes |
Available as an Add-on to LEADTOOLS Multimedia toolkits. |
The following attributes are supported by the LEAD Video Deinterlace Transform through the IMFAttributes interface.
Data type |
Attribute CLSID |
Description |
UINT32 (BOOL) |
LMF_DEINTERLACE_ENABLED |
Indicates whether deinterlacing is enabled (TRUE) or not (FALSE). |
UINT32 (BOOL) |
LMF_DEINTERLACE_EVEN |
Indicates whether to start with even lines (TRUE) or odd lines (FALSE). |
UINT32 (BOOL) |
LMF_DEINTERLACE_MERGEFIELDS |
Indicates whether to use merge even and odd fields into a single frame. |
UINT32 (BOOL) |
LMF_DEINTERLACE_STARTWITHEVENFRAMES |
Indicates whether to start with an even frame (TRUE) or an odd frame (FALSE) when the DoubleFrameRate property is set to TRUE. |
UINT32 (BOOL) |
LMF_DEINTERLACE_CROP |
Enables or disables the Region Of Interest. When an ROI is defined, the transform acts only on it, ignoring all pixels outside the region. Currently, the region is a rectangle defined by the ROILeft, ROITop, ROIRight and ROIBottom properties. |
UINT32 (long) |
LMF_DEINTERLACE_CROPLEFT |
The left boundary of the ROI rectangle. |
UINT32 (long)
|
LMF_DEINTERLACE_CROPTOP |
The top boundary of the ROI rectangle. |
UINT32 (long)
|
LMF_DEINTERLACE_CROPRIGHT |
The right boundary of the ROI rectangle. |
UINT32 (long)
|
LMF_DEINTERLACE_CROPBOTTOM |
The bottom boundary of the ROI rectangle. |
UINT32 (long) |
LMF_DEINTERLACE_ENABLEDPATTERN |
Enables or disables the global deinterlacing pattern. The global pattern affects all the frames in the stream. With patterns, either global or segment specific, you can define what frames will be deinterlaced or ignored. The pattern is defined using 3 parameters: 1.The preamble frames: a group of frames at the beginning of the stream or segment. You can choose whether the preamble frames will be deinterlaced. 2.No-Deinterlace frames: a group of frames, following the preamble frames, that will be ignored. No deinterlacing is applied. 3.Deinterlace frames: a group of frames, following the No-Deinterlace frames, that will be deinterlaced.
|
UINT32 (SEGMENT_TIME_FORMAT) |
LMF_DEINTERLACE_SEGMENTSTIMEFORMAT |
Value that specifies the time format used to define segments. Possible values are: SEGMENT_TIME_FORMAT_FRAME: The time format is Frames, which is zero based. SEGMENT_TIME_FORMAT_TIME: The time format is Time, defined by hours, minutes, seconds, and milliseconds. The time of the first frame is zero (all fields). |
UINT32 (BOOL) |
LMF_DEINTERLACE_ENABLEPROTECTEDAREA |
Enables or disables the protected area. The protected area, a rectangle, is defined by its 4 boundaries, and is an area that will be excluded from deinterlacing. The protected area is independent of the ROI and the 2 regions can have any settings in the allowed range. |
UINT32 (BOOL) |
LMF_DEINTERLACE_AUTO |
Enable/Disable the auto deinterlace option. This will automatically deinterlace frames that need deinterlacing. |
double |
LMF_DEINTERLACE_AUTODEINTERLACESENSITIVITY
|
Specifies when deinterlacing is necessary. Values range between 0.001 and 8.000. The default is 1.000. Values lower than 1.000 increase the chance a frame will be considered interlaced. With low values, deinterlacing may be performed even when the interlaced effect is on a small portion of the image.
|
UINT32 (long) |
LMF_DEINTERLACE_PROTECTEDAREALEFT |
left boundary of the protected area. The possible range for the left boundary is from zero to the right boundary minus one. Note: this attribute can also be accessed through the methods GetProtectedAreaParams and SetProtectedAreaParams using the transform interface. |
UINT32 (long) |
LMF_DEINTERLACE_PROTECTEDAREARIGHT |
The right boundary of the protected area. The possible range for the right boundary is from the left boundary plus one to the current video width. Note: this attribute can also be accessed through the methods GetProtectedAreaParams and SetProtectedAreaParams using the transform interface. |
UINT32 (long) |
LMF_DEINTERLACE_PROTECTEDAREATOP |
The top boundary of the protected area. The possible range for the top boundary is from zero to the bottom boundary minus one. Note: this attribute can also be accessed through the methods GetProtectedAreaParams and SetProtectedAreaParams using the transform interface. |
UINT32 (long) |
LMF_DEINTERLACE_PROTECTEDAREABOTTOM |
The bottom boundary of the protected area. The possible range for the bottom boundary is from the top boundary plus one to the current video height. Note: this attribute can also be accessed through the methods GetProtectedAreaParams and SetProtectedAreaParams using the transform interface. |
For more information on how to use the Transform Attributes, refer to Using Media Foundation Transform Attributes.