Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. /*
  2.  * Copyright © <2010>, Intel Corporation.
  3.  *
  4.  * This program is licensed under the terms and conditions of the
  5.  * Eclipse Public License (EPL), version 1.0.  The full text of the EPL is at
  6.  * http://www.opensource.org/licenses/eclipse-1.0.php.
  7.  *
  8.  */
  9. // Kernel name: Recon_C_4x4.asm
  10. //
  11. //  $Revision: 11 $
  12. //  $Date: 10/03/06 5:28p $
  13. //
  14.  
  15.  
  16. //#if !defined(__RECON_C_4x4__)         // Make sure this is only included once
  17. //#define __RECON_C_4x4__
  18.  
  19.  
  20.         // TODO: Use instruction compression
  21.         add.sat (4) r[pERRORC,0]<2>:ub                  r[pERRORC,0]<4;4,1>:w                   gubCPRED(0)<16;4,4>
  22.         add.sat (4) r[pERRORC,128]<2>:ub                r[pERRORC,128]<4;4,1>:w                 gubCPRED(0,2)<16;4,4>
  23.         add.sat (4) r[pERRORC,32]<2>:ub                 r[pERRORC,32]<4;4,1>:w                  gubCPRED(1)<16;4,4>
  24.         add.sat (4) r[pERRORC,128+32]<2>:ub             r[pERRORC,128+32]<4;4,1>:w              gubCPRED(1,2)<16;4,4>
  25.        
  26.         add.sat (4) r[pERRORC,16]<2>:ub                 r[pERRORC,16]<4;4,1>:w                  gubCPRED(0,16)<16;4,4>
  27.         add.sat (4) r[pERRORC,128+16]<2>:ub             r[pERRORC,128+16]<4;4,1>:w              gubCPRED(0,18)<16;4,4>
  28.         add.sat (4) r[pERRORC,48]<2>:ub                 r[pERRORC,48]<4;4,1>:w                  gubCPRED(1,16)<16;4,4>
  29.         add.sat (4) r[pERRORC,128+48]<2>:ub             r[pERRORC,128+48]<4;4,1>:w              gubCPRED(1,18)<16;4,4>
  30.  
  31.         // Increase chroma error block offset  
  32. #ifndef MONO
  33.         add (1)         pERRORC:w                       pERRORC:w                                               8:w
  34. #endif
  35.  
  36.        
  37. //#endif        // !defined(__RECON_C_4x4__)
  38.