Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * All Video Processing kernels
  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.  
  11. // Module name: PL8x8_PL8x4.asm
  12. //
  13. // Convert PL 8x8 to PL8x4 in GRF
  14. //---------------------------------------------------------------
  15. //  Symbols needed to be defined before including this module
  16. //
  17. //      DWORD_ALIGNED_DEST:     only if DEST_Y, DEST_U, DEST_V data are DWord aligned
  18. //      ORIX:
  19. //---------------------------------------------------------------
  20.  
  21. #include "PL8x8_PL8x4.inc"
  22.  
  23. // Convert PL8x8 to PL8x4 ---------------------------------------------------------
  24.  
  25.   mov (8) ubDEST_U(0,16)<2> ubDEST_U(1)<16;8,2> //selecting U every other row
  26.   mov (16) ubDEST_U(0,32)<2> ubDEST_U(2)<32;8,2> //selecting U every other row
  27.   mov (8) ubDEST_V(0,16)<2> ubDEST_V(1)<16;8,2> //selecting V every other row
  28.   mov (16) ubDEST_V(0,32)<2> ubDEST_V(2)<32;8,2> //selecting V every other row
  29.  
  30. // End of PL8x8_PL8x4.asm -------------------------------------------------------