File: SearchLoopOddAH.inc

package info (click to toggle)
transcode 3%3A1.1.7-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 11,644 kB
  • sloc: ansic: 116,927; sh: 11,468; xml: 2,849; makefile: 1,891; perl: 1,492; pascal: 526; php: 191; python: 144; sed: 43
file content (10 lines) | stat: -rw-r--r-- 557 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
// Searches 1 pixel to the left and right, in both the old
//  and new fields, but takes v-half pel averages. These are odd
// pixel addresses. Any chroma match will not be used. (YUY2)
		__asm
		{
        MERGE4PIXavgH(edi-2, edi+ecx-2, esi+ecx+2, esi+2*ecx+2)  // up left, down right
        MERGE4PIXavgH(edi+2, edi+ecx+2, esi+ecx-2, esi+2*ecx-2)   // up right, down left
        MERGE4PIXavgH(edi+2*ecx-2, edi+ecx-2, esi+ecx+2, esi+2)   // down left, up right
        MERGE4PIXavgH(edi+2*ecx+2, edi+ecx+2, esi+ecx-2, esi-2)   // down right, up left
		}