Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

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