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 / ildb / AVC_ILDB_Spawn.asm
1 /*\r
2  * Copyright © <2010>, Intel Corporation.\r
3  *\r
4  * This program is licensed under the terms and conditions of the\r
5  * Eclipse Public License (EPL), version 1.0.  The full text of the EPL is at\r
6  * http://www.opensource.org/licenses/eclipse-1.0.php.\r
7  *\r
8  */\r
9 //=============== Spawn a child thread for a vertical child ===============\r
10 \r
11 #if defined(_DEBUG) \r
12         mov     (1)             EntrySignature:w        0x6666:w\r
13 #endif\r
14         \r
15         mul     (1)             URBOffset:uw            CurRow:uw               2:w // 5:w                      // Each row uses 5 URB entries (R0, child R0, 3 GRFs of data from left MB)\r
16 \r
17         mov (8)         CT_R0Hdr.0:ud           r0.0<8;8,1>:ud                          // Init to root R0 header\r
18         \r
19         // R0.2: Interface Discriptor Ptr.  Add offset 16 for next Interface Discriptor for child kernel\r
20         add (1)         CT_R0Hdr.2:ud           r0.2:ud                 IDesc_Child_Offset:w\r
21         \r
22         #include "AVC_ILDB_SpawnChild.asm"\r