blob: 063f554f784a89929d47ff7ca89d91143c2880e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/*
* Adjust chrom MV
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.opensource.org/licenses/eclipse-1.0.php.
*
*/
// Kernel name: ChromaMVAdjust.asm
//
//
//#if !defined(__ChromaMVAdjust__) // Make sure this is only included once
//#define __ChromaMVAdjust__
// Chroma MV adjustment
add (1) acc0:w gPARITY:w gREFPARITY:w
cmp.e.f0.0 (1) null:w acc0:w 0x1:w
cmp.e.f0.1 (1) null:w acc0:w 0x100:w
mov (1) gCHRMVADJ:w 0:w
(f0.0) mov (1) gCHRMVADJ:w 2:w
(f0.1) mov (1) gCHRMVADJ:w -2:w
//#endif // !defined(__ChromaMVAdjust__)
|