Debian Codegraph @

gst/deinterlace/tvtime/tomsmocomp/SearchLoop0A.inc

raw
1 // -*- c++ -*-
2
3 // Searches just the center pixel, in both the old
4 // and new fields, but takes averages. This is an even
5 // pixel address. Any chroma match will be used. (YUY2)
6 // We best like finding 0 motion so we will bias everything we found previously
7 // up by a little, and adjust later
8
9 #ifdef IS_SSE2
10 "paddusb "_ONES", %%xmm7\n\t" // bias toward no motion
11 #else
12 "paddusb "_ONES", %%mm7\n\t" // bias toward no motion
13 #endif
14
15 MERGE4PIXavg("(%%"XDI", %%"XCX")", "(%%"XSI", %%"XCX")") // center, in old and new