Add the conversion from YUYV to NV12/I420
authorZhao Yakui <yakui.zhao@intel.com>
Fri, 21 Jun 2013 02:17:02 +0000 (10:17 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 27 Feb 2014 02:22:18 +0000 (10:22 +0800)
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
src/i965_post_processing.c
src/shaders/post_processing/gen8/Makefile.am
src/shaders/post_processing/gen8/Set_AVS_Buf_0123_VYUA.g8a [new file with mode: 0644]
src/shaders/post_processing/gen8/pa_to_pl2.asm [new file with mode: 0644]
src/shaders/post_processing/gen8/pa_to_pl2.g8b [new file with mode: 0644]
src/shaders/post_processing/gen8/pa_to_pl3.asm [new file with mode: 0644]
src/shaders/post_processing/gen8/pa_to_pl3.g8b [new file with mode: 0644]

index 78405b5..87c9000 100755 (executable)
@@ -1205,10 +1205,10 @@ static const uint32_t pp_pl3_load_save_pa_gen8[][4] = {
 #include "shaders/post_processing/gen8/pl3_to_pa.g8b"
 };
 static const uint32_t pp_pa_load_save_nv12_gen8[][4] = {
-#include "shaders/post_processing/gen7/pa_to_pl2.g75b"
+#include "shaders/post_processing/gen8/pa_to_pl2.g8b"
 };
 static const uint32_t pp_pa_load_save_pl3_gen8[][4] = {
-#include "shaders/post_processing/gen7/pa_to_pl3.g75b"
+#include "shaders/post_processing/gen8/pa_to_pl3.g8b"
 };
 static const uint32_t pp_rgbx_load_save_nv12_gen8[][4] = {
 #include "shaders/post_processing/gen8/rgbx_to_nv12.g8b"
index 776803e..ddb53cd 100644 (file)
@@ -7,6 +7,8 @@ INTEL_PP_G8B = \
        rgbx_to_nv12.g8b        \
        pl2_to_pa.g8b           \
        pl3_to_pa.g8b           \
+       pa_to_pl2.g8b           \
+       pa_to_pl3.g8b           \
        $(NULL)
 
 INTEL_PP_G8A = \
@@ -30,6 +32,7 @@ INTEL_PP_G8A = \
        Set_AVS_Buf_0123_PL2.g8a        \
        Set_AVS_Buf_0123_PL3.g8a        \
        Set_AVS_Buf_0123_BGRA.g8a       \
+       Set_AVS_Buf_0123_VYUA.g8a       \
        YUV_to_RGB.g8a                  \
        RGB_to_YUV.g8a                  \
        Set_Layer_0.g8a                 \
diff --git a/src/shaders/post_processing/gen8/Set_AVS_Buf_0123_VYUA.g8a b/src/shaders/post_processing/gen8/Set_AVS_Buf_0123_VYUA.g8a
new file mode 100644 (file)
index 0000000..3573e2b
--- /dev/null
@@ -0,0 +1,366 @@
+/*
+ *  Copyright 2000-2011 Intel Corporation All Rights Reserved
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+//    7    // Total instruction count
+//    1    // Total kernel count
+
+
+
+// Module name: common.inc
+//
+// Common header file for all Video-Processing kernels
+//
+
+.default_execution_size (16)
+.default_register_type  :ub
+
+.reg_count_total        128
+.reg_count_payload      7
+
+//========== Common constants ==========
+
+
+//========== Macros ==========
+
+
+//Fast Jump, For more details see "Set_Layer_N.asm"
+
+
+//========== Defines ====================
+
+//========== Static Parameters (Common To All) ==========
+//r1
+
+
+//r2
+
+                                    //  e.g.            byte0   byte1  byte2
+                                    // YUYV               0       1      3
+                                    // YVYU               0       3      1
+
+//Color Pipe (IECP) parameters
+
+
+//ByteCopy
+
+
+//r4
+
+                                    //  e.g.              byte0           byte1           byte2
+                                    // YUYV                 0               1               3
+                                    // YVYU                 0               3               1
+
+
+//========== Inline parameters (Common To All) ===========
+
+
+//============== Binding Index Table===========
+//Common between DNDI and DNUV
+
+
+//================= Common Message Descriptor =====
+// Message descriptor for thread spawning
+// Message Descriptors
+//                = 000 0001 (min message len 1 ) 0,0000 (resp len 0   -add later)
+//                  0000,0000,0000
+//                  0001(Spawn a root thread),0001 (Root thread spawn thread)
+//                = 0x02000011
+// Thread Spawner Message Descriptor
+
+
+// Message descriptor for atomic operation add
+// Message Descriptors
+//                = 000 0110 (min message len 6 ) 0,0000 (resp len 0   -add later)
+//                  1(header present)001,10(typed atomic operation)0(return enabled)0(slot group, low 8 bits),0111 (AOP_Add)
+//                  0000,0000 (Binding table index, added later)
+//                = 0x02000011
+
+// Atomic Operation Add Message Descriptor
+
+
+// Message descriptor for dataport media write
+        // Message Descriptors
+                //                = 000 0001 (min message len 1 - add later) 00000 (resp len 0)
+                //                  1 (header present 1) 0 1010 (media block write) 000000
+                //                  00000000 (binding table index - set later)
+                //                = 0x020A8000
+
+
+// Message Length defines
+
+
+// Response Length defines
+
+
+// Block Width and Height Size defines
+
+
+// Extended Message Descriptors
+
+
+// Common message descriptors:
+
+
+//===================== Math Function Control ===================================
+
+
+//============ Message Registers ===============
+                             // buf4 starts from r28
+
+
+//#define mMSGHDR_EOT  r43    // Dummy Message Register for EOT
+
+
+.declare    mubMSGPAYLOAD  Base=r30 ElementSize=1 SrcRegion=<16;16,1> Type=ub
+.declare    muwMSGPAYLOAD  Base=r30 ElementSize=2 SrcRegion=<16;16,1> Type=uw
+.declare    mudMSGPAYLOAD  Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=ud
+.declare    mfMSGPAYLOAD   Base=r30 ElementSize=4 SrcRegion=<8;8,1> Type=f
+
+//=================== End of thread instruction ===========================
+
+
+//=====================Pointers Used=====================================
+
+
+//=======================================================================
+
+
+//r9-r17
+// Define temp space for any usages
+
+
+// Common Buffers
+
+
+// temp space for rotation
+
+.declare fROBUF                  Base=r9.0             ElementSize=4           SrcRegion=<8;8,1>                 DstRegion=<1>         Type=f
+
+.declare udROBUF               Base=r9.0               ElementSize=4           SrcRegion=<8;8,1>                 DstRegion=<1>         Type=ud
+
+.declare uwROBUF               Base=r9.0               ElementSize=2           SrcRegion=<16;16,1>             DstRegion=<1>           Type=uw
+
+.declare ubROBUF               Base=r9.0               ElementSize=1           SrcRegion=<16;16,1>             DstRegion=<1>           Type=ub
+
+.declare ub4ROBUF      Base=r9.0               ElementSize=1           SrcRegion=<32;8,4>              DstRegion=<4>           Type=ub
+
+
+// End of common.inc
+
+
+//Module Name: Set_AVS_Buf_0123_VYUA.asm
+
+
+
+//Module Name: Set_Buf_0123_VYUA
+
+
+
+
+// Description: Includes all definitions explicit to Fast Composite.
+
+
+
+
+// End of common.inc
+
+
+//========== GRF partition ==========
+     // r0 header            :   r0          (1 GRF)
+     // Static parameters    :   r1 - r6     (6 GRFS)
+     // Inline parameters    :   r7 - r8     (2 GRFs)
+     // MSGSRC               :   r27         (1 GRF)
+//===================================
+
+//Interface:
+//========== Static Parameters (Explicit To Fast Composite) ==========
+//r1
+//CSC Set 0
+
+
+.declare udCSC_CURBE    Base=r1.0      ElementSize=4       Type=ud
+
+//Constant alpha
+
+
+//r2
+
+
+// Gen7 AVS WA
+
+
+// WiDi Definitions
+
+
+//Colorfill
+
+
+                                      // 0: 0-degree, 1: 90, 2: 180, 3: 270-degree, clockwise.     
+
+.declare ubCOLOR_PIXEL_VAL      Base=r2.20      ElementSize=1       SrcRegion=<0;1,0>       DstRegion=<1>       Type=ub
+
+//r3
+//Normalised Ratio of Horizontal step size with main video for all layers
+
+
+    //Normalised Ratio of Horizontal step size with main video for all layers becomes
+    //Normalised Horizontal step size for all layers in VP_Setup.asm
+
+
+//r4
+//Normalised Vertical step size for all layers
+
+
+//r5
+//Normalised Vertical Frame Origin for all layers
+
+
+//r6
+//Normalised Horizontal Frame Origin for all layers
+
+
+//========== Inline Parameters (Explicit To Fast Composite) ==========
+
+
+//Main video Step X
+
+
+//====================== Binding table (Explicit To Fast Composite)=========================================
+
+
+//Used by Interlaced Scaling Kernels
+
+
+//========== Sampler State Table Index (Explicit To Fast Composite)==========
+//Sampler Index for AVS/IEF messages
+
+
+//Sampler Index for SIMD16 sampler messages
+
+
+//=============================================================================
+
+.declare fBUFFER_0      Base=r64.0       ElementSize=4       SrcRegion=<8;8,1>       DstRegion=<1>       Type=f
+.declare fBUFFER_1      Base=r80.0       ElementSize=4       SrcRegion=<8;8,1>       DstRegion=<1>       Type=f
+.declare fBUFFER_2      Base=r96.0       ElementSize=4       SrcRegion=<8;8,1>       DstRegion=<1>       Type=f
+.declare fBUFFER_3      Base=r112.0       ElementSize=4       SrcRegion=<8;8,1>       DstRegion=<1>       Type=f
+.declare fBUFFER_4      Base=r28.0       ElementSize=4       SrcRegion=<8;8,1>       DstRegion=<1>       Type=f
+.declare fBUFFER_5      Base=r46.0       ElementSize=4       SrcRegion=<8;8,1>       DstRegion=<1>       Type=f
+
+.declare udBUFFER_0     Base=r64.0       ElementSize=4       SrcRegion=<8;8,1>       DstRegion=<1>       Type=ud
+.declare udBUFFER_1     Base=r80.0       ElementSize=4       SrcRegion=<8;8,1>       DstRegion=<1>       Type=ud
+.declare udBUFFER_2     Base=r96.0       ElementSize=4       SrcRegion=<8;8,1>       DstRegion=<1>       Type=ud
+.declare udBUFFER_3     Base=r112.0       ElementSize=4       SrcRegion=<8;8,1>       DstRegion=<1>       Type=ud
+.declare udBUFFER_4     Base=r28.0       ElementSize=4       SrcRegion=<8;8,1>       DstRegion=<1>       Type=ud
+.declare udBUFFER_5     Base=r46.0       ElementSize=4       SrcRegion=<8;8,1>       DstRegion=<1>       Type=ud
+
+.declare uwBUFFER_0     Base=r64.0       ElementSize=2       SrcRegion=<16;16,1>     DstRegion=<1>       Type=uw
+.declare uwBUFFER_1     Base=r80.0       ElementSize=2       SrcRegion=<16;16,1>     DstRegion=<1>       Type=uw
+.declare uwBUFFER_2     Base=r96.0       ElementSize=2       SrcRegion=<16;16,1>     DstRegion=<1>       Type=uw
+.declare uwBUFFER_3     Base=r112.0       ElementSize=2       SrcRegion=<16;16,1>     DstRegion=<1>       Type=uw
+.declare uwBUFFER_4     Base=r28.0       ElementSize=2       SrcRegion=<16;16,1>     DstRegion=<1>       Type=uw
+.declare uwBUFFER_5     Base=r46.0       ElementSize=2       SrcRegion=<16;16,1>     DstRegion=<1>       Type=uw
+
+.declare ubBUFFER_0     Base=r64.0       ElementSize=1       SrcRegion=<16;16,1>     DstRegion=<1>       Type=ub
+.declare ubBUFFER_1     Base=r80.0       ElementSize=1       SrcRegion=<16;16,1>     DstRegion=<1>       Type=ub
+.declare ubBUFFER_2     Base=r96.0       ElementSize=1       SrcRegion=<16;16,1>     DstRegion=<1>       Type=ub
+.declare ubBUFFER_3     Base=r112.0       ElementSize=1       SrcRegion=<16;16,1>     DstRegion=<1>       Type=ub
+.declare ubBUFFER_4     Base=r28.0       ElementSize=1       SrcRegion=<16;16,1>     DstRegion=<1>       Type=ub
+.declare ubBUFFER_5     Base=r46.0       ElementSize=1       SrcRegion=<16;16,1>     DstRegion=<1>       Type=ub
+
+.declare ub4BUFFER_0    Base=r64.0       ElementSize=1       SrcRegion=<32;8,4>      DstRegion=<4>       Type=ub
+.declare ub4BUFFER_1    Base=r80.0       ElementSize=1       SrcRegion=<32;8,4>      DstRegion=<4>       Type=ub
+.declare ub4BUFFER_2    Base=r96.0       ElementSize=1       SrcRegion=<32;8,4>      DstRegion=<4>       Type=ub
+.declare ub4BUFFER_3    Base=r112.0       ElementSize=1       SrcRegion=<32;8,4>      DstRegion=<4>       Type=ub
+.declare ub4BUFFER_4    Base=r28.0       ElementSize=1       SrcRegion=<32;8,4>      DstRegion=<4>       Type=ub
+.declare ub4BUFFER_5    Base=r46.0       ElementSize=1       SrcRegion=<32;8,4>      DstRegion=<4>       Type=ub
+
+//Pointer to mask reg
+
+
+//r18
+
+
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
+// NODDCLR, NODDCHK flags. -rT
+
+
+.declare udCSC_COEFF_0  Base=r18.0    ElementSize=4 Type=ud       // 1 GRF
+
+//r19
+
+
+.declare udCSC_COEFF_1  Base=r19.0    ElementSize=4 Type=ud       // 1 GRF
+
+
+//r20
+
+.declare uwALPHA_MASK_REG_TEMP  Base=r20.0    ElementSize=2 SrcRegion=<16;16,1> Type=uw        // 1 GRF
+
+//r21
+
+.declare uwALPHA_MASK_REG       Base=r21.0         ElementSize=2 SrcRegion=<16;16,1> Type=uw        // 1 GRF
+
+//r22
+
+
+//Always keep Cannel Pointers and Offsets in same GRF, so that we can use
+// NODDCLR, NODDCHK flags. -rT
+
+
+//Keep fORIGIN_X_NLAS, fY_OFFSET_2ND_BLOCK, fSTEP_X_NLAS, pMSGDSC_COPY, ubCONST_ALPHA_COPY as
+//sub registers of same GRF to enable using NODDCLR NODDCHK. -rT
+
+//r23
+
+
+//Lumakey
+
+
+//r24
+
+
+//r25
+
+
+//r26
+
+
+//defines to generate LABELS during compile time.
+
+
+    //AVS LAYOUT:(VVYYUUAA)
+        //Assign buffer channel order for Buffer 0123 in the order AUYV a0.3>A, a0.2>U, a0.1>Y, a0.0>V
+        // V = 0, Y= 4, U = 8, A = 12.
+       //YCrCb or YCrCb_Swap returns the following data:
+       //Cr is returned on R-channel. 0
+       //Y is returned on G channel. 4
+       //Cb is returned on B channel. 8
+        mov (4) acc0.0<1>:w                 0x62EA:v                                //Subtract 6 from 0,4,8,12
+        add (4) acc0.0<1>:w                 acc0<4;4,1>:w       70:uw      //add 6 back
+        shl (4) r22.0<1>:w       acc0<4;4,1>:w       5:uw                //Convert to BYTE address.
+
+    //OPT: wAVS_SU_SHUFFLE_PTR_0 and udAVS_SU_SHUFFLE_OFF_0 are sub-regs of same GRF. -rT
+
+    //SU LAYOUT:(VYUAVYUA)
+        //V = 0, Y = 2, U = 4, A = 6
+        mov (4) acc0.0<1>:w                 0x6420:v
+        add (4) acc0.0<1>:w                 acc0<4;4,1>:w       64:uw
+        shl (4) r18.0<1>:w  acc0<4;4,1>:w       5:uw                    { NoDDClr }     //Convert to BYTE address.
+
+        //OFFSET:
+        mov (1)   r18.4<1>:ud      0x1000100:ud    { NoDDChk }
+
+
diff --git a/src/shaders/post_processing/gen8/pa_to_pl2.asm b/src/shaders/post_processing/gen8/pa_to_pl2.asm
new file mode 100644 (file)
index 0000000..adc81fd
--- /dev/null
@@ -0,0 +1,17 @@
+// Module name: AVS
+.kernel YUY2_TO_NV12
+.code
+
+#include "VP_Setup.g8a"
+#include "Set_Layer_0.g8a"
+#include "Set_AVS_Buf_0123_VYUA.g8a"
+#include "PA_AVS_Buf_0.g8a"
+#include "PA_AVS_Buf_1.g8a"
+#include "PA_AVS_Buf_2.g8a"
+#include "PA_AVS_Buf_3.g8a"
+#include "Save_AVS_NV12.g8a"        
+#include "EOT.g8a"
+
+.end_code  
+
+.end_kernel
diff --git a/src/shaders/post_processing/gen8/pa_to_pl2.g8b b/src/shaders/post_processing/gen8/pa_to_pl2.g8b
new file mode 100644 (file)
index 0000000..3282c51
--- /dev/null
@@ -0,0 +1,236 @@
+   { 0x00600001, 0x23600208, 0x008d0000, 0x00000000 },
+   { 0x00600001, 0x23200208, 0x008d0000, 0x00000000 },
+   { 0x00600001, 0x23400208, 0x008d0000, 0x00000000 },
+   { 0x00600041, 0x20603ae8, 0x3a8d0060, 0x000000f0 },
+   { 0x00200001, 0x21141ae8, 0x004500e0, 0x00000000 },
+   { 0x01000010, 0x20002220, 0x1600005a, 0x00010001 },
+   { 0x00000008, 0x22201248, 0x16000044, 0x00000000 },
+   { 0x00000005, 0x22201248, 0x16000220, 0x00030003 },
+   { 0x01000010, 0x20001261, 0x16000220, 0x00010001 },
+   { 0x00010020, 0x34000005, 0x0e001400, 0x00000090 },
+   { 0x01000010, 0x20001261, 0x16000220, 0x00020002 },
+   { 0x00010020, 0x34000005, 0x0e001400, 0x000000f0 },
+   { 0x01000010, 0x20001261, 0x16000220, 0x00030003 },
+   { 0x00010020, 0x34000005, 0x0e001400, 0x00000180 },
+   { 0x00110001, 0x24003ae0, 0x000000c0, 0x00000000 },
+   { 0x00110048, 0x20c03ae8, 0x3a000060, 0x00000114 },
+   { 0x00000001, 0x24003ae0, 0x000000a0, 0x00000000 },
+   { 0x00000048, 0x20a03ae8, 0x3a000080, 0x00000118 },
+   { 0x00000020, 0x34000004, 0x0e001400, 0x000001a0 },
+   { 0x00110001, 0x24003ae0, 0x000000c0, 0x00000000 },
+   { 0x00110048, 0x20c03ae8, 0x3a000060, 0x00000118 },
+   { 0x00000001, 0x220012e8, 0x00000040, 0x00000000 },
+   { 0x00000040, 0x22203ae8, 0x3a004114, 0x00000200 },
+   { 0x00000040, 0x22203ae8, 0x3e000220, 0xc1800000 },
+   { 0x00000001, 0x24003ae0, 0x000000a0, 0x00000000 },
+   { 0x00000048, 0x20a03ae8, 0x3a000080, 0x00000220 },
+   { 0x00000020, 0x34000004, 0x0e001400, 0x00000120 },
+   { 0x00110001, 0x220012e8, 0x00000040, 0x00000000 },
+   { 0x00110040, 0x22203ae8, 0x3a004114, 0x00000200 },
+   { 0x00110040, 0x22203ae8, 0x3e000220, 0xc1800000 },
+   { 0x00110001, 0x24003ae0, 0x000000c0, 0x00000000 },
+   { 0x00110048, 0x20c03ae8, 0x3a000060, 0x00000220 },
+   { 0x00000001, 0x220012e8, 0x00000042, 0x00000000 },
+   { 0x00000040, 0x22203ae8, 0x3a004118, 0x00000200 },
+   { 0x00000040, 0x22203ae8, 0x3e000220, 0xc1800000 },
+   { 0x00000001, 0x24003ae0, 0x000000a0, 0x00000000 },
+   { 0x00000048, 0x20a03ae8, 0x3a000080, 0x00000220 },
+   { 0x00000020, 0x34000004, 0x0e001400, 0x00000070 },
+   { 0x00110001, 0x220012e8, 0x00000042, 0x00000000 },
+   { 0x00110040, 0x22203ae8, 0x3a004118, 0x00000200 },
+   { 0x00110040, 0x22203ae8, 0x3e000220, 0xc1800000 },
+   { 0x00110001, 0x24003ae0, 0x000000c0, 0x00000000 },
+   { 0x00110048, 0x20c03ae8, 0x3a000060, 0x00000220 },
+   { 0x00000001, 0x24003ae0, 0x000000a0, 0x00000000 },
+   { 0x00000048, 0x20a03ae8, 0x3a000080, 0x00000114 },
+   { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+   { 0x00800001, 0x22a01648, 0x10000000, 0xffffffff },
+   { 0x00000005, 0x23021288, 0x16000044, 0x00030003 },
+   { 0x00000001, 0x23203ae8, 0x000000f8, 0x00000000 },
+   { 0x00000001, 0x23383ae8, 0x000000f4, 0x00000000 },
+   { 0x00000001, 0x23303ae8, 0x00000060, 0x00000000 },
+   { 0x00000001, 0x23343ae8, 0x00000080, 0x00000000 },
+   { 0x00000001, 0x23283ae8, 0x000000c0, 0x00000000 },
+   { 0x00000001, 0x232c3ae8, 0x000000a0, 0x00000000 },
+   { 0x00000001, 0x233c0608, 0x00000000, 0x00000000 },
+   { 0x00000040, 0x233c0208, 0x0600033c, 0x08000000 },
+   { 0x00000001, 0x24083ae0, 0x000000c0, 0x00000000 },
+   { 0x00000048, 0x24083ae0, 0x3e000060, 0x41000000 },
+   { 0x00000248, 0x22e83ae8, 0x3e0000f4, 0x41e00000 },
+   { 0x00000641, 0x22e43ae8, 0x3e000080, 0x40800000 },
+   { 0x00000001, 0x24103ae0, 0x00000060, 0x00000000 },
+   { 0x00000648, 0x22f03ae8, 0x3e0000f4, 0x41000000 },
+   { 0x00000401, 0x22f40608, 0x00000000, 0x00000000 },
+   { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+   { 0x00400001, 0x24003660, 0x30000000, 0x000062ea },
+   { 0x00400040, 0x24001860, 0x16690400, 0x00460046 },
+   { 0x00400009, 0x22c01868, 0x16690400, 0x00050005 },
+   { 0x00400001, 0x24003660, 0x30000000, 0x00006420 },
+   { 0x00400040, 0x24001860, 0x16690400, 0x00400040 },
+   { 0x00400209, 0x22401868, 0x16690400, 0x00050005 },
+   { 0x00000401, 0x22500608, 0x00000000, 0x01000100 },
+   { 0x00000001, 0x22d00608, 0x00000000, 0x00400040 },
+   { 0x00000001, 0x220c0208, 0x0000000c, 0x00000000 },
+   { 0x00000040, 0x22000200, 0x060002f4, 0x050eb000 },
+   { 0x00000001, 0x22080608, 0x00000000, 0x00000000 },
+   { 0x00000001, 0x23240608, 0x00000000, 0x00000000 },
+   { 0x00600001, 0x22200208, 0x008d0320, 0x00000000 },
+   { 0x02000031, 0x28002248, 0x00000200, 0x00000200 },
+   { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+   { 0x00000001, 0x22d00608, 0x00000000, 0x00400040 },
+   { 0x00000001, 0x220c0208, 0x0000000c, 0x00000000 },
+   { 0x00000040, 0x22000200, 0x060002f4, 0x050eb000 },
+   { 0x00000001, 0x22080608, 0x00000000, 0x00000000 },
+   { 0x00000001, 0x23240608, 0x00000000, 0x00000001 },
+   { 0x00600001, 0x22200208, 0x008d0320, 0x00000000 },
+   { 0x02000031, 0x2a002248, 0x00000200, 0x00000200 },
+   { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+   { 0x00000001, 0x22d00608, 0x00000000, 0x00400040 },
+   { 0x00000001, 0x220c0208, 0x0000000c, 0x00000000 },
+   { 0x00000040, 0x22000200, 0x060002f4, 0x050eb000 },
+   { 0x00000001, 0x22080608, 0x00000000, 0x00000000 },
+   { 0x00000001, 0x23240608, 0x00000000, 0x00000002 },
+   { 0x00600001, 0x22200208, 0x008d0320, 0x00000000 },
+   { 0x02000031, 0x2c002248, 0x00000200, 0x00000200 },
+   { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+   { 0x00000001, 0x22d00608, 0x00000000, 0x00400040 },
+   { 0x00000001, 0x220c0208, 0x0000000c, 0x00000000 },
+   { 0x00000040, 0x22000200, 0x060002f4, 0x050eb000 },
+   { 0x00000001, 0x22080608, 0x00000000, 0x00000000 },
+   { 0x00000001, 0x23240608, 0x00000000, 0x00000003 },
+   { 0x00600001, 0x22200208, 0x008d0320, 0x00000000 },
+   { 0x02000031, 0x2e002248, 0x00000200, 0x00000200 },
+   { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+   { 0x00400040, 0x22001a40, 0x166902c0, 0x00000000 },
+   { 0x00400040, 0x22081a40, 0x166902c0, 0x02000200 },
+   { 0x00600001, 0x23800208, 0x008d0360, 0x00000000 },
+   { 0x00600001, 0x24a00208, 0x008d0360, 0x00000000 },
+   { 0x00200201, 0x23801a28, 0x004500e0, 0x00000000 },
+   { 0x00000201, 0x24a01a28, 0x000000e0, 0x00000000 },
+   { 0x00000608, 0x24a41a28, 0x1e0000e2, 0x00010001 },
+   { 0x00000401, 0x23880608, 0x00000000, 0x000f000f },
+   { 0x00000401, 0x24a80608, 0x00000000, 0x0007000f },
+   { 0x80800040, 0xa2001248, 0x16b18200, 0x00800080 },
+   { 0x80800040, 0xa2201248, 0x16b18220, 0x00800080 },
+   { 0x80800040, 0xa2401248, 0x16b18240, 0x00800080 },
+   { 0x80800040, 0xa2601248, 0x16b18260, 0x00800080 },
+   { 0x00600008, 0x45c01248, 0x1eae8400, 0x00010001 },
+   { 0x00600008, 0x45e01248, 0x1eae8420, 0x00010001 },
+   { 0x00600008, 0x46001248, 0x1eae8440, 0x00010001 },
+   { 0x00600008, 0x46201248, 0x1eae8460, 0x00010001 },
+   { 0x00600040, 0x45c01248, 0x12ae05c0, 0x00ae05e0 },
+   { 0x80600040, 0xc4001248, 0x16ae05c0, 0x00800080 },
+   { 0x00600040, 0x46001248, 0x12ae0600, 0x00ae0620 },
+   { 0x80600040, 0xc4401248, 0x16ae0600, 0x00800080 },
+   { 0x00600008, 0x46401248, 0x1eae8000, 0x00010001 },
+   { 0x00600008, 0x46601248, 0x1eae8020, 0x00010001 },
+   { 0x00600008, 0x46801248, 0x1eae8040, 0x00010001 },
+   { 0x00600008, 0x46a01248, 0x1eae8060, 0x00010001 },
+   { 0x00600040, 0x46401248, 0x12ae0640, 0x00ae0660 },
+   { 0x80600040, 0xc0001248, 0x16ae0640, 0x00800080 },
+   { 0x00600040, 0x46801248, 0x12ae0680, 0x00ae06a0 },
+   { 0x80600040, 0xc0401248, 0x16ae0680, 0x00800080 },
+   { 0x00400040, 0x22001a40, 0x166902c0, 0x04000400 },
+   { 0x80800040, 0xaa001248, 0x16b18a00, 0x00800080 },
+   { 0x80800040, 0xaa201248, 0x16b18a20, 0x00800080 },
+   { 0x80800040, 0xaa401248, 0x16b18a40, 0x00800080 },
+   { 0x80800040, 0xaa601248, 0x16b18a60, 0x00800080 },
+   { 0x00600008, 0x45c01248, 0x1eae8c00, 0x00010001 },
+   { 0x00600008, 0x45e01248, 0x1eae8c20, 0x00010001 },
+   { 0x00600008, 0x46001248, 0x1eae8c40, 0x00010001 },
+   { 0x00600008, 0x46201248, 0x1eae8c60, 0x00010001 },
+   { 0x00600040, 0x45c01248, 0x12ae05c0, 0x00ae05e0 },
+   { 0x80600040, 0xcc001248, 0x16ae05c0, 0x00800080 },
+   { 0x00600040, 0x46001248, 0x12ae0600, 0x00ae0620 },
+   { 0x80600040, 0xcc401248, 0x16ae0600, 0x00800080 },
+   { 0x00600008, 0x46401248, 0x1eae8800, 0x00010001 },
+   { 0x00600008, 0x46601248, 0x1eae8820, 0x00010001 },
+   { 0x00600008, 0x46801248, 0x1eae8840, 0x00010001 },
+   { 0x00600008, 0x46a01248, 0x1eae8860, 0x00010001 },
+   { 0x00600040, 0x46401248, 0x12ae0640, 0x00ae0660 },
+   { 0x80600040, 0xc8001248, 0x16ae0640, 0x00800080 },
+   { 0x00600040, 0x46801248, 0x12ae0680, 0x00ae06a0 },
+   { 0x80600040, 0xc8401248, 0x16ae0680, 0x00800080 },
+   { 0x00400040, 0x22081a40, 0x166902c0, 0x06000600 },
+   { 0x80800040, 0xa2001248, 0x16b18200, 0x00800080 },
+   { 0x80800040, 0xa2201248, 0x16b18220, 0x00800080 },
+   { 0x80800040, 0xa2401248, 0x16b18240, 0x00800080 },
+   { 0x80800040, 0xa2601248, 0x16b18260, 0x00800080 },
+   { 0x00600008, 0x45c01248, 0x1eae8400, 0x00010001 },
+   { 0x00600008, 0x45e01248, 0x1eae8420, 0x00010001 },
+   { 0x00600008, 0x46001248, 0x1eae8440, 0x00010001 },
+   { 0x00600008, 0x46201248, 0x1eae8460, 0x00010001 },
+   { 0x00600040, 0x45c01248, 0x12ae05c0, 0x00ae05e0 },
+   { 0x80600040, 0xc4001248, 0x16ae05c0, 0x00800080 },
+   { 0x00600040, 0x46001248, 0x12ae0600, 0x00ae0620 },
+   { 0x80600040, 0xc4401248, 0x16ae0600, 0x00800080 },
+   { 0x00600008, 0x46401248, 0x1eae8000, 0x00010001 },
+   { 0x00600008, 0x46601248, 0x1eae8020, 0x00010001 },
+   { 0x00600008, 0x46801248, 0x1eae8040, 0x00010001 },
+   { 0x00600008, 0x46a01248, 0x1eae8060, 0x00010001 },
+   { 0x00600040, 0x46401248, 0x12ae0640, 0x00ae0660 },
+   { 0x80600040, 0xc0001248, 0x16ae0640, 0x00800080 },
+   { 0x00600040, 0x46801248, 0x12ae0680, 0x00ae06a0 },
+   { 0x80600040, 0xc0401248, 0x16ae0680, 0x00800080 },
+   { 0x00400040, 0x22001a40, 0x166902c0, 0x04000400 },
+   { 0x80800040, 0xaa001248, 0x16b18a00, 0x00800080 },
+   { 0x80800040, 0xaa201248, 0x16b18a20, 0x00800080 },
+   { 0x80800040, 0xaa401248, 0x16b18a40, 0x00800080 },
+   { 0x80800040, 0xaa601248, 0x16b18a60, 0x00800080 },
+   { 0x00600008, 0x45c01248, 0x1eae8c00, 0x00010001 },
+   { 0x00600008, 0x45e01248, 0x1eae8c20, 0x00010001 },
+   { 0x00600008, 0x46001248, 0x1eae8c40, 0x00010001 },
+   { 0x00600008, 0x46201248, 0x1eae8c60, 0x00010001 },
+   { 0x00600040, 0x45c01248, 0x12ae05c0, 0x00ae05e0 },
+   { 0x80600040, 0xcc001248, 0x16ae05c0, 0x00800080 },
+   { 0x00600040, 0x46001248, 0x12ae0600, 0x00ae0620 },
+   { 0x80600040, 0xcc401248, 0x16ae0600, 0x00800080 },
+   { 0x00600008, 0x46401248, 0x1eae8800, 0x00010001 },
+   { 0x00600008, 0x46601248, 0x1eae8820, 0x00010001 },
+   { 0x00600008, 0x46801248, 0x1eae8840, 0x00010001 },
+   { 0x00600008, 0x46a01248, 0x1eae8860, 0x00010001 },
+   { 0x00600040, 0x46401248, 0x12ae0640, 0x00ae0660 },
+   { 0x80600040, 0xc8001248, 0x16ae0640, 0x00800080 },
+   { 0x00600040, 0x46801248, 0x12ae0680, 0x00ae06a0 },
+   { 0x80600040, 0xc8401248, 0x16ae0680, 0x00800080 },
+   { 0x00400040, 0x22081a40, 0x166902c0, 0x06000600 },
+   { 0x00400040, 0x22001a40, 0x166902c0, 0x00000000 },
+   { 0x00400040, 0x22081a40, 0x166902c0, 0x02000200 },
+   { 0x00800201, 0x23a02288, 0x00d28201, 0x00000000 },
+   { 0x00800401, 0x23b02288, 0x00d28221, 0x00000000 },
+   { 0x00800201, 0x23c02288, 0x00d28241, 0x00000000 },
+   { 0x00800401, 0x23d02288, 0x00d28261, 0x00000000 },
+   { 0x00600201, 0x44c02288, 0x00cf8401, 0x00000000 },
+   { 0x00600601, 0x44d02288, 0x00cf8441, 0x00000000 },
+   { 0x00600601, 0x44c12288, 0x00cf8001, 0x00000000 },
+   { 0x00600401, 0x44d12288, 0x00cf8041, 0x00000000 },
+   { 0x00400040, 0x22001a40, 0x166902c0, 0x04000400 },
+   { 0x00800201, 0x23e02288, 0x00d28a01, 0x00000000 },
+   { 0x00800401, 0x23f02288, 0x00d28a21, 0x00000000 },
+   { 0x00800201, 0x24002288, 0x00d28a41, 0x00000000 },
+   { 0x00800401, 0x24102288, 0x00d28a61, 0x00000000 },
+   { 0x00600201, 0x44e02288, 0x00cf8c01, 0x00000000 },
+   { 0x00600601, 0x44f02288, 0x00cf8c41, 0x00000000 },
+   { 0x00600601, 0x44e12288, 0x00cf8801, 0x00000000 },
+   { 0x00600401, 0x44f12288, 0x00cf8841, 0x00000000 },
+   { 0x00400040, 0x22081a40, 0x166902c0, 0x06000600 },
+   { 0x00800201, 0x24202288, 0x00d28201, 0x00000000 },
+   { 0x00800401, 0x24302288, 0x00d28221, 0x00000000 },
+   { 0x00800201, 0x24402288, 0x00d28241, 0x00000000 },
+   { 0x00800401, 0x24502288, 0x00d28261, 0x00000000 },
+   { 0x00600201, 0x45002288, 0x00cf8401, 0x00000000 },
+   { 0x00600601, 0x45102288, 0x00cf8441, 0x00000000 },
+   { 0x00600601, 0x45012288, 0x00cf8001, 0x00000000 },
+   { 0x00600401, 0x45112288, 0x00cf8041, 0x00000000 },
+   { 0x00800201, 0x24602288, 0x00d28a01, 0x00000000 },
+   { 0x00800401, 0x24702288, 0x00d28a21, 0x00000000 },
+   { 0x00800201, 0x24802288, 0x00d28a41, 0x00000000 },
+   { 0x00800401, 0x24902288, 0x00d28a61, 0x00000000 },
+   { 0x00600201, 0x45202288, 0x00cf8c01, 0x00000000 },
+   { 0x00600601, 0x45302288, 0x00cf8c41, 0x00000000 },
+   { 0x00600601, 0x45212288, 0x00cf8801, 0x00000000 },
+   { 0x00600401, 0x45312288, 0x00cf8841, 0x00000000 },
+   { 0x0c000031, 0x20002220, 0x06000380, 0x120a8018 },
+   { 0x0c000031, 0x20002220, 0x060004a0, 0x0a0a8019 },
+   { 0x00600001, 0x2fe00208, 0x008d0000, 0x00000000 },
+   { 0x07000031, 0x20002220, 0x0e000fe0, 0x82000010 },
diff --git a/src/shaders/post_processing/gen8/pa_to_pl3.asm b/src/shaders/post_processing/gen8/pa_to_pl3.asm
new file mode 100644 (file)
index 0000000..44c7f9e
--- /dev/null
@@ -0,0 +1,17 @@
+// Module name: AVS
+.kernel YUY2_TO_NV12
+.code
+
+#include "VP_Setup.g8a"
+#include "Set_Layer_0.g8a"
+#include "Set_AVS_Buf_0123_VYUA.g8a"
+#include "PA_AVS_Buf_0.g8a"
+#include "PA_AVS_Buf_1.g8a"
+#include "PA_AVS_Buf_2.g8a"
+#include "PA_AVS_Buf_3.g8a"
+#include "Save_AVS_PL3.g8a"        
+#include "EOT.g8a"
+
+.end_code  
+
+.end_kernel
diff --git a/src/shaders/post_processing/gen8/pa_to_pl3.g8b b/src/shaders/post_processing/gen8/pa_to_pl3.g8b
new file mode 100644 (file)
index 0000000..3d1d087
--- /dev/null
@@ -0,0 +1,189 @@
+   { 0x00600001, 0x23600208, 0x008d0000, 0x00000000 },
+   { 0x00600001, 0x23200208, 0x008d0000, 0x00000000 },
+   { 0x00600001, 0x23400208, 0x008d0000, 0x00000000 },
+   { 0x00600041, 0x20603ae8, 0x3a8d0060, 0x000000f0 },
+   { 0x00200001, 0x21141ae8, 0x004500e0, 0x00000000 },
+   { 0x01000010, 0x20002220, 0x1600005a, 0x00010001 },
+   { 0x00000008, 0x22201248, 0x16000044, 0x00000000 },
+   { 0x00000005, 0x22201248, 0x16000220, 0x00030003 },
+   { 0x01000010, 0x20001261, 0x16000220, 0x00010001 },
+   { 0x00010020, 0x34000005, 0x0e001400, 0x00000090 },
+   { 0x01000010, 0x20001261, 0x16000220, 0x00020002 },
+   { 0x00010020, 0x34000005, 0x0e001400, 0x000000f0 },
+   { 0x01000010, 0x20001261, 0x16000220, 0x00030003 },
+   { 0x00010020, 0x34000005, 0x0e001400, 0x00000180 },
+   { 0x00110001, 0x24003ae0, 0x000000c0, 0x00000000 },
+   { 0x00110048, 0x20c03ae8, 0x3a000060, 0x00000114 },
+   { 0x00000001, 0x24003ae0, 0x000000a0, 0x00000000 },
+   { 0x00000048, 0x20a03ae8, 0x3a000080, 0x00000118 },
+   { 0x00000020, 0x34000004, 0x0e001400, 0x000001a0 },
+   { 0x00110001, 0x24003ae0, 0x000000c0, 0x00000000 },
+   { 0x00110048, 0x20c03ae8, 0x3a000060, 0x00000118 },
+   { 0x00000001, 0x220012e8, 0x00000040, 0x00000000 },
+   { 0x00000040, 0x22203ae8, 0x3a004114, 0x00000200 },
+   { 0x00000040, 0x22203ae8, 0x3e000220, 0xc1800000 },
+   { 0x00000001, 0x24003ae0, 0x000000a0, 0x00000000 },
+   { 0x00000048, 0x20a03ae8, 0x3a000080, 0x00000220 },
+   { 0x00000020, 0x34000004, 0x0e001400, 0x00000120 },
+   { 0x00110001, 0x220012e8, 0x00000040, 0x00000000 },
+   { 0x00110040, 0x22203ae8, 0x3a004114, 0x00000200 },
+   { 0x00110040, 0x22203ae8, 0x3e000220, 0xc1800000 },
+   { 0x00110001, 0x24003ae0, 0x000000c0, 0x00000000 },
+   { 0x00110048, 0x20c03ae8, 0x3a000060, 0x00000220 },
+   { 0x00000001, 0x220012e8, 0x00000042, 0x00000000 },
+   { 0x00000040, 0x22203ae8, 0x3a004118, 0x00000200 },
+   { 0x00000040, 0x22203ae8, 0x3e000220, 0xc1800000 },
+   { 0x00000001, 0x24003ae0, 0x000000a0, 0x00000000 },
+   { 0x00000048, 0x20a03ae8, 0x3a000080, 0x00000220 },
+   { 0x00000020, 0x34000004, 0x0e001400, 0x00000070 },
+   { 0x00110001, 0x220012e8, 0x00000042, 0x00000000 },
+   { 0x00110040, 0x22203ae8, 0x3a004118, 0x00000200 },
+   { 0x00110040, 0x22203ae8, 0x3e000220, 0xc1800000 },
+   { 0x00110001, 0x24003ae0, 0x000000c0, 0x00000000 },
+   { 0x00110048, 0x20c03ae8, 0x3a000060, 0x00000220 },
+   { 0x00000001, 0x24003ae0, 0x000000a0, 0x00000000 },
+   { 0x00000048, 0x20a03ae8, 0x3a000080, 0x00000114 },
+   { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+   { 0x00800001, 0x22a01648, 0x10000000, 0xffffffff },
+   { 0x00000005, 0x23021288, 0x16000044, 0x00030003 },
+   { 0x00000001, 0x23203ae8, 0x000000f8, 0x00000000 },
+   { 0x00000001, 0x23383ae8, 0x000000f4, 0x00000000 },
+   { 0x00000001, 0x23303ae8, 0x00000060, 0x00000000 },
+   { 0x00000001, 0x23343ae8, 0x00000080, 0x00000000 },
+   { 0x00000001, 0x23283ae8, 0x000000c0, 0x00000000 },
+   { 0x00000001, 0x232c3ae8, 0x000000a0, 0x00000000 },
+   { 0x00000001, 0x233c0608, 0x00000000, 0x00000000 },
+   { 0x00000040, 0x233c0208, 0x0600033c, 0x08000000 },
+   { 0x00000001, 0x24083ae0, 0x000000c0, 0x00000000 },
+   { 0x00000048, 0x24083ae0, 0x3e000060, 0x41000000 },
+   { 0x00000248, 0x22e83ae8, 0x3e0000f4, 0x41e00000 },
+   { 0x00000641, 0x22e43ae8, 0x3e000080, 0x40800000 },
+   { 0x00000001, 0x24103ae0, 0x00000060, 0x00000000 },
+   { 0x00000648, 0x22f03ae8, 0x3e0000f4, 0x41000000 },
+   { 0x00000401, 0x22f40608, 0x00000000, 0x00000000 },
+   { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+   { 0x00400001, 0x24003660, 0x30000000, 0x000062ea },
+   { 0x00400040, 0x24001860, 0x16690400, 0x00460046 },
+   { 0x00400009, 0x22c01868, 0x16690400, 0x00050005 },
+   { 0x00400001, 0x24003660, 0x30000000, 0x00006420 },
+   { 0x00400040, 0x24001860, 0x16690400, 0x00400040 },
+   { 0x00400209, 0x22401868, 0x16690400, 0x00050005 },
+   { 0x00000401, 0x22500608, 0x00000000, 0x01000100 },
+   { 0x00000001, 0x22d00608, 0x00000000, 0x00400040 },
+   { 0x00000001, 0x220c0208, 0x0000000c, 0x00000000 },
+   { 0x00000040, 0x22000200, 0x060002f4, 0x050eb000 },
+   { 0x00000001, 0x22080608, 0x00000000, 0x00000000 },
+   { 0x00000001, 0x23240608, 0x00000000, 0x00000000 },
+   { 0x00600001, 0x22200208, 0x008d0320, 0x00000000 },
+   { 0x02000031, 0x28002248, 0x00000200, 0x00000200 },
+   { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+   { 0x00000001, 0x22d00608, 0x00000000, 0x00400040 },
+   { 0x00000001, 0x220c0208, 0x0000000c, 0x00000000 },
+   { 0x00000040, 0x22000200, 0x060002f4, 0x050eb000 },
+   { 0x00000001, 0x22080608, 0x00000000, 0x00000000 },
+   { 0x00000001, 0x23240608, 0x00000000, 0x00000001 },
+   { 0x00600001, 0x22200208, 0x008d0320, 0x00000000 },
+   { 0x02000031, 0x2a002248, 0x00000200, 0x00000200 },
+   { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+   { 0x00000001, 0x22d00608, 0x00000000, 0x00400040 },
+   { 0x00000001, 0x220c0208, 0x0000000c, 0x00000000 },
+   { 0x00000040, 0x22000200, 0x060002f4, 0x050eb000 },
+   { 0x00000001, 0x22080608, 0x00000000, 0x00000000 },
+   { 0x00000001, 0x23240608, 0x00000000, 0x00000002 },
+   { 0x00600001, 0x22200208, 0x008d0320, 0x00000000 },
+   { 0x02000031, 0x2c002248, 0x00000200, 0x00000200 },
+   { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+   { 0x00000001, 0x22d00608, 0x00000000, 0x00400040 },
+   { 0x00000001, 0x220c0208, 0x0000000c, 0x00000000 },
+   { 0x00000040, 0x22000200, 0x060002f4, 0x050eb000 },
+   { 0x00000001, 0x22080608, 0x00000000, 0x00000000 },
+   { 0x00000001, 0x23240608, 0x00000000, 0x00000003 },
+   { 0x00600001, 0x22200208, 0x008d0320, 0x00000000 },
+   { 0x02000031, 0x2e002248, 0x00000200, 0x00000200 },
+   { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+   { 0x00400040, 0x22001a40, 0x166902c0, 0x00000000 },
+   { 0x00400040, 0x22081a40, 0x166902c0, 0x02000200 },
+   { 0x00600001, 0x23800208, 0x008d0360, 0x00000000 },
+   { 0x00600001, 0x24a00208, 0x008d0360, 0x00000000 },
+   { 0x00600001, 0x25c00208, 0x008d0360, 0x00000000 },
+   { 0x00200201, 0x23801a28, 0x004500e0, 0x00000000 },
+   { 0x00200208, 0x24a01a28, 0x1e4500e0, 0x00010001 },
+   { 0x00200208, 0x25c01a28, 0x1e4500e0, 0x00010001 },
+   { 0x00000401, 0x23880608, 0x00000000, 0x000f000f },
+   { 0x00000401, 0x24a80608, 0x00000000, 0x00070007 },
+   { 0x00000401, 0x25c80608, 0x00000000, 0x00070007 },
+   { 0x80800040, 0xa2001248, 0x16b18200, 0x00800080 },
+   { 0x80800040, 0xa2201248, 0x16b18220, 0x00800080 },
+   { 0x80800040, 0xa2401248, 0x16b18240, 0x00800080 },
+   { 0x80800040, 0xa2601248, 0x16b18260, 0x00800080 },
+   { 0x80600040, 0xc4001248, 0x16ae8400, 0x00800080 },
+   { 0x80600040, 0xc4401248, 0x16ae8440, 0x00800080 },
+   { 0x80600040, 0xc0001248, 0x16ae8000, 0x00800080 },
+   { 0x80600040, 0xc0401248, 0x16ae8040, 0x00800080 },
+   { 0x00400040, 0x22001a40, 0x166902c0, 0x04000400 },
+   { 0x80800040, 0xaa001248, 0x16b18a00, 0x00800080 },
+   { 0x80800040, 0xaa201248, 0x16b18a20, 0x00800080 },
+   { 0x80800040, 0xaa401248, 0x16b18a40, 0x00800080 },
+   { 0x80800040, 0xaa601248, 0x16b18a60, 0x00800080 },
+   { 0x80600040, 0xcc001248, 0x16ae8c00, 0x00800080 },
+   { 0x80600040, 0xcc401248, 0x16ae8c40, 0x00800080 },
+   { 0x80600040, 0xc8001248, 0x16ae8800, 0x00800080 },
+   { 0x80600040, 0xc8401248, 0x16ae8840, 0x00800080 },
+   { 0x00400040, 0x22081a40, 0x166902c0, 0x06000600 },
+   { 0x80800040, 0xa2001248, 0x16b18200, 0x00800080 },
+   { 0x80800040, 0xa2201248, 0x16b18220, 0x00800080 },
+   { 0x80800040, 0xa2401248, 0x16b18240, 0x00800080 },
+   { 0x80800040, 0xa2601248, 0x16b18260, 0x00800080 },
+   { 0x80600040, 0xc4001248, 0x16ae8400, 0x00800080 },
+   { 0x80600040, 0xc4401248, 0x16ae8440, 0x00800080 },
+   { 0x80600040, 0xc0001248, 0x16ae8000, 0x00800080 },
+   { 0x80600040, 0xc0401248, 0x16ae8040, 0x00800080 },
+   { 0x80800040, 0xaa001248, 0x16b18a00, 0x00800080 },
+   { 0x80800040, 0xaa201248, 0x16b18a20, 0x00800080 },
+   { 0x80800040, 0xaa401248, 0x16b18a40, 0x00800080 },
+   { 0x80800040, 0xaa601248, 0x16b18a60, 0x00800080 },
+   { 0x80600040, 0xcc001248, 0x16ae8c00, 0x00800080 },
+   { 0x80600040, 0xcc401248, 0x16ae8c40, 0x00800080 },
+   { 0x80600040, 0xc8001248, 0x16ae8800, 0x00800080 },
+   { 0x80600040, 0xc8401248, 0x16ae8840, 0x00800080 },
+   { 0x00400040, 0x22001a40, 0x166902c0, 0x00000000 },
+   { 0x00400040, 0x22081a40, 0x166902c0, 0x02000200 },
+   { 0x00800201, 0x23a02288, 0x00d28201, 0x00000000 },
+   { 0x00800401, 0x23b02288, 0x00d28221, 0x00000000 },
+   { 0x00800201, 0x23c02288, 0x00d28241, 0x00000000 },
+   { 0x00800401, 0x23d02288, 0x00d28261, 0x00000000 },
+   { 0x00600201, 0x24c02288, 0x00cf8401, 0x00000000 },
+   { 0x00600601, 0x24c82288, 0x00cf8441, 0x00000000 },
+   { 0x00600201, 0x25e02288, 0x00cf8001, 0x00000000 },
+   { 0x00600601, 0x25e82288, 0x00cf8041, 0x00000000 },
+   { 0x00400040, 0x22001a40, 0x166902c0, 0x04000400 },
+   { 0x00800201, 0x23e02288, 0x00d28a01, 0x00000000 },
+   { 0x00800401, 0x23f02288, 0x00d28a21, 0x00000000 },
+   { 0x00800201, 0x24002288, 0x00d28a41, 0x00000000 },
+   { 0x00800401, 0x24102288, 0x00d28a61, 0x00000000 },
+   { 0x00600601, 0x24d02288, 0x00cf8c01, 0x00000000 },
+   { 0x00600401, 0x24d82288, 0x00cf8c41, 0x00000000 },
+   { 0x00600601, 0x25f02288, 0x00cf8801, 0x00000000 },
+   { 0x00600401, 0x25f82288, 0x00cf8841, 0x00000000 },
+   { 0x00400040, 0x22081a40, 0x166902c0, 0x06000600 },
+   { 0x00800201, 0x24202288, 0x00d28201, 0x00000000 },
+   { 0x00800401, 0x24302288, 0x00d28221, 0x00000000 },
+   { 0x00800201, 0x24402288, 0x00d28241, 0x00000000 },
+   { 0x00800401, 0x24502288, 0x00d28261, 0x00000000 },
+   { 0x00600201, 0x24e02288, 0x00cf8401, 0x00000000 },
+   { 0x00600601, 0x24e82288, 0x00cf8441, 0x00000000 },
+   { 0x00600201, 0x26002288, 0x00cf8001, 0x00000000 },
+   { 0x00600601, 0x26082288, 0x00cf8041, 0x00000000 },
+   { 0x00800201, 0x24602288, 0x00d28a01, 0x00000000 },
+   { 0x00800401, 0x24702288, 0x00d28a21, 0x00000000 },
+   { 0x00800201, 0x24802288, 0x00d28a41, 0x00000000 },
+   { 0x00800401, 0x24902288, 0x00d28a61, 0x00000000 },
+   { 0x00600601, 0x24f02288, 0x00cf8c01, 0x00000000 },
+   { 0x00600401, 0x24f82288, 0x00cf8c41, 0x00000000 },
+   { 0x00600601, 0x26102288, 0x00cf8801, 0x00000000 },
+   { 0x00600401, 0x26182288, 0x00cf8841, 0x00000000 },
+   { 0x0c000031, 0x20002220, 0x06000380, 0x120a8018 },
+   { 0x0c000031, 0x20002220, 0x060004a0, 0x060a8019 },
+   { 0x0c000031, 0x20002220, 0x060005c0, 0x060a801a },
+   { 0x00600001, 0x2fe00208, 0x008d0000, 0x00000000 },
+   { 0x07000031, 0x20002220, 0x0e000fe0, 0x82000010 },