Patent attributes
A method for line average de-interlacing decodes a picture to form macro blocks (MBs), calculates line average values to form a threshold, produces de-interlacing flags by comparing the line average values and the threshold, realizes Temporal Extension action and performs Devour action. The Temporal Extension action determines if the current de-interlace flag is set as WEAVE, determines if the flags in the same position in other flag buffers are set as BOB and sets the de-interlace flags as BOB2. The Devour action determines if the de-interlace flag is BOB. If positive, it calculates the amount of BOB data within a predetermined area around the current MB, determines if the result is smaller than the BOB threshold and sets the de-interlace flag as WEAVE. Otherwise, it calculates the amount of the WEAVE data, determines if the result is smaller than the WEAVE threshold and sets the de-interlace flag as BOB2.