Add the VPP shader of NV12->RGBX conversion
authorZhao Yakui <yakui.zhao@intel.com>
Thu, 23 May 2013 02:22:09 +0000 (10:22 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 27 Feb 2014 02:22:06 +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/Save_AVS_RGBX.g8a [new file with mode: 0644]
src/shaders/post_processing/gen8/YUV_to_RGB.g8a [new file with mode: 0644]
src/shaders/post_processing/gen8/pl2_to_rgbx.asm [new file with mode: 0644]
src/shaders/post_processing/gen8/pl2_to_rgbx.g8b [new file with mode: 0644]

index 59ba8ea..e7ad0d0 100755 (executable)
@@ -1214,7 +1214,7 @@ static const uint32_t pp_rgbx_load_save_nv12_gen8[][4] = {
 #include "shaders/post_processing/gen7/rgbx_to_nv12.g75b"
 };
 static const uint32_t pp_nv12_load_save_rgbx_gen8[][4] = {
-#include "shaders/post_processing/gen7/pl2_to_rgbx.g75b"
+#include "shaders/post_processing/gen8/pl2_to_rgbx.g8b"
 };
 
 
index 461cb56..7f5b7ee 100644 (file)
@@ -3,6 +3,7 @@ INTEL_PP_G8B = \
        pl2_to_pl3.g8b          \
        pl3_to_pl2.g8b          \
        pl3_to_pl3.g8b          \
+       pl2_to_rgbx.g8b         \
        $(NULL)
 
 INTEL_PP_G8A = \
@@ -17,8 +18,10 @@ INTEL_PP_G8A = \
        PL3_AVS_Buf_3.g8a               \
        Save_AVS_NV12.g8a               \
        Save_AVS_PL3.g8a                \
+       Save_AVS_RGBX.g8a               \        
        Set_AVS_Buf_0123_PL2.g8a        \
        Set_AVS_Buf_0123_PL3.g8a        \
+       YUV_to_RGB.g8a                  \
        Set_Layer_0.g8a                 \
        VP_Setup.g8a                    \
        $(NULL)
diff --git a/src/shaders/post_processing/gen8/Save_AVS_RGBX.g8a b/src/shaders/post_processing/gen8/Save_AVS_RGBX.g8a
new file mode 100644 (file)
index 0000000..d2df8e4
--- /dev/null
@@ -0,0 +1,641 @@
+/*
+ *  Copyright 2000-2013 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.
+ *  Authors:
+ *    Zhao Yakui <yakui.zhao@intel.com>
+ */
+
+
+
+// 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: Save_AVS_RGBX.asm
+//
+// Save packed ARGB 444 frame data block of size 16x16
+//
+// To save 16x16 block (64x16 byte layout for ARGB8888) we need 8 send instructions with 32x4 in each
+//  --------
+//  | 0 | 1 |
+//  | 2 | 3 |
+//  | 4 | 5 |
+//  | 6 | 7 |
+//  ---------
+// the 8 32x4 block send is used
+
+
+
+// Module name: Save.inc
+
+
+
+
+// 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.
+
+
+//Msg payload buffers; upto 4 full-size messages can be written
+
+
+.declare    mudMSGPAYLOAD0  Base=r29.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud
+.declare    mudMSGPAYLOAD1  Base=r38.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud
+.declare    mudMSGPAYLOAD2  Base=r47.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud
+.declare    mudMSGPAYLOAD3  Base=r56.0 ElementSize=4 SrcRegion=<8;8,1> Type=ud
+
+.declare    muwMSGPAYLOAD0  Base=r29.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
+.declare    muwMSGPAYLOAD1  Base=r38.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
+.declare    muwMSGPAYLOAD2  Base=r47.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
+.declare    muwMSGPAYLOAD3  Base=r56.0 ElementSize=2 SrcRegion=<16;16,1> Type=uw
+
+.declare    mubMSGPAYLOAD0  Base=r29.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
+.declare    mubMSGPAYLOAD1  Base=r38.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
+.declare    mubMSGPAYLOAD2  Base=r47.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
+.declare    mubMSGPAYLOAD3  Base=r56.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
+.declare    mubMSGPAYLOAD4  Base=r32.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
+.declare    mubMSGPAYLOAD5  Base=r41.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
+.declare    mubMSGPAYLOAD6  Base=r50.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
+.declare    mubMSGPAYLOAD7  Base=r59.0 ElementSize=1 SrcRegion=<16;16,1> Type=ub
+
+
+       // the r17 register (nTEMP0) is originally defined from "Common.inc"
+       // instead of re-defining a nTEMP0 here, we use "SAVE_RGB" suffix for its naming
+
+       .declare uwTemp0 Base=r17.0 ElementSize=2 Type=uw
+
+
+//_SAVE_INC_
+
+
+// At the save module we have all 8 address sub-registers available.
+// So we will use PING-PONG type of scheme to save the data using
+// pointers pBUF_CHNL_TOP_8x4 and pBUF_CHNL_BOT_8x4. This will help
+// reduce dependency. - rT
+
+    //Internal LAYOUT:(RRGGBBAA)
+        //Assign buffer channel order for Buffer 0123 in the order RGBA a0.3>A, a0.2>B, a0.1>G, a0.0>R
+        // R = 0, G= 4, B = 8, A = 12.
+        mov (4) acc0.0<1>:w                 0x62EA:v
+        add (4) acc0.0<1>:w                 acc0<4;4,1>:w       70:uw
+        shl (4) r22.0<1>:w       acc0<4;4,1>:w       5:uw
+
+                       // if channel swap?
+                       // This means that it should be BGRA(B is the LSB) or RGBA
+                       // the internal format is always RGBA(MSB-A-B-G-R).
+                       and.nz.f0.0     null<1>:w       r2.3<0;1,0>:uw 0x01:w
+
+//wBUFF_CHNL_PTR points to either buffer 0 or buffer 4.
+//Add appropriate offsets to get pointers for all buffers (1,2,3 or 5).
+//Offsets are zero for buffer 0 and buffer 4.
+       add   (4)   a0.0<1>:uw   r22.0<4;4,1>:w          0:uw
+
+       // pointer swap
+       (f0.0)  mov (1) uwTemp0<1> a0.0<0;1,0>:uw
+       (f0.0)  mov (1) a0.0<1>:uw a0.2<0;1,0>:uw
+       (f0.0)  mov (1) a0.2<1>:uw uwTemp0<0;1,0>
+
+    shl (1) r27.0<1>:d      r7.0<0;1,0>:w            2:w                       { NoDDClr }       // H. block origin need to be quadrupled
+    mov (1) r27.1<1>:d      r7.1<0;1,0>:w                                      { NoDDClr, NoDDChk }    // Block origin (1st quadrant)
+    mov (1) r27.2<1>:ud     0x3001F:ud         { NoDDChk }       // Block width and height (32x4)
+
+    mov (4)   a0.4<1>:uw   a0.0<4;4,1>:uw         
+
+    mov (8) r28<1>:ud      r27<8;8,1>:ud
+    mov (8) r37<1>:ud      r27<8;8,1>:ud
+    mov (8) r46<1>:ud      r27<8;8,1>:ud
+    mov (8) r55<1>:ud      r27<8;8,1>:ud
+
+    mov (8) r31<1>:ud          r27<8;8,1>:ud
+       mov (8) r40<1>:ud               r27<8;8,1>:ud
+       mov (8) r49<1>:ud               r27<8;8,1>:ud
+       mov (8) r58<1>:ud               r27<8;8,1>:ud
+
+//Buffer 0/1 are written by using 4 32x4.
+
+       add (1) r37.0<1>:d     r27.0<0;1,0>:d        32:d   
+
+       add (1) r46.1<1>:d     r27.1<0;1,0>:d        4:d   
+
+       add (1) r55.1<1>:d     r27.1<0;1,0>:d        4:d  
+       add (1) r55.0<1>:d     r27.0<0;1,0>:d        32:d  
+
+    // write Buf_0 to 1st quarter of four horizontal output blocks
+
+// Please note the scattered order of NODDCLR, NODDCHK flags. Since the sub-registers
+// of destination reg are not updated at one place and hence even flags are scattered. -rT
+
+/* for block 0 the left part of buffer 0 and 1 */
+    mov (8)    mubMSGPAYLOAD0(0,   0)<4>  r[a0.0,   1]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(0,   1)<4>  r[a0.1,   1]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(0,   2)<4>  r[a0.2,   1]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(0,   3)<4>  r2.31:ub             
+
+    mov (8)    mubMSGPAYLOAD0(1,   0)<4>  r[a0.0,   33]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(1,   1)<4>  r[a0.1,   33]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(1,   2)<4>  r[a0.2,   33]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(1,   3)<4>  r2.31:ub             
+
+    mov (8)    mubMSGPAYLOAD1(0,   0)<4>  r[a0.0,   17]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(0,   1)<4>  r[a0.1,   17]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(0,   2)<4>  r[a0.2,   17]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(0,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD1(1,   0)<4>  r[a0.0,   49]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(1,   1)<4>  r[a0.1,   49]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(1,   2)<4>  r[a0.2,   49]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(1,   3)<4>  r2.31:ub                                     
+
+    mov (8)    mubMSGPAYLOAD0(2,   0)<4>  r[a0.0,   65]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(2,   1)<4>  r[a0.1,   65]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(2,   2)<4>  r[a0.2,   65]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(2,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD0(3,   0)<4>  r[a0.0,   97]<16;8,2>:ub     
+    mov (8)    mubMSGPAYLOAD0(3,   1)<4>  r[a0.1,   97]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(3,   2)<4>  r[a0.2,   97]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(3,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD1(2,   0)<4>  r[a0.0,   81]<16;8,2>:ub     
+    mov (8)    mubMSGPAYLOAD1(2,   1)<4>  r[a0.1,   81]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(2,   2)<4>  r[a0.2,   81]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(2,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD1(3,   0)<4>  r[a0.0,   113]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(3,   1)<4>  r[a0.1,   113]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(3,   2)<4>  r[a0.2,   113]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(3,   3)<4>  r2.31:ub
+
+/* For Buffer 0 */
+    send (16)    null<1>:d    r28      0xc                     0x0A0A8018:ud
+    send (16)    null<1>:d    r37      0xc                     0x0A0A8018:ud
+
+    add (4)    a0.0<1>:uw      a0.4<4;4,1>:uw          512:uw
+    mov (8)    mubMSGPAYLOAD2(0,   0)<4>  r[a0.0,   1]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(0,   1)<4>  r[a0.1,   1]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(0,   2)<4>  r[a0.2,   1]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(0,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD2(1,   0)<4>  r[a0.0,   33]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(1,   1)<4>  r[a0.1,   33]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(1,   2)<4>  r[a0.2,   33]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(1,   3)<4>  r2.31:ub     
+
+    mov (8)    mubMSGPAYLOAD3(0,   0)<4>  r[a0.0,   17]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(0,   1)<4>  r[a0.1,   17]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(0,   2)<4>  r[a0.2,   17]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(0,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD3(1,   0)<4>  r[a0.0,   49]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(1,   1)<4>  r[a0.1,   49]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(1,   2)<4>  r[a0.2,   49]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(1,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD2(2,   0)<4>  r[a0.0,   65]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(2,   1)<4>  r[a0.1,   65]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(2,   2)<4>  r[a0.2,   65]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(2,   3)<4>  r2.31:ub
+
+    mov (8)    mubMSGPAYLOAD2(3,   0)<4>  r[a0.0,   97]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(3,   1)<4>  r[a0.1,   97]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(3,   2)<4>  r[a0.2,   97]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(3,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD3(2,   0)<4>  r[a0.0,   81]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(2,   1)<4>  r[a0.1,   81]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(2,   2)<4>  r[a0.2,   81]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(2,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD3(3,   0)<4>  r[a0.0,   113]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(3,   1)<4>  r[a0.1,   113]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(3,   2)<4>  r[a0.2,   113]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(3,   3)<4>  r2.31:ub                             
+    // send Buffer 1
+    send (16)    null<1>:d    r46      0xc                     0x0A0A8018:ud
+    send (16)    null<1>:d    r55      0xc                     0x0A0A8018:ud
+
+
+/* for Buffer 2/3 */
+    mov (8) r28<1>:ud      r27<8;8,1>:ud
+    mov (8) r37<1>:ud      r27<8;8,1>:ud
+    mov (8) r46<1>:ud      r27<8;8,1>:ud
+    mov (8) r55<1>:ud      r27<8;8,1>:ud
+
+       add (1) r28.1<1>:d      r27.1<0;1,0>:d          8:d
+
+       add (1) r37.0<1>:d     r27.0<0;1,0>:d        32:d   
+       add (1) r37.1<1>:d     r27.1<0;1,0>:d        8:d   
+
+       add (1) r46.1<1>:d     r27.1<0;1,0>:d        12:d   
+
+       add (1) r55.1<1>:d     r27.1<0;1,0>:d        12:d  
+       add (1) r55.0<1>:d     r27.0<0;1,0>:d        32:d  
+
+    add (4)    a0.0<1>:uw      a0.4<4;4,1>:uw          1024:uw
+
+    mov (8)    mubMSGPAYLOAD0(0,   0)<4>  r[a0.0,   1]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(0,   1)<4>  r[a0.1,   1]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(0,   2)<4>  r[a0.2,   1]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(0,   3)<4>  r2.31:ub             
+
+    mov (8)    mubMSGPAYLOAD0(1,   0)<4>  r[a0.0,   33]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(1,   1)<4>  r[a0.1,   33]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(1,   2)<4>  r[a0.2,   33]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(1,   3)<4>  r2.31:ub             
+
+    mov (8)    mubMSGPAYLOAD1(0,   0)<4>  r[a0.0,   17]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(0,   1)<4>  r[a0.1,   17]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(0,   2)<4>  r[a0.2,   17]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(0,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD1(1,   0)<4>  r[a0.0,   49]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(1,   1)<4>  r[a0.1,   49]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(1,   2)<4>  r[a0.2,   49]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(1,   3)<4>  r2.31:ub                                     
+
+    mov (8)    mubMSGPAYLOAD0(2,   0)<4>  r[a0.0,   65]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(2,   1)<4>  r[a0.1,   65]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(2,   2)<4>  r[a0.2,   65]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(2,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD0(3,   0)<4>  r[a0.0,   97]<16;8,2>:ub     
+    mov (8)    mubMSGPAYLOAD0(3,   1)<4>  r[a0.1,   97]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(3,   2)<4>  r[a0.2,   97]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD0(3,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD1(2,   0)<4>  r[a0.0,   81]<16;8,2>:ub     
+    mov (8)    mubMSGPAYLOAD1(2,   1)<4>  r[a0.1,   81]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(2,   2)<4>  r[a0.2,   81]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(2,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD1(3,   0)<4>  r[a0.0,   113]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(3,   1)<4>  r[a0.1,   113]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(3,   2)<4>  r[a0.2,   113]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD1(3,   3)<4>  r2.31:ub
+
+// Send Buffer 2
+    send (16)    null<1>:d    r28      0xc                     0x0A0A8018:ud
+    send (16)    null<1>:d    r37      0xc                     0x0A0A8018:ud
+
+    add (4)    a0.0<1>:uw      a0.4<4;4,1>:uw          1536:uw
+    mov (8)    mubMSGPAYLOAD2(0,   0)<4>  r[a0.0,   1]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(0,   1)<4>  r[a0.1,   1]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(0,   2)<4>  r[a0.2,   1]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(0,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD2(1,   0)<4>  r[a0.0,   33]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(1,   1)<4>  r[a0.1,   33]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(1,   2)<4>  r[a0.2,   33]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(1,   3)<4>  r2.31:ub     
+
+    mov (8)    mubMSGPAYLOAD3(0,   0)<4>  r[a0.0,   17]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(0,   1)<4>  r[a0.1,   17]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(0,   2)<4>  r[a0.2,   17]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(0,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD3(1,   0)<4>  r[a0.0,   49]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(1,   1)<4>  r[a0.1,   49]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(1,   2)<4>  r[a0.2,   49]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(1,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD2(2,   0)<4>  r[a0.0,   65]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(2,   1)<4>  r[a0.1,   65]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(2,   2)<4>  r[a0.2,   65]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(2,   3)<4>  r2.31:ub
+
+    mov (8)    mubMSGPAYLOAD2(3,   0)<4>  r[a0.0,   97]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(3,   1)<4>  r[a0.1,   97]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(3,   2)<4>  r[a0.2,   97]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD2(3,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD3(2,   0)<4>  r[a0.0,   81]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(2,   1)<4>  r[a0.1,   81]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(2,   2)<4>  r[a0.2,   81]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(2,   3)<4>  r2.31:ub                             
+
+    mov (8)    mubMSGPAYLOAD3(3,   0)<4>  r[a0.0,   113]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(3,   1)<4>  r[a0.1,   113]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(3,   2)<4>  r[a0.2,   113]<16;8,2>:ub
+    mov (8)    mubMSGPAYLOAD3(3,   3)<4>  r2.31:ub                             
+    // send buffer 3
+    send (16)    null<1>:d    r46      0xc                     0x0A0A8018:ud
+    send (16)    null<1>:d    r55      0xc                     0x0A0A8018:ud
+
+
+
diff --git a/src/shaders/post_processing/gen8/YUV_to_RGB.g8a b/src/shaders/post_processing/gen8/YUV_to_RGB.g8a
new file mode 100644 (file)
index 0000000..9f3fcba
--- /dev/null
@@ -0,0 +1,955 @@
+/*
+ *  Copyright 2000-2013 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.
+ *  Authors:
+ *    Zhao Yakui <yakui.zhao@intel.com>
+ */
+
+
+
+// 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: YUV_to_RGB.asm
+//
+// Convert YUV to RGB, handle it by 16x4 block
+//
+
+
+// Description: Includes all definitions explicit to Fast Composite.
+
+
+//========== 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 bBUFFER_0     Base=r64.0       ElementSize=1       SrcRegion=<16;16,1>     DstRegion=<1>       Type=ub
+.declare bBUFFER_1     Base=r80.0       ElementSize=1       SrcRegion=<16;16,1>     DstRegion=<1>       Type=ub
+.declare bBUFFER_2     Base=r96.0       ElementSize=1       SrcRegion=<16;16,1>     DstRegion=<1>       Type=ub
+.declare bBUFFER_3     Base=r112.0       ElementSize=1       SrcRegion=<16;16,1>     DstRegion=<1>       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.
+
+
+//Msg payload buffers; upto 4 full-size messages can be written
+
+//Unnecessary to use the MSGPayLoad, So it is temporiarily used for conversion of YUV->RGB
+
+.declare    fBUFFER_R       Base=r28.0 ElementSize=4 SrcRegion=<8;8,1> Type=f
+.declare    fBUFFER_G       Base=r30.0 ElementSize=4 SrcRegion=<8;8,1> Type=f
+.declare    fBUFFER_B      Base=r32.0 ElementSize=4 SrcRegion=<8;8,1> Type=f
+
+.declare    fBUFFER_Y      Base=r36.0 ElementSize=4 SrcRegion=<8;8,1> Type=f
+.declare    fBUFFER_U      Base=r38.0 ElementSize=4 SrcRegion=<8;8,1> Type=f
+.declare    fBUFFER_V      Base=r40.0 ElementSize=4 SrcRegion=<8;8,1> Type=f
+
+
+.declare       wTempR          Base=r42.0 ElementSize=2 Type=w
+.declare       wTempG          Base=r44.0 ElementSize=2 Type=w
+.declare       wTempB          Base=r46.0 ElementSize=2 Type=w
+
+.declare       ubTempR         Base=r42.0 ElementSize=1 Type=ub
+.declare       ubTempG         Base=r44.0 ElementSize=1 Type=ub
+.declare       ubTempB         Base=r46.0 ElementSize=1 Type=ub
+
+       // the r17 register (nTEMP0) is originally defined from "Common.inc"
+       // instead of re-defining a nTEMP0 here, we use "SAVE_RGB" suffix for its naming
+
+       .declare wTemp0 Base=r17.0 ElementSize=2 Type=uw
+
+
+//_SAVE_INC_
+       // NTSC standard
+       // R = Clamp ( 1.164(Y-16/255) + 1.596(Cr-128/255))
+       // G = Clamp ( 1.164(Y-16/255) - 0.813(Cr-128/255) - 0.392(Cb-128/255))
+       // B = Clamp ( 1.164(Y-16/255) + 2.017(Cb-128/255))     
+       // ITU-R conversion, Now we are using ITU-R conversion
+        // R = clip( Y                  + 1.402*(Cr-128))  // ITU-R
+        // G = clip( Y - 0.344*(Cb-128) - 0.714*(Cr-128))
+        // B = clip( Y + 1.772*(Cb-128))
+
+       // At the save module we have all 8 address sub-registers available.
+       // So we will use PING-PONG type of scheme to save the data using
+       // pointers pBUF_CHNL_TOP_8x4 and pBUF_CHNL_BOT_8x4. This will help
+       // reduce dependency. - rT
+
+       //wBUFF_CHNL_PTR points to either buffer 0 or buffer 4.
+       //Add appropriate offsets to get pointers for all buffers (1,2,3 or 5).
+       //Offsets are zero for buffer 0 and buffer 4.
+       //Y/U/V is also stored as R/G/B for the internal purpose
+//for BUFFER_0
+       mov   (4) a0.0<1>:uw              r22.0<4;4,1>:uw
+//the first line in the block 0
+        mov   (8) fBUFFER_Y(0, 0)<1>     r[a0.1, 1]<16;8,2>:ub           
+        mov   (8) fBUFFER_Y(1, 0)<1>     r[a0.1, 17]<16;8,2>:ub           
+        mov   (8) fBUFFER_U(0, 0)<1>     r[a0.2, 1]<16;8,2>:ub          
+        mov   (8) fBUFFER_U(1, 0)<1>     r[a0.2, 17]<16;8,2>:ub          
+        mov   (8) fBUFFER_V(0, 0)<1>     r[a0.0, 1]<16;8,2>:ub           
+        mov   (8) fBUFFER_V(1, 0)<1>     r[a0.0, 17]<16;8,2>:ub           
+
+       add   (16) fBUFFER_U(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        -128.0f 
+       add   (16) fBUFFER_V(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -128.0f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) fBUFFER_R(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        1.402f
+       
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) acc0.0<1>:f            fBUFFER_U(0, 0)<8;8,1>        -0.344f
+       mac   (16) fBUFFER_G(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -0.714f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) fBUFFER_B(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        1.772f
+       
+       mul.sat   (16) fBUFFER_Y(0, 0)<1>         fBUFFER_R(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_U(0, 0)<1>         fBUFFER_G(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_V(0, 0)<1>         fBUFFER_B(0, 0)<8;8,1>        0.0039216f
+       
+       mul       (16) fBUFFER_R(0, 0)<1>         fBUFFER_Y(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_G(0, 0)<1>         fBUFFER_U(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_B(0, 0)<1>         fBUFFER_V(0, 0)<8;8,1>        255.0f
+
+       mov   (16) wTempR(0, 0)<2>        fBUFFER_R(0, 0)<8;8,1>        
+       mov   (16) wTempG(0, 0)<2>        fBUFFER_G(0, 0)<8;8,1>        
+       mov   (16) wTempB(0, 0)<2>        fBUFFER_B(0, 0)<8;8,1>
+               
+       mov   (16) r[a0.1,1]<2>:ub        ubTempR(0, 0)<32;8,4>
+       mov   (16) r[a0.2,1]<2>:ub        ubTempG(0, 0)<32;8,4> 
+       mov   (16) r[a0.0,1]<2>:ub        ubTempB(0, 0)<32;8,4> 
+
+//the second line in the block 0
+        
+        mov   (8) fBUFFER_Y(0, 0)<1>     r[a0.1, 33]<16;8,2>:ub           
+        mov   (8) fBUFFER_Y(1, 0)<1>     r[a0.1, 49]<16;8,2>:ub           
+        mov   (8) fBUFFER_U(0, 0)<1>     r[a0.2, 33]<16;8,2>:ub          
+        mov   (8) fBUFFER_U(1, 0)<1>     r[a0.2, 49]<16;8,2>:ub          
+        mov   (8) fBUFFER_V(0, 0)<1>     r[a0.0, 33]<16;8,2>:ub           
+        mov   (8) fBUFFER_V(1, 0)<1>     r[a0.0, 49]<16;8,2>:ub           
+
+       add   (16) fBUFFER_U(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        -128.0f 
+       add   (16) fBUFFER_V(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -128.0f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac     (16) fBUFFER_R(0, 0)<1>   fBUFFER_V(0, 0)<8;8,1>        1.402f
+       
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) acc0.0<1>:f            fBUFFER_U(0, 0)<8;8,1>        -0.344f
+       mac (16) fBUFFER_G(0, 0)<1>       fBUFFER_V(0, 0)<8;8,1>        -0.714f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac (16) fBUFFER_B(0, 0)<1>       fBUFFER_U(0, 0)<8;8,1>        1.772f
+
+       mul.sat   (16) fBUFFER_Y(0, 0)<1>         fBUFFER_R(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_U(0, 0)<1>         fBUFFER_G(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_V(0, 0)<1>         fBUFFER_B(0, 0)<8;8,1>        0.0039216f
+       
+       mul       (16) fBUFFER_R(0, 0)<1>         fBUFFER_Y(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_G(0, 0)<1>         fBUFFER_U(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_B(0, 0)<1>         fBUFFER_V(0, 0)<8;8,1>        255.0f
+       
+
+       mov   (16) wTempR(0, 0)<2>        fBUFFER_R(0, 0)<8;8,1>        
+       mov   (16) wTempG(0, 0)<2>        fBUFFER_G(0, 0)<8;8,1>        
+       mov   (16) wTempB(0, 0)<2>        fBUFFER_B(0, 0)<8;8,1>
+       mov   (16) r[a0.1,33]<2>:ub       ubTempR(0, 0)<32;8,4>
+       mov   (16) r[a0.2,33]<2>:ub       ubTempG(0, 0)<32;8,4> 
+       mov   (16) r[a0.0,33]<2>:ub       ubTempB(0, 0)<32;8,4> 
+
+//the third line in the block 0
+        mov   (8) fBUFFER_Y(0, 0)<1>     r[a0.1, 65]<16;8,2>:ub           
+        mov   (8) fBUFFER_Y(1, 0)<1>     r[a0.1, 81]<16;8,2>:ub           
+        mov   (8) fBUFFER_U(0, 0)<1>     r[a0.2, 65]<16;8,2>:ub          
+        mov   (8) fBUFFER_U(1, 0)<1>     r[a0.2, 81]<16;8,2>:ub          
+        mov   (8) fBUFFER_V(0, 0)<1>     r[a0.0, 65]<16;8,2>:ub           
+        mov   (8) fBUFFER_V(1, 0)<1>     r[a0.0, 81]<16;8,2>:ub           
+
+       add   (16) fBUFFER_U(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        -128.0f 
+       add   (16) fBUFFER_V(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -128.0f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac     (16) fBUFFER_R(0, 0)<1>   fBUFFER_V(0, 0)<8;8,1>        1.402f
+       
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) acc0.0<1>:f            fBUFFER_U(0, 0)<8;8,1>        -0.344f
+       mac (16) fBUFFER_G(0, 0)<1>       fBUFFER_V(0, 0)<8;8,1>        -0.714f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac (16) fBUFFER_B(0, 0)<1>       fBUFFER_U(0, 0)<8;8,1>        1.772f
+
+       mul.sat   (16) fBUFFER_Y(0, 0)<1>         fBUFFER_R(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_U(0, 0)<1>         fBUFFER_G(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_V(0, 0)<1>         fBUFFER_B(0, 0)<8;8,1>        0.0039216f
+       
+       mul       (16) fBUFFER_R(0, 0)<1>         fBUFFER_Y(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_G(0, 0)<1>         fBUFFER_U(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_B(0, 0)<1>         fBUFFER_V(0, 0)<8;8,1>        255.0f
+       
+       mov   (16) wTempR(0, 0)<2>        fBUFFER_R(0, 0)<8;8,1>        
+       mov   (16) wTempG(0, 0)<2>        fBUFFER_G(0, 0)<8;8,1>        
+       mov   (16) wTempB(0, 0)<2>        fBUFFER_B(0, 0)<8;8,1>
+       mov   (16) r[a0.1,65]<2>:ub       ubTempR(0, 0)<32;8,4>
+       mov   (16) r[a0.2,65]<2>:ub       ubTempG(0, 0)<32;8,4> 
+       mov   (16) r[a0.0,65]<2>:ub       ubTempB(0, 0)<32;8,4> 
+
+//the fourth line in the block 0
+        mov   (8) fBUFFER_Y(0, 0)<1>     r[a0.1, 97]<16;8,2>:ub           
+        mov   (8) fBUFFER_Y(1, 0)<1>     r[a0.1, 113]<16;8,2>:ub           
+        mov   (8) fBUFFER_U(0, 0)<1>     r[a0.2, 97]<16;8,2>:ub          
+        mov   (8) fBUFFER_U(1, 0)<1>     r[a0.2, 113]<16;8,2>:ub          
+        mov   (8) fBUFFER_V(0, 0)<1>     r[a0.0, 97]<16;8,2>:ub           
+        mov   (8) fBUFFER_V(1, 0)<1>     r[a0.0, 113]<16;8,2>:ub           
+
+       add   (16) fBUFFER_U(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        -128.0f 
+       add   (16) fBUFFER_V(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -128.0f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac     (16) fBUFFER_R(0, 0)<1>   fBUFFER_V(0, 0)<8;8,1>        1.402f
+       
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) acc0.0<1>:f            fBUFFER_U(0, 0)<8;8,1>        -0.344f
+       mac (16) fBUFFER_G(0, 0)<1>       fBUFFER_V(0, 0)<8;8,1>        -0.714f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac (16) fBUFFER_B(0, 0)<1>       fBUFFER_U(0, 0)<8;8,1>        1.772f
+
+       mul.sat   (16) fBUFFER_Y(0, 0)<1>         fBUFFER_R(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_U(0, 0)<1>         fBUFFER_G(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_V(0, 0)<1>         fBUFFER_B(0, 0)<8;8,1>        0.0039216f
+       
+       mul       (16) fBUFFER_R(0, 0)<1>         fBUFFER_Y(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_G(0, 0)<1>         fBUFFER_U(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_B(0, 0)<1>         fBUFFER_V(0, 0)<8;8,1>        255.0f
+
+       mov   (16) wTempR(0, 0)<2>        fBUFFER_R(0, 0)<8;8,1>        
+       mov   (16) wTempG(0, 0)<2>        fBUFFER_G(0, 0)<8;8,1>        
+       mov   (16) wTempB(0, 0)<2>        fBUFFER_B(0, 0)<8;8,1>
+       mov   (16) r[a0.1,97]<2>:ub       ubTempR(0, 0)<32;8,4>
+       mov   (16) r[a0.2,97]<2>:ub       ubTempG(0, 0)<32;8,4> 
+       mov   (16) r[a0.0,97]<2>:ub       ubTempB(0, 0)<32;8,4> 
+
+
+//for BUFFER_1
+       add   (4) a0.0<1>:uw              r22.0<4;4,1>:uw       512:uw
+//the first line in the block 1
+        mov   (8) fBUFFER_Y(0, 0)<1>     r[a0.1, 1]<16;8,2>:ub           
+        mov   (8) fBUFFER_Y(1, 0)<1>     r[a0.1, 17]<16;8,2>:ub           
+        mov   (8) fBUFFER_U(0, 0)<1>     r[a0.2, 1]<16;8,2>:ub          
+        mov   (8) fBUFFER_U(1, 0)<1>     r[a0.2, 17]<16;8,2>:ub          
+        mov   (8) fBUFFER_V(0, 0)<1>     r[a0.0, 1]<16;8,2>:ub           
+        mov   (8) fBUFFER_V(1, 0)<1>     r[a0.0, 17]<16;8,2>:ub           
+
+       add   (16) fBUFFER_U(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        -128.0f 
+       add   (16) fBUFFER_V(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -128.0f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) fBUFFER_R(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        1.402f
+       
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) acc0.0<1>:f            fBUFFER_U(0, 0)<8;8,1>        -0.344f
+       mac   (16) fBUFFER_G(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -0.714f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) fBUFFER_B(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        1.772f
+       
+       mul.sat   (16) fBUFFER_Y(0, 0)<1>         fBUFFER_R(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_U(0, 0)<1>         fBUFFER_G(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_V(0, 0)<1>         fBUFFER_B(0, 0)<8;8,1>        0.0039216f
+       
+       mul       (16) fBUFFER_R(0, 0)<1>         fBUFFER_Y(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_G(0, 0)<1>         fBUFFER_U(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_B(0, 0)<1>         fBUFFER_V(0, 0)<8;8,1>        255.0f
+
+       mov   (16) wTempR(0, 0)<2>        fBUFFER_R(0, 0)<8;8,1>        
+       mov   (16) wTempG(0, 0)<2>        fBUFFER_G(0, 0)<8;8,1>        
+       mov   (16) wTempB(0, 0)<2>        fBUFFER_B(0, 0)<8;8,1>
+               
+       mov   (16) r[a0.1,1]<2>:ub        ubTempR(0, 0)<32;8,4>
+       mov   (16) r[a0.2,1]<2>:ub        ubTempG(0, 0)<32;8,4> 
+       mov   (16) r[a0.0,1]<2>:ub        ubTempB(0, 0)<32;8,4> 
+
+//the second line in the block 1
+        
+        mov   (8) fBUFFER_Y(0, 0)<1>     r[a0.1, 33]<16;8,2>:ub           
+        mov   (8) fBUFFER_Y(1, 0)<1>     r[a0.1, 49]<16;8,2>:ub           
+        mov   (8) fBUFFER_U(0, 0)<1>     r[a0.2, 33]<16;8,2>:ub          
+        mov   (8) fBUFFER_U(1, 0)<1>     r[a0.2, 49]<16;8,2>:ub          
+        mov   (8) fBUFFER_V(0, 0)<1>     r[a0.0, 33]<16;8,2>:ub           
+        mov   (8) fBUFFER_V(1, 0)<1>     r[a0.0, 49]<16;8,2>:ub           
+
+       add   (16) fBUFFER_U(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        -128.0f 
+       add   (16) fBUFFER_V(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -128.0f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac     (16) fBUFFER_R(0, 0)<1>   fBUFFER_V(0, 0)<8;8,1>        1.402f
+       
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) acc0.0<1>:f            fBUFFER_U(0, 0)<8;8,1>        -0.344f
+       mac (16) fBUFFER_G(0, 0)<1>       fBUFFER_V(0, 0)<8;8,1>        -0.714f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac (16) fBUFFER_B(0, 0)<1>       fBUFFER_U(0, 0)<8;8,1>        1.772f
+
+       mul.sat   (16) fBUFFER_Y(0, 0)<1>         fBUFFER_R(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_U(0, 0)<1>         fBUFFER_G(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_V(0, 0)<1>         fBUFFER_B(0, 0)<8;8,1>        0.0039216f
+       
+       mul       (16) fBUFFER_R(0, 0)<1>         fBUFFER_Y(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_G(0, 0)<1>         fBUFFER_U(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_B(0, 0)<1>         fBUFFER_V(0, 0)<8;8,1>        255.0f
+       
+
+       mov   (16) wTempR(0, 0)<2>        fBUFFER_R(0, 0)<8;8,1>        
+       mov   (16) wTempG(0, 0)<2>        fBUFFER_G(0, 0)<8;8,1>        
+       mov   (16) wTempB(0, 0)<2>        fBUFFER_B(0, 0)<8;8,1>
+       mov   (16) r[a0.1,33]<2>:ub       ubTempR(0, 0)<32;8,4>
+       mov   (16) r[a0.2,33]<2>:ub       ubTempG(0, 0)<32;8,4> 
+       mov   (16) r[a0.0,33]<2>:ub       ubTempB(0, 0)<32;8,4> 
+
+//the third line in the block 1
+        mov   (8) fBUFFER_Y(0, 0)<1>     r[a0.1, 65]<16;8,2>:ub           
+        mov   (8) fBUFFER_Y(1, 0)<1>     r[a0.1, 81]<16;8,2>:ub           
+        mov   (8) fBUFFER_U(0, 0)<1>     r[a0.2, 65]<16;8,2>:ub          
+        mov   (8) fBUFFER_U(1, 0)<1>     r[a0.2, 81]<16;8,2>:ub          
+        mov   (8) fBUFFER_V(0, 0)<1>     r[a0.0, 65]<16;8,2>:ub           
+        mov   (8) fBUFFER_V(1, 0)<1>     r[a0.0, 81]<16;8,2>:ub           
+
+       add   (16) fBUFFER_U(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        -128.0f 
+       add   (16) fBUFFER_V(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -128.0f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac     (16) fBUFFER_R(0, 0)<1>   fBUFFER_V(0, 0)<8;8,1>        1.402f
+       
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) acc0.0<1>:f            fBUFFER_U(0, 0)<8;8,1>        -0.344f
+       mac (16) fBUFFER_G(0, 0)<1>       fBUFFER_V(0, 0)<8;8,1>        -0.714f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac (16) fBUFFER_B(0, 0)<1>       fBUFFER_U(0, 0)<8;8,1>        1.772f
+
+       mul.sat   (16) fBUFFER_Y(0, 0)<1>         fBUFFER_R(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_U(0, 0)<1>         fBUFFER_G(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_V(0, 0)<1>         fBUFFER_B(0, 0)<8;8,1>        0.0039216f
+       
+       mul       (16) fBUFFER_R(0, 0)<1>         fBUFFER_Y(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_G(0, 0)<1>         fBUFFER_U(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_B(0, 0)<1>         fBUFFER_V(0, 0)<8;8,1>        255.0f
+       
+       mov   (16) wTempR(0, 0)<2>        fBUFFER_R(0, 0)<8;8,1>        
+       mov   (16) wTempG(0, 0)<2>        fBUFFER_G(0, 0)<8;8,1>        
+       mov   (16) wTempB(0, 0)<2>        fBUFFER_B(0, 0)<8;8,1>
+       mov   (16) r[a0.1,65]<2>:ub       ubTempR(0, 0)<32;8,4>
+       mov   (16) r[a0.2,65]<2>:ub       ubTempG(0, 0)<32;8,4> 
+       mov   (16) r[a0.0,65]<2>:ub       ubTempB(0, 0)<32;8,4> 
+
+//the fourth line in the block 1
+        mov   (8) fBUFFER_Y(0, 0)<1>     r[a0.1, 97]<16;8,2>:ub           
+        mov   (8) fBUFFER_Y(1, 0)<1>     r[a0.1, 113]<16;8,2>:ub           
+        mov   (8) fBUFFER_U(0, 0)<1>     r[a0.2, 97]<16;8,2>:ub          
+        mov   (8) fBUFFER_U(1, 0)<1>     r[a0.2, 113]<16;8,2>:ub          
+        mov   (8) fBUFFER_V(0, 0)<1>     r[a0.0, 97]<16;8,2>:ub           
+        mov   (8) fBUFFER_V(1, 0)<1>     r[a0.0, 113]<16;8,2>:ub           
+
+       add   (16) fBUFFER_U(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        -128.0f 
+       add   (16) fBUFFER_V(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -128.0f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac     (16) fBUFFER_R(0, 0)<1>   fBUFFER_V(0, 0)<8;8,1>        1.402f
+       
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) acc0.0<1>:f            fBUFFER_U(0, 0)<8;8,1>        -0.344f
+       mac (16) fBUFFER_G(0, 0)<1>       fBUFFER_V(0, 0)<8;8,1>        -0.714f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac (16) fBUFFER_B(0, 0)<1>       fBUFFER_U(0, 0)<8;8,1>        1.772f
+
+       mul.sat   (16) fBUFFER_Y(0, 0)<1>         fBUFFER_R(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_U(0, 0)<1>         fBUFFER_G(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_V(0, 0)<1>         fBUFFER_B(0, 0)<8;8,1>        0.0039216f
+       
+       mul       (16) fBUFFER_R(0, 0)<1>         fBUFFER_Y(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_G(0, 0)<1>         fBUFFER_U(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_B(0, 0)<1>         fBUFFER_V(0, 0)<8;8,1>        255.0f
+
+       mov   (16) wTempR(0, 0)<2>        fBUFFER_R(0, 0)<8;8,1>        
+       mov   (16) wTempG(0, 0)<2>        fBUFFER_G(0, 0)<8;8,1>        
+       mov   (16) wTempB(0, 0)<2>        fBUFFER_B(0, 0)<8;8,1>
+       mov   (16) r[a0.1,97]<2>:ub       ubTempR(0, 0)<32;8,4>
+       mov   (16) r[a0.2,97]<2>:ub       ubTempG(0, 0)<32;8,4> 
+       mov   (16) r[a0.0,97]<2>:ub       ubTempB(0, 0)<32;8,4> 
+
+
+//for BUFFER_2
+       add   (4) a0.0<1>:uw              r22.0<4;4,1>:uw       1024:uw
+//the first line in the block 2
+        mov   (8) fBUFFER_Y(0, 0)<1>     r[a0.1, 1]<16;8,2>:ub           
+        mov   (8) fBUFFER_Y(1, 0)<1>     r[a0.1, 17]<16;8,2>:ub           
+        mov   (8) fBUFFER_U(0, 0)<1>     r[a0.2, 1]<16;8,2>:ub          
+        mov   (8) fBUFFER_U(1, 0)<1>     r[a0.2, 17]<16;8,2>:ub          
+        mov   (8) fBUFFER_V(0, 0)<1>     r[a0.0, 1]<16;8,2>:ub           
+        mov   (8) fBUFFER_V(1, 0)<1>     r[a0.0, 17]<16;8,2>:ub           
+
+       add   (16) fBUFFER_U(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        -128.0f 
+       add   (16) fBUFFER_V(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -128.0f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) fBUFFER_R(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        1.402f
+       
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) acc0.0<1>:f            fBUFFER_U(0, 0)<8;8,1>        -0.344f
+       mac   (16) fBUFFER_G(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -0.714f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) fBUFFER_B(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        1.772f
+       
+       mul.sat   (16) fBUFFER_Y(0, 0)<1>         fBUFFER_R(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_U(0, 0)<1>         fBUFFER_G(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_V(0, 0)<1>         fBUFFER_B(0, 0)<8;8,1>        0.0039216f
+       
+       mul       (16) fBUFFER_R(0, 0)<1>         fBUFFER_Y(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_G(0, 0)<1>         fBUFFER_U(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_B(0, 0)<1>         fBUFFER_V(0, 0)<8;8,1>        255.0f
+
+       mov   (16) wTempR(0, 0)<2>        fBUFFER_R(0, 0)<8;8,1>        
+       mov   (16) wTempG(0, 0)<2>        fBUFFER_G(0, 0)<8;8,1>        
+       mov   (16) wTempB(0, 0)<2>        fBUFFER_B(0, 0)<8;8,1>
+               
+       mov   (16) r[a0.1,1]<2>:ub        ubTempR(0, 0)<32;8,4>
+       mov   (16) r[a0.2,1]<2>:ub        ubTempG(0, 0)<32;8,4> 
+       mov   (16) r[a0.0,1]<2>:ub        ubTempB(0, 0)<32;8,4> 
+
+//the second line in the block 2
+        
+        mov   (8) fBUFFER_Y(0, 0)<1>     r[a0.1, 33]<16;8,2>:ub           
+        mov   (8) fBUFFER_Y(1, 0)<1>     r[a0.1, 49]<16;8,2>:ub           
+        mov   (8) fBUFFER_U(0, 0)<1>     r[a0.2, 33]<16;8,2>:ub          
+        mov   (8) fBUFFER_U(1, 0)<1>     r[a0.2, 49]<16;8,2>:ub          
+        mov   (8) fBUFFER_V(0, 0)<1>     r[a0.0, 33]<16;8,2>:ub           
+        mov   (8) fBUFFER_V(1, 0)<1>     r[a0.0, 49]<16;8,2>:ub           
+
+       add   (16) fBUFFER_U(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        -128.0f 
+       add   (16) fBUFFER_V(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -128.0f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac     (16) fBUFFER_R(0, 0)<1>   fBUFFER_V(0, 0)<8;8,1>        1.402f
+       
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) acc0.0<1>:f            fBUFFER_U(0, 0)<8;8,1>        -0.344f
+       mac (16) fBUFFER_G(0, 0)<1>       fBUFFER_V(0, 0)<8;8,1>        -0.714f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac (16) fBUFFER_B(0, 0)<1>       fBUFFER_U(0, 0)<8;8,1>        1.772f
+
+       mul.sat   (16) fBUFFER_Y(0, 0)<1>         fBUFFER_R(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_U(0, 0)<1>         fBUFFER_G(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_V(0, 0)<1>         fBUFFER_B(0, 0)<8;8,1>        0.0039216f
+       
+       mul       (16) fBUFFER_R(0, 0)<1>         fBUFFER_Y(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_G(0, 0)<1>         fBUFFER_U(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_B(0, 0)<1>         fBUFFER_V(0, 0)<8;8,1>        255.0f
+       
+
+       mov   (16) wTempR(0, 0)<2>        fBUFFER_R(0, 0)<8;8,1>        
+       mov   (16) wTempG(0, 0)<2>        fBUFFER_G(0, 0)<8;8,1>        
+       mov   (16) wTempB(0, 0)<2>        fBUFFER_B(0, 0)<8;8,1>
+       mov   (16) r[a0.1,33]<2>:ub       ubTempR(0, 0)<32;8,4>
+       mov   (16) r[a0.2,33]<2>:ub       ubTempG(0, 0)<32;8,4> 
+       mov   (16) r[a0.0,33]<2>:ub       ubTempB(0, 0)<32;8,4> 
+
+//the third line in the block 2
+        mov   (8) fBUFFER_Y(0, 0)<1>     r[a0.1, 65]<16;8,2>:ub           
+        mov   (8) fBUFFER_Y(1, 0)<1>     r[a0.1, 81]<16;8,2>:ub           
+        mov   (8) fBUFFER_U(0, 0)<1>     r[a0.2, 65]<16;8,2>:ub          
+        mov   (8) fBUFFER_U(1, 0)<1>     r[a0.2, 81]<16;8,2>:ub          
+        mov   (8) fBUFFER_V(0, 0)<1>     r[a0.0, 65]<16;8,2>:ub           
+        mov   (8) fBUFFER_V(1, 0)<1>     r[a0.0, 81]<16;8,2>:ub           
+
+       add   (16) fBUFFER_U(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        -128.0f 
+       add   (16) fBUFFER_V(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -128.0f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac     (16) fBUFFER_R(0, 0)<1>   fBUFFER_V(0, 0)<8;8,1>        1.402f
+       
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) acc0.0<1>:f            fBUFFER_U(0, 0)<8;8,1>        -0.344f
+       mac (16) fBUFFER_G(0, 0)<1>       fBUFFER_V(0, 0)<8;8,1>        -0.714f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac (16) fBUFFER_B(0, 0)<1>       fBUFFER_U(0, 0)<8;8,1>        1.772f
+
+       mul.sat   (16) fBUFFER_Y(0, 0)<1>         fBUFFER_R(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_U(0, 0)<1>         fBUFFER_G(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_V(0, 0)<1>         fBUFFER_B(0, 0)<8;8,1>        0.0039216f
+       
+       mul       (16) fBUFFER_R(0, 0)<1>         fBUFFER_Y(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_G(0, 0)<1>         fBUFFER_U(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_B(0, 0)<1>         fBUFFER_V(0, 0)<8;8,1>        255.0f
+       
+       mov   (16) wTempR(0, 0)<2>        fBUFFER_R(0, 0)<8;8,1>        
+       mov   (16) wTempG(0, 0)<2>        fBUFFER_G(0, 0)<8;8,1>        
+       mov   (16) wTempB(0, 0)<2>        fBUFFER_B(0, 0)<8;8,1>
+       mov   (16) r[a0.1,65]<2>:ub       ubTempR(0, 0)<32;8,4>
+       mov   (16) r[a0.2,65]<2>:ub       ubTempG(0, 0)<32;8,4> 
+       mov   (16) r[a0.0,65]<2>:ub       ubTempB(0, 0)<32;8,4> 
+
+//the fourth line in the block 2
+        mov   (8) fBUFFER_Y(0, 0)<1>     r[a0.1, 97]<16;8,2>:ub           
+        mov   (8) fBUFFER_Y(1, 0)<1>     r[a0.1, 113]<16;8,2>:ub           
+        mov   (8) fBUFFER_U(0, 0)<1>     r[a0.2, 97]<16;8,2>:ub          
+        mov   (8) fBUFFER_U(1, 0)<1>     r[a0.2, 113]<16;8,2>:ub          
+        mov   (8) fBUFFER_V(0, 0)<1>     r[a0.0, 97]<16;8,2>:ub           
+        mov   (8) fBUFFER_V(1, 0)<1>     r[a0.0, 113]<16;8,2>:ub           
+
+       add   (16) fBUFFER_U(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        -128.0f 
+       add   (16) fBUFFER_V(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -128.0f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac     (16) fBUFFER_R(0, 0)<1>   fBUFFER_V(0, 0)<8;8,1>        1.402f
+       
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) acc0.0<1>:f            fBUFFER_U(0, 0)<8;8,1>        -0.344f
+       mac (16) fBUFFER_G(0, 0)<1>       fBUFFER_V(0, 0)<8;8,1>        -0.714f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac (16) fBUFFER_B(0, 0)<1>       fBUFFER_U(0, 0)<8;8,1>        1.772f
+
+       mul.sat   (16) fBUFFER_Y(0, 0)<1>         fBUFFER_R(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_U(0, 0)<1>         fBUFFER_G(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_V(0, 0)<1>         fBUFFER_B(0, 0)<8;8,1>        0.0039216f
+       
+       mul       (16) fBUFFER_R(0, 0)<1>         fBUFFER_Y(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_G(0, 0)<1>         fBUFFER_U(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_B(0, 0)<1>         fBUFFER_V(0, 0)<8;8,1>        255.0f
+
+       mov   (16) wTempR(0, 0)<2>        fBUFFER_R(0, 0)<8;8,1>        
+       mov   (16) wTempG(0, 0)<2>        fBUFFER_G(0, 0)<8;8,1>        
+       mov   (16) wTempB(0, 0)<2>        fBUFFER_B(0, 0)<8;8,1>
+       mov   (16) r[a0.1,97]<2>:ub       ubTempR(0, 0)<32;8,4>
+       mov   (16) r[a0.2,97]<2>:ub       ubTempG(0, 0)<32;8,4> 
+       mov   (16) r[a0.0,97]<2>:ub       ubTempB(0, 0)<32;8,4> 
+
+
+//for BUFFER_3
+       add   (4) a0.0<1>:uw              r22.0<4;4,1>:uw       1536:uw
+//the first line in the block 3
+        mov   (8) fBUFFER_Y(0, 0)<1>     r[a0.1, 1]<16;8,2>:ub           
+        mov   (8) fBUFFER_Y(1, 0)<1>     r[a0.1, 17]<16;8,2>:ub           
+        mov   (8) fBUFFER_U(0, 0)<1>     r[a0.2, 1]<16;8,2>:ub          
+        mov   (8) fBUFFER_U(1, 0)<1>     r[a0.2, 17]<16;8,2>:ub          
+        mov   (8) fBUFFER_V(0, 0)<1>     r[a0.0, 1]<16;8,2>:ub           
+        mov   (8) fBUFFER_V(1, 0)<1>     r[a0.0, 17]<16;8,2>:ub           
+
+       add   (16) fBUFFER_U(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        -128.0f 
+       add   (16) fBUFFER_V(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -128.0f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) fBUFFER_R(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        1.402f
+       
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) acc0.0<1>:f            fBUFFER_U(0, 0)<8;8,1>        -0.344f
+       mac   (16) fBUFFER_G(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -0.714f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) fBUFFER_B(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        1.772f
+       
+       mul.sat   (16) fBUFFER_Y(0, 0)<1>         fBUFFER_R(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_U(0, 0)<1>         fBUFFER_G(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_V(0, 0)<1>         fBUFFER_B(0, 0)<8;8,1>        0.0039216f
+       
+       mul       (16) fBUFFER_R(0, 0)<1>         fBUFFER_Y(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_G(0, 0)<1>         fBUFFER_U(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_B(0, 0)<1>         fBUFFER_V(0, 0)<8;8,1>        255.0f
+
+       mov   (16) wTempR(0, 0)<2>        fBUFFER_R(0, 0)<8;8,1>        
+       mov   (16) wTempG(0, 0)<2>        fBUFFER_G(0, 0)<8;8,1>        
+       mov   (16) wTempB(0, 0)<2>        fBUFFER_B(0, 0)<8;8,1>
+               
+       mov   (16) r[a0.1,1]<2>:ub        ubTempR(0, 0)<32;8,4>
+       mov   (16) r[a0.2,1]<2>:ub        ubTempG(0, 0)<32;8,4> 
+       mov   (16) r[a0.0,1]<2>:ub        ubTempB(0, 0)<32;8,4> 
+
+//the second line in the block 3
+        
+        mov   (8) fBUFFER_Y(0, 0)<1>     r[a0.1, 33]<16;8,2>:ub           
+        mov   (8) fBUFFER_Y(1, 0)<1>     r[a0.1, 49]<16;8,2>:ub           
+        mov   (8) fBUFFER_U(0, 0)<1>     r[a0.2, 33]<16;8,2>:ub          
+        mov   (8) fBUFFER_U(1, 0)<1>     r[a0.2, 49]<16;8,2>:ub          
+        mov   (8) fBUFFER_V(0, 0)<1>     r[a0.0, 33]<16;8,2>:ub           
+        mov   (8) fBUFFER_V(1, 0)<1>     r[a0.0, 49]<16;8,2>:ub           
+
+       add   (16) fBUFFER_U(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        -128.0f 
+       add   (16) fBUFFER_V(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -128.0f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac     (16) fBUFFER_R(0, 0)<1>   fBUFFER_V(0, 0)<8;8,1>        1.402f
+       
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) acc0.0<1>:f            fBUFFER_U(0, 0)<8;8,1>        -0.344f
+       mac (16) fBUFFER_G(0, 0)<1>       fBUFFER_V(0, 0)<8;8,1>        -0.714f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac (16) fBUFFER_B(0, 0)<1>       fBUFFER_U(0, 0)<8;8,1>        1.772f
+
+       mul.sat   (16) fBUFFER_Y(0, 0)<1>         fBUFFER_R(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_U(0, 0)<1>         fBUFFER_G(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_V(0, 0)<1>         fBUFFER_B(0, 0)<8;8,1>        0.0039216f
+       
+       mul       (16) fBUFFER_R(0, 0)<1>         fBUFFER_Y(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_G(0, 0)<1>         fBUFFER_U(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_B(0, 0)<1>         fBUFFER_V(0, 0)<8;8,1>        255.0f
+       
+
+       mov   (16) wTempR(0, 0)<2>        fBUFFER_R(0, 0)<8;8,1>        
+       mov   (16) wTempG(0, 0)<2>        fBUFFER_G(0, 0)<8;8,1>        
+       mov   (16) wTempB(0, 0)<2>        fBUFFER_B(0, 0)<8;8,1>
+       mov   (16) r[a0.1,33]<2>:ub       ubTempR(0, 0)<32;8,4>
+       mov   (16) r[a0.2,33]<2>:ub       ubTempG(0, 0)<32;8,4> 
+       mov   (16) r[a0.0,33]<2>:ub       ubTempB(0, 0)<32;8,4> 
+
+//the third line in the block 3
+        mov   (8) fBUFFER_Y(0, 0)<1>     r[a0.1, 65]<16;8,2>:ub           
+        mov   (8) fBUFFER_Y(1, 0)<1>     r[a0.1, 81]<16;8,2>:ub           
+        mov   (8) fBUFFER_U(0, 0)<1>     r[a0.2, 65]<16;8,2>:ub          
+        mov   (8) fBUFFER_U(1, 0)<1>     r[a0.2, 81]<16;8,2>:ub          
+        mov   (8) fBUFFER_V(0, 0)<1>     r[a0.0, 65]<16;8,2>:ub           
+        mov   (8) fBUFFER_V(1, 0)<1>     r[a0.0, 81]<16;8,2>:ub           
+
+       add   (16) fBUFFER_U(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        -128.0f 
+       add   (16) fBUFFER_V(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -128.0f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) fBUFFER_R(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        1.402f
+       
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) acc0.0<1>:f            fBUFFER_U(0, 0)<8;8,1>        -0.344f
+       mac (16) fBUFFER_G(0, 0)<1>       fBUFFER_V(0, 0)<8;8,1>        -0.714f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac (16) fBUFFER_B(0, 0)<1>       fBUFFER_U(0, 0)<8;8,1>        1.772f
+
+       mul.sat   (16) fBUFFER_Y(0, 0)<1>         fBUFFER_R(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_U(0, 0)<1>         fBUFFER_G(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_V(0, 0)<1>         fBUFFER_B(0, 0)<8;8,1>        0.0039216f
+       
+       mul       (16) fBUFFER_R(0, 0)<1>         fBUFFER_Y(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_G(0, 0)<1>         fBUFFER_U(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_B(0, 0)<1>         fBUFFER_V(0, 0)<8;8,1>        255.0f
+       
+       mov   (16) wTempR(0, 0)<2>        fBUFFER_R(0, 0)<8;8,1>        
+       mov   (16) wTempG(0, 0)<2>        fBUFFER_G(0, 0)<8;8,1>        
+       mov   (16) wTempB(0, 0)<2>        fBUFFER_B(0, 0)<8;8,1>
+       mov   (16) r[a0.1,65]<2>:ub       ubTempR(0, 0)<32;8,4>
+       mov   (16) r[a0.2,65]<2>:ub       ubTempG(0, 0)<32;8,4> 
+       mov   (16) r[a0.0,65]<2>:ub       ubTempB(0, 0)<32;8,4> 
+
+//the fourth line in the block 3
+        mov   (8) fBUFFER_Y(0, 0)<1>     r[a0.1, 97]<16;8,2>:ub           
+        mov   (8) fBUFFER_Y(1, 0)<1>     r[a0.1, 113]<16;8,2>:ub           
+        mov   (8) fBUFFER_U(0, 0)<1>     r[a0.2, 97]<16;8,2>:ub          
+        mov   (8) fBUFFER_U(1, 0)<1>     r[a0.2, 113]<16;8,2>:ub          
+        mov   (8) fBUFFER_V(0, 0)<1>     r[a0.0, 97]<16;8,2>:ub           
+        mov   (8) fBUFFER_V(1, 0)<1>     r[a0.0, 113]<16;8,2>:ub           
+
+       add   (16) fBUFFER_U(0, 0)<1>     fBUFFER_U(0, 0)<8;8,1>        -128.0f 
+       add   (16) fBUFFER_V(0, 0)<1>     fBUFFER_V(0, 0)<8;8,1>        -128.0f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac     (16) fBUFFER_R(0, 0)<1>   fBUFFER_V(0, 0)<8;8,1>        1.402f
+       
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac   (16) acc0.0<1>:f            fBUFFER_U(0, 0)<8;8,1>        -0.344f
+       mac (16) fBUFFER_G(0, 0)<1>       fBUFFER_V(0, 0)<8;8,1>        -0.714f
+
+       mov   (16) acc0.0<1>:f            fBUFFER_Y(0, 0)<8;8,1>
+       mac (16) fBUFFER_B(0, 0)<1>       fBUFFER_U(0, 0)<8;8,1>        1.772f
+
+       mul.sat   (16) fBUFFER_Y(0, 0)<1>         fBUFFER_R(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_U(0, 0)<1>         fBUFFER_G(0, 0)<8;8,1>        0.0039216f
+       mul.sat   (16) fBUFFER_V(0, 0)<1>         fBUFFER_B(0, 0)<8;8,1>        0.0039216f
+       
+       mul       (16) fBUFFER_R(0, 0)<1>         fBUFFER_Y(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_G(0, 0)<1>         fBUFFER_U(0, 0)<8;8,1>        255.0f
+       mul       (16) fBUFFER_B(0, 0)<1>         fBUFFER_V(0, 0)<8;8,1>        255.0f
+
+       mov   (16) wTempR(0, 0)<2>        fBUFFER_R(0, 0)<8;8,1>        
+       mov   (16) wTempG(0, 0)<2>        fBUFFER_G(0, 0)<8;8,1>        
+       mov   (16) wTempB(0, 0)<2>        fBUFFER_B(0, 0)<8;8,1>
+       mov   (16) r[a0.1,97]<2>:ub       ubTempR(0, 0)<32;8,4>
+       mov   (16) r[a0.2,97]<2>:ub       ubTempG(0, 0)<32;8,4> 
+       mov   (16) r[a0.0,97]<2>:ub       ubTempB(0, 0)<32;8,4> 
+
diff --git a/src/shaders/post_processing/gen8/pl2_to_rgbx.asm b/src/shaders/post_processing/gen8/pl2_to_rgbx.asm
new file mode 100644 (file)
index 0000000..58a5204
--- /dev/null
@@ -0,0 +1,18 @@
+// Module name: AVS
+.kernel PL2_TO_PL2
+.code
+
+#include "VP_Setup.g8a"
+#include "Set_Layer_0.g8a"
+#include "Set_AVS_Buf_0123_PL2.g8a"
+#include "PL2_AVS_Buf_0.g8a"
+#include "PL2_AVS_Buf_1.g8a"
+#include "PL2_AVS_Buf_2.g8a"
+#include "PL2_AVS_Buf_3.g8a"
+#include "YUV_to_RGB.g8a"
+#include "Save_AVS_RGBX.g8a"        
+#include "EOT.g8a"
+
+.end_code  
+
+.end_kernel
diff --git a/src/shaders/post_processing/gen8/pl2_to_rgbx.g8b b/src/shaders/post_processing/gen8/pl2_to_rgbx.g8b
new file mode 100644 (file)
index 0000000..fe1c49c
--- /dev/null
@@ -0,0 +1,722 @@
+   { 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, 0x00006ea2 },
+   { 0x00400040, 0x24001860, 0x16690400, 0x00460046 },
+   { 0x00400009, 0x22c01868, 0x16690400, 0x00050005 },
+   { 0x00400001, 0x24003660, 0x30000000, 0x00006204 },
+   { 0x00400040, 0x24001860, 0x16690400, 0x00400040 },
+   { 0x00400209, 0x22401868, 0x16690400, 0x00050005 },
+   { 0x00000401, 0x22500608, 0x00000000, 0x01000100 },
+   { 0x00000001, 0x22d00608, 0x00000000, 0x00400040 },
+   { 0x00000001, 0x220c0208, 0x0000000c, 0x00000000 },
+   { 0x00000040, 0x22000200, 0x060002f4, 0x044eb000 },
+   { 0x00000001, 0x22080608, 0x00000000, 0x0000d000 },
+   { 0x00600001, 0x22200208, 0x008d0320, 0x00000000 },
+   { 0x02000031, 0x28002248, 0x00000200, 0x00000200 },
+   { 0x00000040, 0x22000200, 0x060002f4, 0x048eb001 },
+   { 0x00000001, 0x22080608, 0x00000000, 0x0000a000 },
+   { 0x02000031, 0x28802248, 0x00000200, 0x00000200 },
+   { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+   { 0x00000001, 0x220c0208, 0x0000000c, 0x00000000 },
+   { 0x00000040, 0x22000200, 0x060002f4, 0x044eb000 },
+   { 0x00000001, 0x22080608, 0x00000000, 0x0000d000 },
+   { 0x00000001, 0x23240608, 0x00000000, 0x00000001 },
+   { 0x00600001, 0x22200208, 0x008d0320, 0x00000000 },
+   { 0x02000031, 0x2a002248, 0x00000200, 0x00000200 },
+   { 0x00000040, 0x22000200, 0x060002f4, 0x048eb001 },
+   { 0x00000001, 0x22080608, 0x00000000, 0x0000a000 },
+   { 0x02000031, 0x2a802248, 0x00000200, 0x00000200 },
+   { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+   { 0x00000001, 0x220c0208, 0x0000000c, 0x00000000 },
+   { 0x00000040, 0x22000200, 0x060002f4, 0x044eb000 },
+   { 0x00000001, 0x22080608, 0x00000000, 0x0000d000 },
+   { 0x00000001, 0x23240608, 0x00000000, 0x00000002 },
+   { 0x00600001, 0x22200208, 0x008d0320, 0x00000000 },
+   { 0x02000031, 0x2c002248, 0x00000200, 0x00000200 },
+   { 0x00000040, 0x22000200, 0x060002f4, 0x048eb001 },
+   { 0x00000001, 0x22080608, 0x00000000, 0x0000a000 },
+   { 0x02000031, 0x2c802248, 0x00000200, 0x00000200 },
+   { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+   { 0x00000001, 0x220c0208, 0x0000000c, 0x00000000 },
+   { 0x00000040, 0x22000200, 0x060002f4, 0x044eb000 },
+   { 0x00000001, 0x22080608, 0x00000000, 0x0000d000 },
+   { 0x00000001, 0x23240608, 0x00000000, 0x00000003 },
+   { 0x00600001, 0x22200208, 0x008d0320, 0x00000000 },
+   { 0x02000031, 0x2e002248, 0x00000200, 0x00000200 },
+   { 0x00000040, 0x22000200, 0x060002f4, 0x048eb001 },
+   { 0x00000001, 0x22080608, 0x00000000, 0x0000a000 },
+   { 0x02000031, 0x2e802248, 0x00000200, 0x00000200 },
+   { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
+   { 0x00400001, 0x22001240, 0x006902c0, 0x00000000 },
+   { 0x00600001, 0x248022e8, 0x00ae8201, 0x00000000 },
+   { 0x00600001, 0x24a022e8, 0x00ae8211, 0x00000000 },
+   { 0x00600001, 0x24c022e8, 0x00ae8401, 0x00000000 },
+   { 0x00600001, 0x24e022e8, 0x00ae8411, 0x00000000 },
+   { 0x00600001, 0x250022e8, 0x00ae8001, 0x00000000 },
+   { 0x00600001, 0x252022e8, 0x00ae8011, 0x00000000 },
+   { 0x00800040, 0x24c03ae8, 0x3e8d04c0, 0xc3000000 },
+   { 0x00800040, 0x25003ae8, 0x3e8d0500, 0xc3000000 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x23803ae8, 0x3e8d0500, 0x3fb374bc },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae0, 0x3e8d04c0, 0xbeb020c5 },
+   { 0x00800048, 0x23c03ae8, 0x3e8d0500, 0xbf36c8b4 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae8, 0x3e8d04c0, 0x3fe2d0e5 },
+   { 0x80800041, 0x24803ae8, 0x3e8d0380, 0x3b8080c4 },
+   { 0x80800041, 0x24c03ae8, 0x3e8d03c0, 0x3b8080c4 },
+   { 0x80800041, 0x25003ae8, 0x3e8d0400, 0x3b8080c4 },
+   { 0x00800041, 0x23803ae8, 0x3e8d0480, 0x437f0000 },
+   { 0x00800041, 0x23c03ae8, 0x3e8d04c0, 0x437f0000 },
+   { 0x00800041, 0x24003ae8, 0x3e8d0500, 0x437f0000 },
+   { 0x00800001, 0x45403a68, 0x008d0380, 0x00000000 },
+   { 0x00800001, 0x45803a68, 0x008d03c0, 0x00000000 },
+   { 0x00800001, 0x45c03a68, 0x008d0400, 0x00000000 },
+   { 0x00800001, 0xc2012288, 0x00cf0540, 0x00000000 },
+   { 0x00800001, 0xc4012288, 0x00cf0580, 0x00000000 },
+   { 0x00800001, 0xc0012288, 0x00cf05c0, 0x00000000 },
+   { 0x00600001, 0x248022e8, 0x00ae8221, 0x00000000 },
+   { 0x00600001, 0x24a022e8, 0x00ae8231, 0x00000000 },
+   { 0x00600001, 0x24c022e8, 0x00ae8421, 0x00000000 },
+   { 0x00600001, 0x24e022e8, 0x00ae8431, 0x00000000 },
+   { 0x00600001, 0x250022e8, 0x00ae8021, 0x00000000 },
+   { 0x00600001, 0x252022e8, 0x00ae8031, 0x00000000 },
+   { 0x00800040, 0x24c03ae8, 0x3e8d04c0, 0xc3000000 },
+   { 0x00800040, 0x25003ae8, 0x3e8d0500, 0xc3000000 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x23803ae8, 0x3e8d0500, 0x3fb374bc },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae0, 0x3e8d04c0, 0xbeb020c5 },
+   { 0x00800048, 0x23c03ae8, 0x3e8d0500, 0xbf36c8b4 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae8, 0x3e8d04c0, 0x3fe2d0e5 },
+   { 0x80800041, 0x24803ae8, 0x3e8d0380, 0x3b8080c4 },
+   { 0x80800041, 0x24c03ae8, 0x3e8d03c0, 0x3b8080c4 },
+   { 0x80800041, 0x25003ae8, 0x3e8d0400, 0x3b8080c4 },
+   { 0x00800041, 0x23803ae8, 0x3e8d0480, 0x437f0000 },
+   { 0x00800041, 0x23c03ae8, 0x3e8d04c0, 0x437f0000 },
+   { 0x00800041, 0x24003ae8, 0x3e8d0500, 0x437f0000 },
+   { 0x00800001, 0x45403a68, 0x008d0380, 0x00000000 },
+   { 0x00800001, 0x45803a68, 0x008d03c0, 0x00000000 },
+   { 0x00800001, 0x45c03a68, 0x008d0400, 0x00000000 },
+   { 0x00800001, 0xc2212288, 0x00cf0540, 0x00000000 },
+   { 0x00800001, 0xc4212288, 0x00cf0580, 0x00000000 },
+   { 0x00800001, 0xc0212288, 0x00cf05c0, 0x00000000 },
+   { 0x00600001, 0x248022e8, 0x00ae8241, 0x00000000 },
+   { 0x00600001, 0x24a022e8, 0x00ae8251, 0x00000000 },
+   { 0x00600001, 0x24c022e8, 0x00ae8441, 0x00000000 },
+   { 0x00600001, 0x24e022e8, 0x00ae8451, 0x00000000 },
+   { 0x00600001, 0x250022e8, 0x00ae8041, 0x00000000 },
+   { 0x00600001, 0x252022e8, 0x00ae8051, 0x00000000 },
+   { 0x00800040, 0x24c03ae8, 0x3e8d04c0, 0xc3000000 },
+   { 0x00800040, 0x25003ae8, 0x3e8d0500, 0xc3000000 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x23803ae8, 0x3e8d0500, 0x3fb374bc },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae0, 0x3e8d04c0, 0xbeb020c5 },
+   { 0x00800048, 0x23c03ae8, 0x3e8d0500, 0xbf36c8b4 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae8, 0x3e8d04c0, 0x3fe2d0e5 },
+   { 0x80800041, 0x24803ae8, 0x3e8d0380, 0x3b8080c4 },
+   { 0x80800041, 0x24c03ae8, 0x3e8d03c0, 0x3b8080c4 },
+   { 0x80800041, 0x25003ae8, 0x3e8d0400, 0x3b8080c4 },
+   { 0x00800041, 0x23803ae8, 0x3e8d0480, 0x437f0000 },
+   { 0x00800041, 0x23c03ae8, 0x3e8d04c0, 0x437f0000 },
+   { 0x00800041, 0x24003ae8, 0x3e8d0500, 0x437f0000 },
+   { 0x00800001, 0x45403a68, 0x008d0380, 0x00000000 },
+   { 0x00800001, 0x45803a68, 0x008d03c0, 0x00000000 },
+   { 0x00800001, 0x45c03a68, 0x008d0400, 0x00000000 },
+   { 0x00800001, 0xc2412288, 0x00cf0540, 0x00000000 },
+   { 0x00800001, 0xc4412288, 0x00cf0580, 0x00000000 },
+   { 0x00800001, 0xc0412288, 0x00cf05c0, 0x00000000 },
+   { 0x00600001, 0x248022e8, 0x00ae8261, 0x00000000 },
+   { 0x00600001, 0x24a022e8, 0x00ae8271, 0x00000000 },
+   { 0x00600001, 0x24c022e8, 0x00ae8461, 0x00000000 },
+   { 0x00600001, 0x24e022e8, 0x00ae8471, 0x00000000 },
+   { 0x00600001, 0x250022e8, 0x00ae8061, 0x00000000 },
+   { 0x00600001, 0x252022e8, 0x00ae8071, 0x00000000 },
+   { 0x00800040, 0x24c03ae8, 0x3e8d04c0, 0xc3000000 },
+   { 0x00800040, 0x25003ae8, 0x3e8d0500, 0xc3000000 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x23803ae8, 0x3e8d0500, 0x3fb374bc },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae0, 0x3e8d04c0, 0xbeb020c5 },
+   { 0x00800048, 0x23c03ae8, 0x3e8d0500, 0xbf36c8b4 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae8, 0x3e8d04c0, 0x3fe2d0e5 },
+   { 0x80800041, 0x24803ae8, 0x3e8d0380, 0x3b8080c4 },
+   { 0x80800041, 0x24c03ae8, 0x3e8d03c0, 0x3b8080c4 },
+   { 0x80800041, 0x25003ae8, 0x3e8d0400, 0x3b8080c4 },
+   { 0x00800041, 0x23803ae8, 0x3e8d0480, 0x437f0000 },
+   { 0x00800041, 0x23c03ae8, 0x3e8d04c0, 0x437f0000 },
+   { 0x00800041, 0x24003ae8, 0x3e8d0500, 0x437f0000 },
+   { 0x00800001, 0x45403a68, 0x008d0380, 0x00000000 },
+   { 0x00800001, 0x45803a68, 0x008d03c0, 0x00000000 },
+   { 0x00800001, 0x45c03a68, 0x008d0400, 0x00000000 },
+   { 0x00800001, 0xc2612288, 0x00cf0540, 0x00000000 },
+   { 0x00800001, 0xc4612288, 0x00cf0580, 0x00000000 },
+   { 0x00800001, 0xc0612288, 0x00cf05c0, 0x00000000 },
+   { 0x00400040, 0x22001240, 0x166902c0, 0x02000200 },
+   { 0x00600001, 0x248022e8, 0x00ae8201, 0x00000000 },
+   { 0x00600001, 0x24a022e8, 0x00ae8211, 0x00000000 },
+   { 0x00600001, 0x24c022e8, 0x00ae8401, 0x00000000 },
+   { 0x00600001, 0x24e022e8, 0x00ae8411, 0x00000000 },
+   { 0x00600001, 0x250022e8, 0x00ae8001, 0x00000000 },
+   { 0x00600001, 0x252022e8, 0x00ae8011, 0x00000000 },
+   { 0x00800040, 0x24c03ae8, 0x3e8d04c0, 0xc3000000 },
+   { 0x00800040, 0x25003ae8, 0x3e8d0500, 0xc3000000 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x23803ae8, 0x3e8d0500, 0x3fb374bc },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae0, 0x3e8d04c0, 0xbeb020c5 },
+   { 0x00800048, 0x23c03ae8, 0x3e8d0500, 0xbf36c8b4 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae8, 0x3e8d04c0, 0x3fe2d0e5 },
+   { 0x80800041, 0x24803ae8, 0x3e8d0380, 0x3b8080c4 },
+   { 0x80800041, 0x24c03ae8, 0x3e8d03c0, 0x3b8080c4 },
+   { 0x80800041, 0x25003ae8, 0x3e8d0400, 0x3b8080c4 },
+   { 0x00800041, 0x23803ae8, 0x3e8d0480, 0x437f0000 },
+   { 0x00800041, 0x23c03ae8, 0x3e8d04c0, 0x437f0000 },
+   { 0x00800041, 0x24003ae8, 0x3e8d0500, 0x437f0000 },
+   { 0x00800001, 0x45403a68, 0x008d0380, 0x00000000 },
+   { 0x00800001, 0x45803a68, 0x008d03c0, 0x00000000 },
+   { 0x00800001, 0x45c03a68, 0x008d0400, 0x00000000 },
+   { 0x00800001, 0xc2012288, 0x00cf0540, 0x00000000 },
+   { 0x00800001, 0xc4012288, 0x00cf0580, 0x00000000 },
+   { 0x00800001, 0xc0012288, 0x00cf05c0, 0x00000000 },
+   { 0x00600001, 0x248022e8, 0x00ae8221, 0x00000000 },
+   { 0x00600001, 0x24a022e8, 0x00ae8231, 0x00000000 },
+   { 0x00600001, 0x24c022e8, 0x00ae8421, 0x00000000 },
+   { 0x00600001, 0x24e022e8, 0x00ae8431, 0x00000000 },
+   { 0x00600001, 0x250022e8, 0x00ae8021, 0x00000000 },
+   { 0x00600001, 0x252022e8, 0x00ae8031, 0x00000000 },
+   { 0x00800040, 0x24c03ae8, 0x3e8d04c0, 0xc3000000 },
+   { 0x00800040, 0x25003ae8, 0x3e8d0500, 0xc3000000 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x23803ae8, 0x3e8d0500, 0x3fb374bc },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae0, 0x3e8d04c0, 0xbeb020c5 },
+   { 0x00800048, 0x23c03ae8, 0x3e8d0500, 0xbf36c8b4 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae8, 0x3e8d04c0, 0x3fe2d0e5 },
+   { 0x80800041, 0x24803ae8, 0x3e8d0380, 0x3b8080c4 },
+   { 0x80800041, 0x24c03ae8, 0x3e8d03c0, 0x3b8080c4 },
+   { 0x80800041, 0x25003ae8, 0x3e8d0400, 0x3b8080c4 },
+   { 0x00800041, 0x23803ae8, 0x3e8d0480, 0x437f0000 },
+   { 0x00800041, 0x23c03ae8, 0x3e8d04c0, 0x437f0000 },
+   { 0x00800041, 0x24003ae8, 0x3e8d0500, 0x437f0000 },
+   { 0x00800001, 0x45403a68, 0x008d0380, 0x00000000 },
+   { 0x00800001, 0x45803a68, 0x008d03c0, 0x00000000 },
+   { 0x00800001, 0x45c03a68, 0x008d0400, 0x00000000 },
+   { 0x00800001, 0xc2212288, 0x00cf0540, 0x00000000 },
+   { 0x00800001, 0xc4212288, 0x00cf0580, 0x00000000 },
+   { 0x00800001, 0xc0212288, 0x00cf05c0, 0x00000000 },
+   { 0x00600001, 0x248022e8, 0x00ae8241, 0x00000000 },
+   { 0x00600001, 0x24a022e8, 0x00ae8251, 0x00000000 },
+   { 0x00600001, 0x24c022e8, 0x00ae8441, 0x00000000 },
+   { 0x00600001, 0x24e022e8, 0x00ae8451, 0x00000000 },
+   { 0x00600001, 0x250022e8, 0x00ae8041, 0x00000000 },
+   { 0x00600001, 0x252022e8, 0x00ae8051, 0x00000000 },
+   { 0x00800040, 0x24c03ae8, 0x3e8d04c0, 0xc3000000 },
+   { 0x00800040, 0x25003ae8, 0x3e8d0500, 0xc3000000 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x23803ae8, 0x3e8d0500, 0x3fb374bc },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae0, 0x3e8d04c0, 0xbeb020c5 },
+   { 0x00800048, 0x23c03ae8, 0x3e8d0500, 0xbf36c8b4 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae8, 0x3e8d04c0, 0x3fe2d0e5 },
+   { 0x80800041, 0x24803ae8, 0x3e8d0380, 0x3b8080c4 },
+   { 0x80800041, 0x24c03ae8, 0x3e8d03c0, 0x3b8080c4 },
+   { 0x80800041, 0x25003ae8, 0x3e8d0400, 0x3b8080c4 },
+   { 0x00800041, 0x23803ae8, 0x3e8d0480, 0x437f0000 },
+   { 0x00800041, 0x23c03ae8, 0x3e8d04c0, 0x437f0000 },
+   { 0x00800041, 0x24003ae8, 0x3e8d0500, 0x437f0000 },
+   { 0x00800001, 0x45403a68, 0x008d0380, 0x00000000 },
+   { 0x00800001, 0x45803a68, 0x008d03c0, 0x00000000 },
+   { 0x00800001, 0x45c03a68, 0x008d0400, 0x00000000 },
+   { 0x00800001, 0xc2412288, 0x00cf0540, 0x00000000 },
+   { 0x00800001, 0xc4412288, 0x00cf0580, 0x00000000 },
+   { 0x00800001, 0xc0412288, 0x00cf05c0, 0x00000000 },
+   { 0x00600001, 0x248022e8, 0x00ae8261, 0x00000000 },
+   { 0x00600001, 0x24a022e8, 0x00ae8271, 0x00000000 },
+   { 0x00600001, 0x24c022e8, 0x00ae8461, 0x00000000 },
+   { 0x00600001, 0x24e022e8, 0x00ae8471, 0x00000000 },
+   { 0x00600001, 0x250022e8, 0x00ae8061, 0x00000000 },
+   { 0x00600001, 0x252022e8, 0x00ae8071, 0x00000000 },
+   { 0x00800040, 0x24c03ae8, 0x3e8d04c0, 0xc3000000 },
+   { 0x00800040, 0x25003ae8, 0x3e8d0500, 0xc3000000 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x23803ae8, 0x3e8d0500, 0x3fb374bc },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae0, 0x3e8d04c0, 0xbeb020c5 },
+   { 0x00800048, 0x23c03ae8, 0x3e8d0500, 0xbf36c8b4 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae8, 0x3e8d04c0, 0x3fe2d0e5 },
+   { 0x80800041, 0x24803ae8, 0x3e8d0380, 0x3b8080c4 },
+   { 0x80800041, 0x24c03ae8, 0x3e8d03c0, 0x3b8080c4 },
+   { 0x80800041, 0x25003ae8, 0x3e8d0400, 0x3b8080c4 },
+   { 0x00800041, 0x23803ae8, 0x3e8d0480, 0x437f0000 },
+   { 0x00800041, 0x23c03ae8, 0x3e8d04c0, 0x437f0000 },
+   { 0x00800041, 0x24003ae8, 0x3e8d0500, 0x437f0000 },
+   { 0x00800001, 0x45403a68, 0x008d0380, 0x00000000 },
+   { 0x00800001, 0x45803a68, 0x008d03c0, 0x00000000 },
+   { 0x00800001, 0x45c03a68, 0x008d0400, 0x00000000 },
+   { 0x00800001, 0xc2612288, 0x00cf0540, 0x00000000 },
+   { 0x00800001, 0xc4612288, 0x00cf0580, 0x00000000 },
+   { 0x00800001, 0xc0612288, 0x00cf05c0, 0x00000000 },
+   { 0x00400040, 0x22001240, 0x166902c0, 0x04000400 },
+   { 0x00600001, 0x248022e8, 0x00ae8201, 0x00000000 },
+   { 0x00600001, 0x24a022e8, 0x00ae8211, 0x00000000 },
+   { 0x00600001, 0x24c022e8, 0x00ae8401, 0x00000000 },
+   { 0x00600001, 0x24e022e8, 0x00ae8411, 0x00000000 },
+   { 0x00600001, 0x250022e8, 0x00ae8001, 0x00000000 },
+   { 0x00600001, 0x252022e8, 0x00ae8011, 0x00000000 },
+   { 0x00800040, 0x24c03ae8, 0x3e8d04c0, 0xc3000000 },
+   { 0x00800040, 0x25003ae8, 0x3e8d0500, 0xc3000000 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x23803ae8, 0x3e8d0500, 0x3fb374bc },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae0, 0x3e8d04c0, 0xbeb020c5 },
+   { 0x00800048, 0x23c03ae8, 0x3e8d0500, 0xbf36c8b4 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae8, 0x3e8d04c0, 0x3fe2d0e5 },
+   { 0x80800041, 0x24803ae8, 0x3e8d0380, 0x3b8080c4 },
+   { 0x80800041, 0x24c03ae8, 0x3e8d03c0, 0x3b8080c4 },
+   { 0x80800041, 0x25003ae8, 0x3e8d0400, 0x3b8080c4 },
+   { 0x00800041, 0x23803ae8, 0x3e8d0480, 0x437f0000 },
+   { 0x00800041, 0x23c03ae8, 0x3e8d04c0, 0x437f0000 },
+   { 0x00800041, 0x24003ae8, 0x3e8d0500, 0x437f0000 },
+   { 0x00800001, 0x45403a68, 0x008d0380, 0x00000000 },
+   { 0x00800001, 0x45803a68, 0x008d03c0, 0x00000000 },
+   { 0x00800001, 0x45c03a68, 0x008d0400, 0x00000000 },
+   { 0x00800001, 0xc2012288, 0x00cf0540, 0x00000000 },
+   { 0x00800001, 0xc4012288, 0x00cf0580, 0x00000000 },
+   { 0x00800001, 0xc0012288, 0x00cf05c0, 0x00000000 },
+   { 0x00600001, 0x248022e8, 0x00ae8221, 0x00000000 },
+   { 0x00600001, 0x24a022e8, 0x00ae8231, 0x00000000 },
+   { 0x00600001, 0x24c022e8, 0x00ae8421, 0x00000000 },
+   { 0x00600001, 0x24e022e8, 0x00ae8431, 0x00000000 },
+   { 0x00600001, 0x250022e8, 0x00ae8021, 0x00000000 },
+   { 0x00600001, 0x252022e8, 0x00ae8031, 0x00000000 },
+   { 0x00800040, 0x24c03ae8, 0x3e8d04c0, 0xc3000000 },
+   { 0x00800040, 0x25003ae8, 0x3e8d0500, 0xc3000000 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x23803ae8, 0x3e8d0500, 0x3fb374bc },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae0, 0x3e8d04c0, 0xbeb020c5 },
+   { 0x00800048, 0x23c03ae8, 0x3e8d0500, 0xbf36c8b4 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae8, 0x3e8d04c0, 0x3fe2d0e5 },
+   { 0x80800041, 0x24803ae8, 0x3e8d0380, 0x3b8080c4 },
+   { 0x80800041, 0x24c03ae8, 0x3e8d03c0, 0x3b8080c4 },
+   { 0x80800041, 0x25003ae8, 0x3e8d0400, 0x3b8080c4 },
+   { 0x00800041, 0x23803ae8, 0x3e8d0480, 0x437f0000 },
+   { 0x00800041, 0x23c03ae8, 0x3e8d04c0, 0x437f0000 },
+   { 0x00800041, 0x24003ae8, 0x3e8d0500, 0x437f0000 },
+   { 0x00800001, 0x45403a68, 0x008d0380, 0x00000000 },
+   { 0x00800001, 0x45803a68, 0x008d03c0, 0x00000000 },
+   { 0x00800001, 0x45c03a68, 0x008d0400, 0x00000000 },
+   { 0x00800001, 0xc2212288, 0x00cf0540, 0x00000000 },
+   { 0x00800001, 0xc4212288, 0x00cf0580, 0x00000000 },
+   { 0x00800001, 0xc0212288, 0x00cf05c0, 0x00000000 },
+   { 0x00600001, 0x248022e8, 0x00ae8241, 0x00000000 },
+   { 0x00600001, 0x24a022e8, 0x00ae8251, 0x00000000 },
+   { 0x00600001, 0x24c022e8, 0x00ae8441, 0x00000000 },
+   { 0x00600001, 0x24e022e8, 0x00ae8451, 0x00000000 },
+   { 0x00600001, 0x250022e8, 0x00ae8041, 0x00000000 },
+   { 0x00600001, 0x252022e8, 0x00ae8051, 0x00000000 },
+   { 0x00800040, 0x24c03ae8, 0x3e8d04c0, 0xc3000000 },
+   { 0x00800040, 0x25003ae8, 0x3e8d0500, 0xc3000000 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x23803ae8, 0x3e8d0500, 0x3fb374bc },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae0, 0x3e8d04c0, 0xbeb020c5 },
+   { 0x00800048, 0x23c03ae8, 0x3e8d0500, 0xbf36c8b4 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae8, 0x3e8d04c0, 0x3fe2d0e5 },
+   { 0x80800041, 0x24803ae8, 0x3e8d0380, 0x3b8080c4 },
+   { 0x80800041, 0x24c03ae8, 0x3e8d03c0, 0x3b8080c4 },
+   { 0x80800041, 0x25003ae8, 0x3e8d0400, 0x3b8080c4 },
+   { 0x00800041, 0x23803ae8, 0x3e8d0480, 0x437f0000 },
+   { 0x00800041, 0x23c03ae8, 0x3e8d04c0, 0x437f0000 },
+   { 0x00800041, 0x24003ae8, 0x3e8d0500, 0x437f0000 },
+   { 0x00800001, 0x45403a68, 0x008d0380, 0x00000000 },
+   { 0x00800001, 0x45803a68, 0x008d03c0, 0x00000000 },
+   { 0x00800001, 0x45c03a68, 0x008d0400, 0x00000000 },
+   { 0x00800001, 0xc2412288, 0x00cf0540, 0x00000000 },
+   { 0x00800001, 0xc4412288, 0x00cf0580, 0x00000000 },
+   { 0x00800001, 0xc0412288, 0x00cf05c0, 0x00000000 },
+   { 0x00600001, 0x248022e8, 0x00ae8261, 0x00000000 },
+   { 0x00600001, 0x24a022e8, 0x00ae8271, 0x00000000 },
+   { 0x00600001, 0x24c022e8, 0x00ae8461, 0x00000000 },
+   { 0x00600001, 0x24e022e8, 0x00ae8471, 0x00000000 },
+   { 0x00600001, 0x250022e8, 0x00ae8061, 0x00000000 },
+   { 0x00600001, 0x252022e8, 0x00ae8071, 0x00000000 },
+   { 0x00800040, 0x24c03ae8, 0x3e8d04c0, 0xc3000000 },
+   { 0x00800040, 0x25003ae8, 0x3e8d0500, 0xc3000000 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x23803ae8, 0x3e8d0500, 0x3fb374bc },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae0, 0x3e8d04c0, 0xbeb020c5 },
+   { 0x00800048, 0x23c03ae8, 0x3e8d0500, 0xbf36c8b4 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae8, 0x3e8d04c0, 0x3fe2d0e5 },
+   { 0x80800041, 0x24803ae8, 0x3e8d0380, 0x3b8080c4 },
+   { 0x80800041, 0x24c03ae8, 0x3e8d03c0, 0x3b8080c4 },
+   { 0x80800041, 0x25003ae8, 0x3e8d0400, 0x3b8080c4 },
+   { 0x00800041, 0x23803ae8, 0x3e8d0480, 0x437f0000 },
+   { 0x00800041, 0x23c03ae8, 0x3e8d04c0, 0x437f0000 },
+   { 0x00800041, 0x24003ae8, 0x3e8d0500, 0x437f0000 },
+   { 0x00800001, 0x45403a68, 0x008d0380, 0x00000000 },
+   { 0x00800001, 0x45803a68, 0x008d03c0, 0x00000000 },
+   { 0x00800001, 0x45c03a68, 0x008d0400, 0x00000000 },
+   { 0x00800001, 0xc2612288, 0x00cf0540, 0x00000000 },
+   { 0x00800001, 0xc4612288, 0x00cf0580, 0x00000000 },
+   { 0x00800001, 0xc0612288, 0x00cf05c0, 0x00000000 },
+   { 0x00400040, 0x22001240, 0x166902c0, 0x06000600 },
+   { 0x00600001, 0x248022e8, 0x00ae8201, 0x00000000 },
+   { 0x00600001, 0x24a022e8, 0x00ae8211, 0x00000000 },
+   { 0x00600001, 0x24c022e8, 0x00ae8401, 0x00000000 },
+   { 0x00600001, 0x24e022e8, 0x00ae8411, 0x00000000 },
+   { 0x00600001, 0x250022e8, 0x00ae8001, 0x00000000 },
+   { 0x00600001, 0x252022e8, 0x00ae8011, 0x00000000 },
+   { 0x00800040, 0x24c03ae8, 0x3e8d04c0, 0xc3000000 },
+   { 0x00800040, 0x25003ae8, 0x3e8d0500, 0xc3000000 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x23803ae8, 0x3e8d0500, 0x3fb374bc },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae0, 0x3e8d04c0, 0xbeb020c5 },
+   { 0x00800048, 0x23c03ae8, 0x3e8d0500, 0xbf36c8b4 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae8, 0x3e8d04c0, 0x3fe2d0e5 },
+   { 0x80800041, 0x24803ae8, 0x3e8d0380, 0x3b8080c4 },
+   { 0x80800041, 0x24c03ae8, 0x3e8d03c0, 0x3b8080c4 },
+   { 0x80800041, 0x25003ae8, 0x3e8d0400, 0x3b8080c4 },
+   { 0x00800041, 0x23803ae8, 0x3e8d0480, 0x437f0000 },
+   { 0x00800041, 0x23c03ae8, 0x3e8d04c0, 0x437f0000 },
+   { 0x00800041, 0x24003ae8, 0x3e8d0500, 0x437f0000 },
+   { 0x00800001, 0x45403a68, 0x008d0380, 0x00000000 },
+   { 0x00800001, 0x45803a68, 0x008d03c0, 0x00000000 },
+   { 0x00800001, 0x45c03a68, 0x008d0400, 0x00000000 },
+   { 0x00800001, 0xc2012288, 0x00cf0540, 0x00000000 },
+   { 0x00800001, 0xc4012288, 0x00cf0580, 0x00000000 },
+   { 0x00800001, 0xc0012288, 0x00cf05c0, 0x00000000 },
+   { 0x00600001, 0x248022e8, 0x00ae8221, 0x00000000 },
+   { 0x00600001, 0x24a022e8, 0x00ae8231, 0x00000000 },
+   { 0x00600001, 0x24c022e8, 0x00ae8421, 0x00000000 },
+   { 0x00600001, 0x24e022e8, 0x00ae8431, 0x00000000 },
+   { 0x00600001, 0x250022e8, 0x00ae8021, 0x00000000 },
+   { 0x00600001, 0x252022e8, 0x00ae8031, 0x00000000 },
+   { 0x00800040, 0x24c03ae8, 0x3e8d04c0, 0xc3000000 },
+   { 0x00800040, 0x25003ae8, 0x3e8d0500, 0xc3000000 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x23803ae8, 0x3e8d0500, 0x3fb374bc },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae0, 0x3e8d04c0, 0xbeb020c5 },
+   { 0x00800048, 0x23c03ae8, 0x3e8d0500, 0xbf36c8b4 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae8, 0x3e8d04c0, 0x3fe2d0e5 },
+   { 0x80800041, 0x24803ae8, 0x3e8d0380, 0x3b8080c4 },
+   { 0x80800041, 0x24c03ae8, 0x3e8d03c0, 0x3b8080c4 },
+   { 0x80800041, 0x25003ae8, 0x3e8d0400, 0x3b8080c4 },
+   { 0x00800041, 0x23803ae8, 0x3e8d0480, 0x437f0000 },
+   { 0x00800041, 0x23c03ae8, 0x3e8d04c0, 0x437f0000 },
+   { 0x00800041, 0x24003ae8, 0x3e8d0500, 0x437f0000 },
+   { 0x00800001, 0x45403a68, 0x008d0380, 0x00000000 },
+   { 0x00800001, 0x45803a68, 0x008d03c0, 0x00000000 },
+   { 0x00800001, 0x45c03a68, 0x008d0400, 0x00000000 },
+   { 0x00800001, 0xc2212288, 0x00cf0540, 0x00000000 },
+   { 0x00800001, 0xc4212288, 0x00cf0580, 0x00000000 },
+   { 0x00800001, 0xc0212288, 0x00cf05c0, 0x00000000 },
+   { 0x00600001, 0x248022e8, 0x00ae8241, 0x00000000 },
+   { 0x00600001, 0x24a022e8, 0x00ae8251, 0x00000000 },
+   { 0x00600001, 0x24c022e8, 0x00ae8441, 0x00000000 },
+   { 0x00600001, 0x24e022e8, 0x00ae8451, 0x00000000 },
+   { 0x00600001, 0x250022e8, 0x00ae8041, 0x00000000 },
+   { 0x00600001, 0x252022e8, 0x00ae8051, 0x00000000 },
+   { 0x00800040, 0x24c03ae8, 0x3e8d04c0, 0xc3000000 },
+   { 0x00800040, 0x25003ae8, 0x3e8d0500, 0xc3000000 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x23803ae8, 0x3e8d0500, 0x3fb374bc },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae0, 0x3e8d04c0, 0xbeb020c5 },
+   { 0x00800048, 0x23c03ae8, 0x3e8d0500, 0xbf36c8b4 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae8, 0x3e8d04c0, 0x3fe2d0e5 },
+   { 0x80800041, 0x24803ae8, 0x3e8d0380, 0x3b8080c4 },
+   { 0x80800041, 0x24c03ae8, 0x3e8d03c0, 0x3b8080c4 },
+   { 0x80800041, 0x25003ae8, 0x3e8d0400, 0x3b8080c4 },
+   { 0x00800041, 0x23803ae8, 0x3e8d0480, 0x437f0000 },
+   { 0x00800041, 0x23c03ae8, 0x3e8d04c0, 0x437f0000 },
+   { 0x00800041, 0x24003ae8, 0x3e8d0500, 0x437f0000 },
+   { 0x00800001, 0x45403a68, 0x008d0380, 0x00000000 },
+   { 0x00800001, 0x45803a68, 0x008d03c0, 0x00000000 },
+   { 0x00800001, 0x45c03a68, 0x008d0400, 0x00000000 },
+   { 0x00800001, 0xc2412288, 0x00cf0540, 0x00000000 },
+   { 0x00800001, 0xc4412288, 0x00cf0580, 0x00000000 },
+   { 0x00800001, 0xc0412288, 0x00cf05c0, 0x00000000 },
+   { 0x00600001, 0x248022e8, 0x00ae8261, 0x00000000 },
+   { 0x00600001, 0x24a022e8, 0x00ae8271, 0x00000000 },
+   { 0x00600001, 0x24c022e8, 0x00ae8461, 0x00000000 },
+   { 0x00600001, 0x24e022e8, 0x00ae8471, 0x00000000 },
+   { 0x00600001, 0x250022e8, 0x00ae8061, 0x00000000 },
+   { 0x00600001, 0x252022e8, 0x00ae8071, 0x00000000 },
+   { 0x00800040, 0x24c03ae8, 0x3e8d04c0, 0xc3000000 },
+   { 0x00800040, 0x25003ae8, 0x3e8d0500, 0xc3000000 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x23803ae8, 0x3e8d0500, 0x3fb374bc },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae0, 0x3e8d04c0, 0xbeb020c5 },
+   { 0x00800048, 0x23c03ae8, 0x3e8d0500, 0xbf36c8b4 },
+   { 0x00800001, 0x24003ae0, 0x008d0480, 0x00000000 },
+   { 0x00800048, 0x24003ae8, 0x3e8d04c0, 0x3fe2d0e5 },
+   { 0x80800041, 0x24803ae8, 0x3e8d0380, 0x3b8080c4 },
+   { 0x80800041, 0x24c03ae8, 0x3e8d03c0, 0x3b8080c4 },
+   { 0x80800041, 0x25003ae8, 0x3e8d0400, 0x3b8080c4 },
+   { 0x00800041, 0x23803ae8, 0x3e8d0480, 0x437f0000 },
+   { 0x00800041, 0x23c03ae8, 0x3e8d04c0, 0x437f0000 },
+   { 0x00800041, 0x24003ae8, 0x3e8d0500, 0x437f0000 },
+   { 0x00800001, 0x45403a68, 0x008d0380, 0x00000000 },
+   { 0x00800001, 0x45803a68, 0x008d03c0, 0x00000000 },
+   { 0x00800001, 0x45c03a68, 0x008d0400, 0x00000000 },
+   { 0x00800001, 0xc2612288, 0x00cf0540, 0x00000000 },
+   { 0x00800001, 0xc4612288, 0x00cf0580, 0x00000000 },
+   { 0x00800001, 0xc0612288, 0x00cf05c0, 0x00000000 },
+   { 0x00400001, 0x24003660, 0x30000000, 0x000062ea },
+   { 0x00400040, 0x24001860, 0x16690400, 0x00460046 },
+   { 0x00400009, 0x22c01868, 0x16690400, 0x00050005 },
+   { 0x02800005, 0x20001260, 0x1e000046, 0x00010001 },
+   { 0x00400040, 0x22001a40, 0x166902c0, 0x00000000 },
+   { 0x00010001, 0x22201048, 0x00000200, 0x00000000 },
+   { 0x00010001, 0x22001040, 0x00000204, 0x00000000 },
+   { 0x00010001, 0x22041240, 0x00000220, 0x00000000 },
+   { 0x00000209, 0x23601a28, 0x1e0000e0, 0x00020002 },
+   { 0x00000601, 0x23641a28, 0x000000e2, 0x00000000 },
+   { 0x00000401, 0x23680608, 0x00000000, 0x0003001f },
+   { 0x00400001, 0x22081040, 0x00690200, 0x00000000 },
+   { 0x00600001, 0x23800208, 0x008d0360, 0x00000000 },
+   { 0x00600001, 0x24a00208, 0x008d0360, 0x00000000 },
+   { 0x00600001, 0x25c00208, 0x008d0360, 0x00000000 },
+   { 0x00600001, 0x26e00208, 0x008d0360, 0x00000000 },
+   { 0x00600001, 0x23e00208, 0x008d0360, 0x00000000 },
+   { 0x00600001, 0x25000208, 0x008d0360, 0x00000000 },
+   { 0x00600001, 0x26200208, 0x008d0360, 0x00000000 },
+   { 0x00600001, 0x27400208, 0x008d0360, 0x00000000 },
+   { 0x00000040, 0x24a00a28, 0x0e000360, 0x00000020 },
+   { 0x00000040, 0x25c40a28, 0x0e000364, 0x00000004 },
+   { 0x00000040, 0x26e40a28, 0x0e000364, 0x00000004 },
+   { 0x00000040, 0x26e00a28, 0x0e000360, 0x00000020 },
+   { 0x00600001, 0x63a02288, 0x00ae8001, 0x00000000 },
+   { 0x00600001, 0x63a12288, 0x00ae8201, 0x00000000 },
+   { 0x00600001, 0x63a22288, 0x00ae8401, 0x00000000 },
+   { 0x00600001, 0x63a32288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x63c02288, 0x00ae8021, 0x00000000 },
+   { 0x00600001, 0x63c12288, 0x00ae8221, 0x00000000 },
+   { 0x00600001, 0x63c22288, 0x00ae8421, 0x00000000 },
+   { 0x00600001, 0x63c32288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x64c02288, 0x00ae8011, 0x00000000 },
+   { 0x00600001, 0x64c12288, 0x00ae8211, 0x00000000 },
+   { 0x00600001, 0x64c22288, 0x00ae8411, 0x00000000 },
+   { 0x00600001, 0x64c32288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x64e02288, 0x00ae8031, 0x00000000 },
+   { 0x00600001, 0x64e12288, 0x00ae8231, 0x00000000 },
+   { 0x00600001, 0x64e22288, 0x00ae8431, 0x00000000 },
+   { 0x00600001, 0x64e32288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x63e02288, 0x00ae8041, 0x00000000 },
+   { 0x00600001, 0x63e12288, 0x00ae8241, 0x00000000 },
+   { 0x00600001, 0x63e22288, 0x00ae8441, 0x00000000 },
+   { 0x00600001, 0x63e32288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x64002288, 0x00ae8061, 0x00000000 },
+   { 0x00600001, 0x64012288, 0x00ae8261, 0x00000000 },
+   { 0x00600001, 0x64022288, 0x00ae8461, 0x00000000 },
+   { 0x00600001, 0x64032288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x65002288, 0x00ae8051, 0x00000000 },
+   { 0x00600001, 0x65012288, 0x00ae8251, 0x00000000 },
+   { 0x00600001, 0x65022288, 0x00ae8451, 0x00000000 },
+   { 0x00600001, 0x65032288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x65202288, 0x00ae8071, 0x00000000 },
+   { 0x00600001, 0x65212288, 0x00ae8271, 0x00000000 },
+   { 0x00600001, 0x65222288, 0x00ae8471, 0x00000000 },
+   { 0x00600001, 0x65232288, 0x0000005f, 0x00000000 },
+   { 0x0c800031, 0x20002220, 0x06000380, 0x0a0a8018 },
+   { 0x0c800031, 0x20002220, 0x060004a0, 0x0a0a8018 },
+   { 0x00400040, 0x22001040, 0x16690208, 0x02000200 },
+   { 0x00600001, 0x65e02288, 0x00ae8001, 0x00000000 },
+   { 0x00600001, 0x65e12288, 0x00ae8201, 0x00000000 },
+   { 0x00600001, 0x65e22288, 0x00ae8401, 0x00000000 },
+   { 0x00600001, 0x65e32288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x66002288, 0x00ae8021, 0x00000000 },
+   { 0x00600001, 0x66012288, 0x00ae8221, 0x00000000 },
+   { 0x00600001, 0x66022288, 0x00ae8421, 0x00000000 },
+   { 0x00600001, 0x66032288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x67002288, 0x00ae8011, 0x00000000 },
+   { 0x00600001, 0x67012288, 0x00ae8211, 0x00000000 },
+   { 0x00600001, 0x67022288, 0x00ae8411, 0x00000000 },
+   { 0x00600001, 0x67032288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x67202288, 0x00ae8031, 0x00000000 },
+   { 0x00600001, 0x67212288, 0x00ae8231, 0x00000000 },
+   { 0x00600001, 0x67222288, 0x00ae8431, 0x00000000 },
+   { 0x00600001, 0x67232288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x66202288, 0x00ae8041, 0x00000000 },
+   { 0x00600001, 0x66212288, 0x00ae8241, 0x00000000 },
+   { 0x00600001, 0x66222288, 0x00ae8441, 0x00000000 },
+   { 0x00600001, 0x66232288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x66402288, 0x00ae8061, 0x00000000 },
+   { 0x00600001, 0x66412288, 0x00ae8261, 0x00000000 },
+   { 0x00600001, 0x66422288, 0x00ae8461, 0x00000000 },
+   { 0x00600001, 0x66432288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x67402288, 0x00ae8051, 0x00000000 },
+   { 0x00600001, 0x67412288, 0x00ae8251, 0x00000000 },
+   { 0x00600001, 0x67422288, 0x00ae8451, 0x00000000 },
+   { 0x00600001, 0x67432288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x67602288, 0x00ae8071, 0x00000000 },
+   { 0x00600001, 0x67612288, 0x00ae8271, 0x00000000 },
+   { 0x00600001, 0x67622288, 0x00ae8471, 0x00000000 },
+   { 0x00600001, 0x67632288, 0x0000005f, 0x00000000 },
+   { 0x0c800031, 0x20002220, 0x060005c0, 0x0a0a8018 },
+   { 0x0c800031, 0x20002220, 0x060006e0, 0x0a0a8018 },
+   { 0x00600001, 0x23800208, 0x008d0360, 0x00000000 },
+   { 0x00600001, 0x24a00208, 0x008d0360, 0x00000000 },
+   { 0x00600001, 0x25c00208, 0x008d0360, 0x00000000 },
+   { 0x00600001, 0x26e00208, 0x008d0360, 0x00000000 },
+   { 0x00000040, 0x23840a28, 0x0e000364, 0x00000008 },
+   { 0x00000040, 0x24a00a28, 0x0e000360, 0x00000020 },
+   { 0x00000040, 0x24a40a28, 0x0e000364, 0x00000008 },
+   { 0x00000040, 0x25c40a28, 0x0e000364, 0x0000000c },
+   { 0x00000040, 0x26e40a28, 0x0e000364, 0x0000000c },
+   { 0x00000040, 0x26e00a28, 0x0e000360, 0x00000020 },
+   { 0x00400040, 0x22001040, 0x16690208, 0x04000400 },
+   { 0x00600001, 0x63a02288, 0x00ae8001, 0x00000000 },
+   { 0x00600001, 0x63a12288, 0x00ae8201, 0x00000000 },
+   { 0x00600001, 0x63a22288, 0x00ae8401, 0x00000000 },
+   { 0x00600001, 0x63a32288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x63c02288, 0x00ae8021, 0x00000000 },
+   { 0x00600001, 0x63c12288, 0x00ae8221, 0x00000000 },
+   { 0x00600001, 0x63c22288, 0x00ae8421, 0x00000000 },
+   { 0x00600001, 0x63c32288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x64c02288, 0x00ae8011, 0x00000000 },
+   { 0x00600001, 0x64c12288, 0x00ae8211, 0x00000000 },
+   { 0x00600001, 0x64c22288, 0x00ae8411, 0x00000000 },
+   { 0x00600001, 0x64c32288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x64e02288, 0x00ae8031, 0x00000000 },
+   { 0x00600001, 0x64e12288, 0x00ae8231, 0x00000000 },
+   { 0x00600001, 0x64e22288, 0x00ae8431, 0x00000000 },
+   { 0x00600001, 0x64e32288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x63e02288, 0x00ae8041, 0x00000000 },
+   { 0x00600001, 0x63e12288, 0x00ae8241, 0x00000000 },
+   { 0x00600001, 0x63e22288, 0x00ae8441, 0x00000000 },
+   { 0x00600001, 0x63e32288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x64002288, 0x00ae8061, 0x00000000 },
+   { 0x00600001, 0x64012288, 0x00ae8261, 0x00000000 },
+   { 0x00600001, 0x64022288, 0x00ae8461, 0x00000000 },
+   { 0x00600001, 0x64032288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x65002288, 0x00ae8051, 0x00000000 },
+   { 0x00600001, 0x65012288, 0x00ae8251, 0x00000000 },
+   { 0x00600001, 0x65022288, 0x00ae8451, 0x00000000 },
+   { 0x00600001, 0x65032288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x65202288, 0x00ae8071, 0x00000000 },
+   { 0x00600001, 0x65212288, 0x00ae8271, 0x00000000 },
+   { 0x00600001, 0x65222288, 0x00ae8471, 0x00000000 },
+   { 0x00600001, 0x65232288, 0x0000005f, 0x00000000 },
+   { 0x0c800031, 0x20002220, 0x06000380, 0x0a0a8018 },
+   { 0x0c800031, 0x20002220, 0x060004a0, 0x0a0a8018 },
+   { 0x00400040, 0x22001040, 0x16690208, 0x06000600 },
+   { 0x00600001, 0x65e02288, 0x00ae8001, 0x00000000 },
+   { 0x00600001, 0x65e12288, 0x00ae8201, 0x00000000 },
+   { 0x00600001, 0x65e22288, 0x00ae8401, 0x00000000 },
+   { 0x00600001, 0x65e32288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x66002288, 0x00ae8021, 0x00000000 },
+   { 0x00600001, 0x66012288, 0x00ae8221, 0x00000000 },
+   { 0x00600001, 0x66022288, 0x00ae8421, 0x00000000 },
+   { 0x00600001, 0x66032288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x67002288, 0x00ae8011, 0x00000000 },
+   { 0x00600001, 0x67012288, 0x00ae8211, 0x00000000 },
+   { 0x00600001, 0x67022288, 0x00ae8411, 0x00000000 },
+   { 0x00600001, 0x67032288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x67202288, 0x00ae8031, 0x00000000 },
+   { 0x00600001, 0x67212288, 0x00ae8231, 0x00000000 },
+   { 0x00600001, 0x67222288, 0x00ae8431, 0x00000000 },
+   { 0x00600001, 0x67232288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x66202288, 0x00ae8041, 0x00000000 },
+   { 0x00600001, 0x66212288, 0x00ae8241, 0x00000000 },
+   { 0x00600001, 0x66222288, 0x00ae8441, 0x00000000 },
+   { 0x00600001, 0x66232288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x66402288, 0x00ae8061, 0x00000000 },
+   { 0x00600001, 0x66412288, 0x00ae8261, 0x00000000 },
+   { 0x00600001, 0x66422288, 0x00ae8461, 0x00000000 },
+   { 0x00600001, 0x66432288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x67402288, 0x00ae8051, 0x00000000 },
+   { 0x00600001, 0x67412288, 0x00ae8251, 0x00000000 },
+   { 0x00600001, 0x67422288, 0x00ae8451, 0x00000000 },
+   { 0x00600001, 0x67432288, 0x0000005f, 0x00000000 },
+   { 0x00600001, 0x67602288, 0x00ae8071, 0x00000000 },
+   { 0x00600001, 0x67612288, 0x00ae8271, 0x00000000 },
+   { 0x00600001, 0x67622288, 0x00ae8471, 0x00000000 },
+   { 0x00600001, 0x67632288, 0x0000005f, 0x00000000 },
+   { 0x0c800031, 0x20002220, 0x060005c0, 0x0a0a8018 },
+   { 0x0c800031, 0x20002220, 0x060006e0, 0x0a0a8018 },
+   { 0x00600001, 0x2fe00208, 0x008d0000, 0x00000000 },
+   { 0x07000031, 0x20002220, 0x0e000fe0, 0x82000010 },