Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. /*
  2.  * Initial setup for running HWMC kernels in HWMC-Only decoding mode
  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: SetupForHWMC.asm
  11. //
  12. // Initial setup for running HWMC kernels in HWMC-Only decoding mode
  13. //
  14. #include "header.inc"
  15. #include "intra_Header.inc"
  16.  
  17. #if !defined(__SETUPFORHWMC__)  // Make sure the following are only included once
  18. #define __SETUPFORHWMC__
  19.  
  20. .reg_count_total    64
  21. .reg_count_payload  2
  22.  
  23. //
  24. //  Now, begin source code....
  25. //
  26.  
  27. .code
  28. #endif  // !defined(__SETUPFORHWMC__)
  29.  
  30.     mov (8)     MSGSRC<1>:ud    r0.0<8;8,1>:ud                  // Initialize message header payload with R0
  31.         shl (2) I_ORIX<1>:uw    ORIX<2;2,1>:ub  4:w             // Convert MB origin to pixel unit
  32.  
  33. // End of SetupForHWMC
  34.