Patent attributes
A system detects a screen tear in a display device for frames of video by retrieving an identification code associated with each pixel row of the frame of video and analyzing identification codes across the pixel rows of the frame of the video to detect occurrence of a screen tear. To support compressed (e.g., lossy) video data, the identification code associated with each pixel row of the frame of video is inserted into the most significant bit (or bits) of a color channel of a first pixel of the pixel row. Identification codes across the pixel rows of the frame of the video are then compared for tear detection. Because modification of the most significant bit of a color channel of a pixel may result in color distortion, the pixels including inserted identification codes are hidden from view by the display device.