~ubuntu-branches/ubuntu/natty/libva/natty

« back to all changes in this revision

Viewing changes to i965_drv_video/shaders/h264/mc/SetupForHWMC.asm

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler, Artur Rona, Reinhard Tartler
  • Date: 2011-02-13 19:01:16 UTC
  • mfrom: (3.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110213190116-wy9fqh71nmomiacl
Tags: 1.0.8-3
[ Artur Rona ]
* Update library dependencies to fix FTBFS properly.

[ Reinhard Tartler ]
* Disable i965 driver on hurd-i386, Closes: #613102

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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