OSDN Git Service

i965_drv_video: add support for H264 on Clarkdale/Arrandale
[android-x86/hardware-intel-common-libva.git] / i965_drv_video / shaders / h264 / mc / EndIntraThread.asm
1 /*\r
2  * Common module to end current intra thread\r
3  * Copyright © <2010>, Intel Corporation.\r
4  *\r
5  * This program is licensed under the terms and conditions of the\r
6  * Eclipse Public License (EPL), version 1.0.  The full text of the EPL is at\r
7  * http://www.opensource.org/licenses/eclipse-1.0.php.\r
8  *\r
9  */\r
10 // Kernel name: EndIntraThread.asm\r
11 //\r
12 // Common module to end current intra thread\r
13 //\r
14 #ifndef SW_SCOREBOARD\r
15 // Check for write commit first if SW scoreboard is disabled\r
16         mov     (1)     REG_WRITE_COMMIT_Y<1>:ud        REG_WRITE_COMMIT_Y<0;1,0>:ud            // Make sure Y write is committed\r
17         mov     (1)     REG_WRITE_COMMIT_UV<1>:ud       REG_WRITE_COMMIT_UV<0;1,0>:ud           // Make sure U/V write is committed\r
18 #endif\r
19 \r
20         END_THREAD\r
21 \r
22     #include "Intra_funcLib.asm"\r
23 \r
24 #ifndef COMBINED_KERNEL         // For standalone kernel only\r
25 .end_code\r
26 \r
27 .end_kernel\r
28 #endif  // COMBINED_KERNEL\r
29 \r
30 // End of EndIntraThread\r