Patent ID: 8098931

Claim:
A method for adaptively selecting filters to interpolate video data, comprising: receiving the video data encoded by a 4:2:2 sampling format; adaptively selecting filters to convert the color components in the video data to a 4:4:4 sampling format based on differences of luminance and color components among a pixel P, a pixel P_ 1 on the left of the pixel P, a pixel P_ 2 on the left of the pixel P_ 1 , a pixel P_ 3 on the left of the pixel P_ 2 , a pixel P 1 on the right of the pixel P, a pixel P 2 on the right of the pixel P 1 , and a pixel P 3 on the right of the pixel P 2 in the video data, comprising: determining whether a difference between the color components of the pixels P 1 and P_ 1 is larger than a first threshold; if larger than the first threshold, determining whether a difference between the luminances of the pixels P and P 1 is smaller than a second threshold; if smaller than the second threshold, using a full left enhancing filter or a full right enhancing filter to convert the video data; if not smaller than the second threshold, using a center-to-left enhancing filter or a center-to-right enhancing filter to convert the video data; if not larger than the first threshold, determining whether a difference between the luminances of the pixels P and P_ 1 or the pixels P and P 1 is larger than a third threshold; if larger than the third threshold, determining whether a difference between a variation of the luminances among pixels P_ 2 to P and a variation of the luminances among pixels P to P 2 is larger than a forth threshold; if larger than the forth threshold, using the center-to-left enhancing filter or the center-to-right enhancing filter to convert the video data; if not larger than the forth threshold, using a center-to-left loosing filter or a center-to-right loosing filter to convert the video data; and if not larger than the third threshold, using a central averaging filter to convert the video.