diff options
author | Zou Nan hai <nanhai.zou@intel.com> | 2009-03-26 15:24:29 +0800 |
---|---|---|
committer | Zou Nan hai <nanhai.zou@intel.com> | 2009-03-26 15:24:29 +0800 |
commit | defa6971c6b639ab72d9d4c85c4607d5f852b2b0 (patch) | |
tree | 7a6cc8145e356ae99314e56dd4b0811285f7925a /src/xvmc | |
parent | fe96e517699e37cc990a14dfb48b9611a02254ed (diff) |
enable UV half pixel
Diffstat (limited to 'src/xvmc')
-rw-r--r-- | src/xvmc/intel_batchbuffer.c | 1 | ||||
-rw-r--r-- | src/xvmc/shader/vld/field_backward.g4b | 140 | ||||
-rw-r--r-- | src/xvmc/shader/vld/field_f_b.g4b | 280 | ||||
-rw-r--r-- | src/xvmc/shader/vld/field_forward.g4b | 140 | ||||
-rw-r--r-- | src/xvmc/shader/vld/frame_backward.g4b | 106 | ||||
-rw-r--r-- | src/xvmc/shader/vld/frame_f_b.g4b | 212 | ||||
-rw-r--r-- | src/xvmc/shader/vld/frame_forward.g4b | 106 | ||||
-rw-r--r-- | src/xvmc/shader/vld/motion_field_uv.g4i | 21 | ||||
-rw-r--r-- | src/xvmc/shader/vld/motion_frame_uv.g4i | 18 | ||||
-rw-r--r-- | src/xvmc/shader/vld/read_field_x0y1_uv.g4i | 28 | ||||
-rw-r--r-- | src/xvmc/shader/vld/read_field_x1y0_uv.g4i | 24 | ||||
-rw-r--r-- | src/xvmc/shader/vld/read_field_x1y1_uv.g4i | 53 | ||||
-rw-r--r-- | src/xvmc/shader/vld/read_frame_x0y1_uv.g4i | 56 | ||||
-rw-r--r-- | src/xvmc/shader/vld/read_frame_x1y0_uv.g4i | 42 | ||||
-rw-r--r-- | src/xvmc/shader/vld/read_frame_x1y1_uv.g4i | 74 | ||||
-rw-r--r-- | src/xvmc/xvmc_vld.c | 7 |
16 files changed, 1301 insertions, 7 deletions
diff --git a/src/xvmc/intel_batchbuffer.c b/src/xvmc/intel_batchbuffer.c index 224d0de0..6d4b496e 100644 --- a/src/xvmc/intel_batchbuffer.c +++ b/src/xvmc/intel_batchbuffer.c @@ -162,6 +162,7 @@ static void intelRefillBatchLocked(Bool allow_unlock) dword[0] = MI_FLUSH | FLUSH_WRITE_DIRTY_STATE | FLUSH_RENDER_CACHE | FLUSH_MAP_CACHE; dword[1] = 0; intelCmdIoctl((char *)&dword[0], sizeof(dword)); + xvmc_driver->alloc.irq_emitted = intelEmitIrqLocked(); if (xvmc_driver->alloc.irq_emitted) { diff --git a/src/xvmc/shader/vld/field_backward.g4b b/src/xvmc/shader/vld/field_backward.g4b index c1283e4a..5d468295 100644 --- a/src/xvmc/shader/vld/field_backward.g4b +++ b/src/xvmc/shader/vld/field_backward.g4b @@ -267,6 +267,76 @@ { 0x00200040, 0x2e603421, 0x004503e0, 0x004503ee }, { 0x02000005, 0x20002d3c, 0x00210a42, 0x20002000 }, { 0x00010040, 0x2e640c21, 0x00210e64, 0x00000001 }, + { 0x01000005, 0x20003dbc, 0x00210a54, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000032 }, + { 0x01000005, 0x20003dbc, 0x00210a56, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000024 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a008 }, + { 0x00800031, 0x25a01d29, 0x008d0e60, 0x0414a009 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0001000f }, + { 0x00000040, 0x2e640c21, 0x00210e64, 0x00000008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0411a008 }, + { 0x00800031, 0x26201d29, 0x008d0e60, 0x0411a009 }, + { 0x00800040, 0x24004629, 0x00ad0500, 0x00ad0520 }, + { 0x00800040, 0x24204629, 0x00ad0520, 0x00ad0540 }, + { 0x00800040, 0x24404629, 0x00ad0540, 0x00ad0560 }, + { 0x00800040, 0x24604629, 0x00ad0560, 0x00ad0580 }, + { 0x00800040, 0x24004529, 0x00ad0400, 0x00ad0501 }, + { 0x00800040, 0x24204529, 0x00ad0420, 0x00ad0521 }, + { 0x00800040, 0x24404529, 0x00ad0440, 0x00ad0541 }, + { 0x00800040, 0x24604529, 0x00ad0460, 0x00ad0561 }, + { 0x00800040, 0x24004529, 0x00ad0400, 0x00ad0521 }, + { 0x00800040, 0x24204529, 0x00ad0420, 0x00ad0541 }, + { 0x00800040, 0x24404529, 0x00ad0440, 0x00ad0561 }, + { 0x00800040, 0x24604529, 0x00ad0460, 0x00ad0581 }, + { 0x00800040, 0x24804629, 0x00ad05a0, 0x00ad05c0 }, + { 0x00800040, 0x24a04629, 0x00ad05c0, 0x00ad05e0 }, + { 0x00800040, 0x24c04629, 0x00ad05e0, 0x00ad0600 }, + { 0x00800040, 0x24e04629, 0x00ad0600, 0x00ad0620 }, + { 0x00800040, 0x24804529, 0x00ad0480, 0x00ad05a1 }, + { 0x00800040, 0x24a04529, 0x00ad04a0, 0x00ad05c1 }, + { 0x00800040, 0x24c04529, 0x00ad04c0, 0x00ad05e1 }, + { 0x00800040, 0x24e04529, 0x00ad04e0, 0x00ad0601 }, + { 0x00800040, 0x24804529, 0x00ad0480, 0x00ad05c1 }, + { 0x00800040, 0x24a04529, 0x00ad04a0, 0x00ad05e1 }, + { 0x00800040, 0x24c04529, 0x00ad04c0, 0x00ad0601 }, + { 0x00800040, 0x24e04529, 0x00ad04e0, 0x00ad0621 }, + { 0x00a02008, 0x24002d29, 0x00b10400, 0x00020002 }, + { 0x00a02008, 0x24402d29, 0x00b10440, 0x00020002 }, + { 0x00a02008, 0x24802d29, 0x00b10480, 0x00020002 }, + { 0x00a02008, 0x24c02d29, 0x00b104c0, 0x00020002 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x00000029 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0414a009 }, + { 0x00800042, 0x24004629, 0x00ad0500, 0x00ad0501 }, + { 0x00800042, 0x24204629, 0x00ad0520, 0x00ad0521 }, + { 0x00800042, 0x24404629, 0x00ad0540, 0x00ad0541 }, + { 0x00800042, 0x24604629, 0x00ad0560, 0x00ad0561 }, + { 0x00800042, 0x24804629, 0x00ad0580, 0x00ad0581 }, + { 0x00800042, 0x24a04629, 0x00ad05a0, 0x00ad05a1 }, + { 0x00800042, 0x24c04629, 0x00ad05c0, 0x00ad05c1 }, + { 0x00800042, 0x24e04629, 0x00ad05e0, 0x00ad05e1 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000001d }, + { 0x01000005, 0x20003dbc, 0x00210a56, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000010 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a008 }, + { 0x00800031, 0x25a01d29, 0x008d0e60, 0x0414a009 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0000000f }, + { 0x00000040, 0x2e640c21, 0x00210e64, 0x00000008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0411a008 }, + { 0x00800031, 0x26201d29, 0x008d0e60, 0x0411a009 }, + { 0x00800042, 0x24004629, 0x00ad0500, 0x00ad0520 }, + { 0x00800042, 0x24204629, 0x00ad0520, 0x00ad0540 }, + { 0x00800042, 0x24404629, 0x00ad0540, 0x00ad0560 }, + { 0x00800042, 0x24604629, 0x00ad0560, 0x00ad0580 }, + { 0x00800042, 0x24804629, 0x00ad05a0, 0x00ad05c0 }, + { 0x00800042, 0x24a04629, 0x00ad05c0, 0x00ad05e0 }, + { 0x00800042, 0x24c04629, 0x00ad05e0, 0x00ad0600 }, + { 0x00800042, 0x24e04629, 0x00ad0600, 0x00ad0620 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000000b }, { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, { 0x00800031, 0x25001d29, 0x00ad0e60, 0x0414a008 }, { 0x00800031, 0x25a01d29, 0x00ad0e60, 0x0414a009 }, @@ -292,6 +362,76 @@ { 0x00200040, 0x2e603421, 0x004503e0, 0x004503ee }, { 0x02000005, 0x20002d3c, 0x00210a42, 0x80008000 }, { 0x00010040, 0x2e640c21, 0x00210e64, 0x00000001 }, + { 0x01000005, 0x20003dbc, 0x00210a5c, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000032 }, + { 0x01000005, 0x20003dbc, 0x00210a5e, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000024 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a008 }, + { 0x00800031, 0x25a01d29, 0x008d0e60, 0x0414a009 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0001000f }, + { 0x00000040, 0x2e640c21, 0x00210e64, 0x00000008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0411a008 }, + { 0x00800031, 0x26201d29, 0x008d0e60, 0x0411a009 }, + { 0x00800040, 0x24004629, 0x00ad0500, 0x00ad0520 }, + { 0x00800040, 0x24204629, 0x00ad0520, 0x00ad0540 }, + { 0x00800040, 0x24404629, 0x00ad0540, 0x00ad0560 }, + { 0x00800040, 0x24604629, 0x00ad0560, 0x00ad0580 }, + { 0x00800040, 0x24004529, 0x00ad0400, 0x00ad0501 }, + { 0x00800040, 0x24204529, 0x00ad0420, 0x00ad0521 }, + { 0x00800040, 0x24404529, 0x00ad0440, 0x00ad0541 }, + { 0x00800040, 0x24604529, 0x00ad0460, 0x00ad0561 }, + { 0x00800040, 0x24004529, 0x00ad0400, 0x00ad0521 }, + { 0x00800040, 0x24204529, 0x00ad0420, 0x00ad0541 }, + { 0x00800040, 0x24404529, 0x00ad0440, 0x00ad0561 }, + { 0x00800040, 0x24604529, 0x00ad0460, 0x00ad0581 }, + { 0x00800040, 0x24804629, 0x00ad05a0, 0x00ad05c0 }, + { 0x00800040, 0x24a04629, 0x00ad05c0, 0x00ad05e0 }, + { 0x00800040, 0x24c04629, 0x00ad05e0, 0x00ad0600 }, + { 0x00800040, 0x24e04629, 0x00ad0600, 0x00ad0620 }, + { 0x00800040, 0x24804529, 0x00ad0480, 0x00ad05a1 }, + { 0x00800040, 0x24a04529, 0x00ad04a0, 0x00ad05c1 }, + { 0x00800040, 0x24c04529, 0x00ad04c0, 0x00ad05e1 }, + { 0x00800040, 0x24e04529, 0x00ad04e0, 0x00ad0601 }, + { 0x00800040, 0x24804529, 0x00ad0480, 0x00ad05c1 }, + { 0x00800040, 0x24a04529, 0x00ad04a0, 0x00ad05e1 }, + { 0x00800040, 0x24c04529, 0x00ad04c0, 0x00ad0601 }, + { 0x00800040, 0x24e04529, 0x00ad04e0, 0x00ad0621 }, + { 0x00a02008, 0x24002d29, 0x00b10400, 0x00020002 }, + { 0x00a02008, 0x24402d29, 0x00b10440, 0x00020002 }, + { 0x00a02008, 0x24802d29, 0x00b10480, 0x00020002 }, + { 0x00a02008, 0x24c02d29, 0x00b104c0, 0x00020002 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x00000029 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0414a009 }, + { 0x00800042, 0x24004629, 0x00ad0500, 0x00ad0501 }, + { 0x00800042, 0x24204629, 0x00ad0520, 0x00ad0521 }, + { 0x00800042, 0x24404629, 0x00ad0540, 0x00ad0541 }, + { 0x00800042, 0x24604629, 0x00ad0560, 0x00ad0561 }, + { 0x00800042, 0x24804629, 0x00ad0580, 0x00ad0581 }, + { 0x00800042, 0x24a04629, 0x00ad05a0, 0x00ad05a1 }, + { 0x00800042, 0x24c04629, 0x00ad05c0, 0x00ad05c1 }, + { 0x00800042, 0x24e04629, 0x00ad05e0, 0x00ad05e1 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000001d }, + { 0x01000005, 0x20003dbc, 0x00210a5e, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000010 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a008 }, + { 0x00800031, 0x25a01d29, 0x008d0e60, 0x0414a009 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0000000f }, + { 0x00000040, 0x2e640c21, 0x00210e64, 0x00000008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0411a008 }, + { 0x00800031, 0x26201d29, 0x008d0e60, 0x0411a009 }, + { 0x00800042, 0x24004629, 0x00ad0500, 0x00ad0520 }, + { 0x00800042, 0x24204629, 0x00ad0520, 0x00ad0540 }, + { 0x00800042, 0x24404629, 0x00ad0540, 0x00ad0560 }, + { 0x00800042, 0x24604629, 0x00ad0560, 0x00ad0580 }, + { 0x00800042, 0x24804629, 0x00ad05a0, 0x00ad05c0 }, + { 0x00800042, 0x24a04629, 0x00ad05c0, 0x00ad05e0 }, + { 0x00800042, 0x24c04629, 0x00ad05e0, 0x00ad0600 }, + { 0x00800042, 0x24e04629, 0x00ad0600, 0x00ad0620 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000000b }, { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, { 0x00800031, 0x25001d29, 0x00ad0e60, 0x0414a008 }, { 0x00800031, 0x25a01d29, 0x00ad0e60, 0x0414a009 }, diff --git a/src/xvmc/shader/vld/field_f_b.g4b b/src/xvmc/shader/vld/field_f_b.g4b index 437c664e..9bd272e4 100644 --- a/src/xvmc/shader/vld/field_f_b.g4b +++ b/src/xvmc/shader/vld/field_f_b.g4b @@ -268,6 +268,76 @@ { 0x00000005, 0x2e640c21, 0x00210e64, 0xfffffffe }, { 0x02000005, 0x20002d3c, 0x00210a42, 0x10001000 }, { 0x00010040, 0x2e640c21, 0x00210e64, 0x00000001 }, + { 0x01000005, 0x20003dbc, 0x00210a50, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000032 }, + { 0x01000005, 0x20003dbc, 0x00210a52, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000024 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a005 }, + { 0x00800031, 0x25a01d29, 0x008d0e60, 0x0414a006 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0001000f }, + { 0x00000040, 0x2e640c21, 0x00210e64, 0x00000008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0411a005 }, + { 0x00800031, 0x26201d29, 0x008d0e60, 0x0411a006 }, + { 0x00800040, 0x24004629, 0x00ad0500, 0x00ad0520 }, + { 0x00800040, 0x24204629, 0x00ad0520, 0x00ad0540 }, + { 0x00800040, 0x24404629, 0x00ad0540, 0x00ad0560 }, + { 0x00800040, 0x24604629, 0x00ad0560, 0x00ad0580 }, + { 0x00800040, 0x24004529, 0x00ad0400, 0x00ad0501 }, + { 0x00800040, 0x24204529, 0x00ad0420, 0x00ad0521 }, + { 0x00800040, 0x24404529, 0x00ad0440, 0x00ad0541 }, + { 0x00800040, 0x24604529, 0x00ad0460, 0x00ad0561 }, + { 0x00800040, 0x24004529, 0x00ad0400, 0x00ad0521 }, + { 0x00800040, 0x24204529, 0x00ad0420, 0x00ad0541 }, + { 0x00800040, 0x24404529, 0x00ad0440, 0x00ad0561 }, + { 0x00800040, 0x24604529, 0x00ad0460, 0x00ad0581 }, + { 0x00800040, 0x24804629, 0x00ad05a0, 0x00ad05c0 }, + { 0x00800040, 0x24a04629, 0x00ad05c0, 0x00ad05e0 }, + { 0x00800040, 0x24c04629, 0x00ad05e0, 0x00ad0600 }, + { 0x00800040, 0x24e04629, 0x00ad0600, 0x00ad0620 }, + { 0x00800040, 0x24804529, 0x00ad0480, 0x00ad05a1 }, + { 0x00800040, 0x24a04529, 0x00ad04a0, 0x00ad05c1 }, + { 0x00800040, 0x24c04529, 0x00ad04c0, 0x00ad05e1 }, + { 0x00800040, 0x24e04529, 0x00ad04e0, 0x00ad0601 }, + { 0x00800040, 0x24804529, 0x00ad0480, 0x00ad05c1 }, + { 0x00800040, 0x24a04529, 0x00ad04a0, 0x00ad05e1 }, + { 0x00800040, 0x24c04529, 0x00ad04c0, 0x00ad0601 }, + { 0x00800040, 0x24e04529, 0x00ad04e0, 0x00ad0621 }, + { 0x00a02008, 0x24002d29, 0x00b10400, 0x00020002 }, + { 0x00a02008, 0x24402d29, 0x00b10440, 0x00020002 }, + { 0x00a02008, 0x24802d29, 0x00b10480, 0x00020002 }, + { 0x00a02008, 0x24c02d29, 0x00b104c0, 0x00020002 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x00000029 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a005 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0414a006 }, + { 0x00800042, 0x24004629, 0x00ad0500, 0x00ad0501 }, + { 0x00800042, 0x24204629, 0x00ad0520, 0x00ad0521 }, + { 0x00800042, 0x24404629, 0x00ad0540, 0x00ad0541 }, + { 0x00800042, 0x24604629, 0x00ad0560, 0x00ad0561 }, + { 0x00800042, 0x24804629, 0x00ad0580, 0x00ad0581 }, + { 0x00800042, 0x24a04629, 0x00ad05a0, 0x00ad05a1 }, + { 0x00800042, 0x24c04629, 0x00ad05c0, 0x00ad05c1 }, + { 0x00800042, 0x24e04629, 0x00ad05e0, 0x00ad05e1 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000001d }, + { 0x01000005, 0x20003dbc, 0x00210a52, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000010 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a005 }, + { 0x00800031, 0x25a01d29, 0x008d0e60, 0x0414a006 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0000000f }, + { 0x00000040, 0x2e640c21, 0x00210e64, 0x00000008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0411a005 }, + { 0x00800031, 0x26201d29, 0x008d0e60, 0x0411a006 }, + { 0x00800042, 0x24004629, 0x00ad0500, 0x00ad0520 }, + { 0x00800042, 0x24204629, 0x00ad0520, 0x00ad0540 }, + { 0x00800042, 0x24404629, 0x00ad0540, 0x00ad0560 }, + { 0x00800042, 0x24604629, 0x00ad0560, 0x00ad0580 }, + { 0x00800042, 0x24804629, 0x00ad05a0, 0x00ad05c0 }, + { 0x00800042, 0x24a04629, 0x00ad05c0, 0x00ad05e0 }, + { 0x00800042, 0x24c04629, 0x00ad05e0, 0x00ad0600 }, + { 0x00800042, 0x24e04629, 0x00ad0600, 0x00ad0620 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000000b }, { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, { 0x00800031, 0x25001d29, 0x00ad0e60, 0x0414a005 }, { 0x00800031, 0x25a01d29, 0x00ad0e60, 0x0414a006 }, @@ -294,6 +364,76 @@ { 0x00000005, 0x2e640c21, 0x00210e64, 0xfffffffe }, { 0x02000005, 0x20002d3c, 0x00210a42, 0x40004000 }, { 0x00010040, 0x2e640c21, 0x00210e64, 0x00000001 }, + { 0x01000005, 0x20003dbc, 0x00210a58, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000032 }, + { 0x01000005, 0x20003dbc, 0x00210a5a, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000024 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a005 }, + { 0x00800031, 0x25a01d29, 0x008d0e60, 0x0414a006 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0001000f }, + { 0x00000040, 0x2e640c21, 0x00210e64, 0x00000008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0411a005 }, + { 0x00800031, 0x26201d29, 0x008d0e60, 0x0411a006 }, + { 0x00800040, 0x24004629, 0x00ad0500, 0x00ad0520 }, + { 0x00800040, 0x24204629, 0x00ad0520, 0x00ad0540 }, + { 0x00800040, 0x24404629, 0x00ad0540, 0x00ad0560 }, + { 0x00800040, 0x24604629, 0x00ad0560, 0x00ad0580 }, + { 0x00800040, 0x24004529, 0x00ad0400, 0x00ad0501 }, + { 0x00800040, 0x24204529, 0x00ad0420, 0x00ad0521 }, + { 0x00800040, 0x24404529, 0x00ad0440, 0x00ad0541 }, + { 0x00800040, 0x24604529, 0x00ad0460, 0x00ad0561 }, + { 0x00800040, 0x24004529, 0x00ad0400, 0x00ad0521 }, + { 0x00800040, 0x24204529, 0x00ad0420, 0x00ad0541 }, + { 0x00800040, 0x24404529, 0x00ad0440, 0x00ad0561 }, + { 0x00800040, 0x24604529, 0x00ad0460, 0x00ad0581 }, + { 0x00800040, 0x24804629, 0x00ad05a0, 0x00ad05c0 }, + { 0x00800040, 0x24a04629, 0x00ad05c0, 0x00ad05e0 }, + { 0x00800040, 0x24c04629, 0x00ad05e0, 0x00ad0600 }, + { 0x00800040, 0x24e04629, 0x00ad0600, 0x00ad0620 }, + { 0x00800040, 0x24804529, 0x00ad0480, 0x00ad05a1 }, + { 0x00800040, 0x24a04529, 0x00ad04a0, 0x00ad05c1 }, + { 0x00800040, 0x24c04529, 0x00ad04c0, 0x00ad05e1 }, + { 0x00800040, 0x24e04529, 0x00ad04e0, 0x00ad0601 }, + { 0x00800040, 0x24804529, 0x00ad0480, 0x00ad05c1 }, + { 0x00800040, 0x24a04529, 0x00ad04a0, 0x00ad05e1 }, + { 0x00800040, 0x24c04529, 0x00ad04c0, 0x00ad0601 }, + { 0x00800040, 0x24e04529, 0x00ad04e0, 0x00ad0621 }, + { 0x00a02008, 0x24002d29, 0x00b10400, 0x00020002 }, + { 0x00a02008, 0x24402d29, 0x00b10440, 0x00020002 }, + { 0x00a02008, 0x24802d29, 0x00b10480, 0x00020002 }, + { 0x00a02008, 0x24c02d29, 0x00b104c0, 0x00020002 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x00000029 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a005 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0414a006 }, + { 0x00800042, 0x24004629, 0x00ad0500, 0x00ad0501 }, + { 0x00800042, 0x24204629, 0x00ad0520, 0x00ad0521 }, + { 0x00800042, 0x24404629, 0x00ad0540, 0x00ad0541 }, + { 0x00800042, 0x24604629, 0x00ad0560, 0x00ad0561 }, + { 0x00800042, 0x24804629, 0x00ad0580, 0x00ad0581 }, + { 0x00800042, 0x24a04629, 0x00ad05a0, 0x00ad05a1 }, + { 0x00800042, 0x24c04629, 0x00ad05c0, 0x00ad05c1 }, + { 0x00800042, 0x24e04629, 0x00ad05e0, 0x00ad05e1 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000001d }, + { 0x01000005, 0x20003dbc, 0x00210a5a, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000010 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a005 }, + { 0x00800031, 0x25a01d29, 0x008d0e60, 0x0414a006 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0000000f }, + { 0x00000040, 0x2e640c21, 0x00210e64, 0x00000008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0411a005 }, + { 0x00800031, 0x26201d29, 0x008d0e60, 0x0411a006 }, + { 0x00800042, 0x24004629, 0x00ad0500, 0x00ad0520 }, + { 0x00800042, 0x24204629, 0x00ad0520, 0x00ad0540 }, + { 0x00800042, 0x24404629, 0x00ad0540, 0x00ad0560 }, + { 0x00800042, 0x24604629, 0x00ad0560, 0x00ad0580 }, + { 0x00800042, 0x24804629, 0x00ad05a0, 0x00ad05c0 }, + { 0x00800042, 0x24a04629, 0x00ad05c0, 0x00ad05e0 }, + { 0x00800042, 0x24c04629, 0x00ad05e0, 0x00ad0600 }, + { 0x00800042, 0x24e04629, 0x00ad0600, 0x00ad0620 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000000b }, { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, { 0x00800031, 0x25001d29, 0x00ad0e60, 0x0414a005 }, { 0x00800031, 0x25a01d29, 0x00ad0e60, 0x0414a006 }, @@ -580,6 +720,76 @@ { 0x00000005, 0x2e640c21, 0x00210e64, 0xfffffffe }, { 0x02000005, 0x20002d3c, 0x00210a42, 0x20002000 }, { 0x00010040, 0x2e640c21, 0x00210e64, 0x00000001 }, + { 0x01000005, 0x20003dbc, 0x00210a54, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000032 }, + { 0x01000005, 0x20003dbc, 0x00210a56, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000024 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a008 }, + { 0x00800031, 0x25a01d29, 0x008d0e60, 0x0414a009 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0001000f }, + { 0x00000040, 0x2e640c21, 0x00210e64, 0x00000008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0411a008 }, + { 0x00800031, 0x26201d29, 0x008d0e60, 0x0411a009 }, + { 0x00800040, 0x24004629, 0x00ad0500, 0x00ad0520 }, + { 0x00800040, 0x24204629, 0x00ad0520, 0x00ad0540 }, + { 0x00800040, 0x24404629, 0x00ad0540, 0x00ad0560 }, + { 0x00800040, 0x24604629, 0x00ad0560, 0x00ad0580 }, + { 0x00800040, 0x24004529, 0x00ad0400, 0x00ad0501 }, + { 0x00800040, 0x24204529, 0x00ad0420, 0x00ad0521 }, + { 0x00800040, 0x24404529, 0x00ad0440, 0x00ad0541 }, + { 0x00800040, 0x24604529, 0x00ad0460, 0x00ad0561 }, + { 0x00800040, 0x24004529, 0x00ad0400, 0x00ad0521 }, + { 0x00800040, 0x24204529, 0x00ad0420, 0x00ad0541 }, + { 0x00800040, 0x24404529, 0x00ad0440, 0x00ad0561 }, + { 0x00800040, 0x24604529, 0x00ad0460, 0x00ad0581 }, + { 0x00800040, 0x24804629, 0x00ad05a0, 0x00ad05c0 }, + { 0x00800040, 0x24a04629, 0x00ad05c0, 0x00ad05e0 }, + { 0x00800040, 0x24c04629, 0x00ad05e0, 0x00ad0600 }, + { 0x00800040, 0x24e04629, 0x00ad0600, 0x00ad0620 }, + { 0x00800040, 0x24804529, 0x00ad0480, 0x00ad05a1 }, + { 0x00800040, 0x24a04529, 0x00ad04a0, 0x00ad05c1 }, + { 0x00800040, 0x24c04529, 0x00ad04c0, 0x00ad05e1 }, + { 0x00800040, 0x24e04529, 0x00ad04e0, 0x00ad0601 }, + { 0x00800040, 0x24804529, 0x00ad0480, 0x00ad05c1 }, + { 0x00800040, 0x24a04529, 0x00ad04a0, 0x00ad05e1 }, + { 0x00800040, 0x24c04529, 0x00ad04c0, 0x00ad0601 }, + { 0x00800040, 0x24e04529, 0x00ad04e0, 0x00ad0621 }, + { 0x00a02008, 0x24002d29, 0x00b10400, 0x00020002 }, + { 0x00a02008, 0x24402d29, 0x00b10440, 0x00020002 }, + { 0x00a02008, 0x24802d29, 0x00b10480, 0x00020002 }, + { 0x00a02008, 0x24c02d29, 0x00b104c0, 0x00020002 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x00000029 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0414a009 }, + { 0x00800042, 0x24004629, 0x00ad0500, 0x00ad0501 }, + { 0x00800042, 0x24204629, 0x00ad0520, 0x00ad0521 }, + { 0x00800042, 0x24404629, 0x00ad0540, 0x00ad0541 }, + { 0x00800042, 0x24604629, 0x00ad0560, 0x00ad0561 }, + { 0x00800042, 0x24804629, 0x00ad0580, 0x00ad0581 }, + { 0x00800042, 0x24a04629, 0x00ad05a0, 0x00ad05a1 }, + { 0x00800042, 0x24c04629, 0x00ad05c0, 0x00ad05c1 }, + { 0x00800042, 0x24e04629, 0x00ad05e0, 0x00ad05e1 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000001d }, + { 0x01000005, 0x20003dbc, 0x00210a56, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000010 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a008 }, + { 0x00800031, 0x25a01d29, 0x008d0e60, 0x0414a009 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0000000f }, + { 0x00000040, 0x2e640c21, 0x00210e64, 0x00000008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0411a008 }, + { 0x00800031, 0x26201d29, 0x008d0e60, 0x0411a009 }, + { 0x00800042, 0x24004629, 0x00ad0500, 0x00ad0520 }, + { 0x00800042, 0x24204629, 0x00ad0520, 0x00ad0540 }, + { 0x00800042, 0x24404629, 0x00ad0540, 0x00ad0560 }, + { 0x00800042, 0x24604629, 0x00ad0560, 0x00ad0580 }, + { 0x00800042, 0x24804629, 0x00ad05a0, 0x00ad05c0 }, + { 0x00800042, 0x24a04629, 0x00ad05c0, 0x00ad05e0 }, + { 0x00800042, 0x24c04629, 0x00ad05e0, 0x00ad0600 }, + { 0x00800042, 0x24e04629, 0x00ad0600, 0x00ad0620 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000000b }, { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, { 0x00800031, 0x25001d29, 0x00ad0e60, 0x0414a008 }, { 0x00800031, 0x25a01d29, 0x00ad0e60, 0x0414a009 }, @@ -606,6 +816,76 @@ { 0x00000005, 0x2e640c21, 0x00210e64, 0xfffffffe }, { 0x02000005, 0x20002d3c, 0x00210a42, 0x80008000 }, { 0x00010040, 0x2e640c21, 0x00210e64, 0x00000001 }, + { 0x01000005, 0x20003dbc, 0x00210a5c, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000032 }, + { 0x01000005, 0x20003dbc, 0x00210a5e, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000024 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a008 }, + { 0x00800031, 0x25a01d29, 0x008d0e60, 0x0414a009 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0001000f }, + { 0x00000040, 0x2e640c21, 0x00210e64, 0x00000008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0411a008 }, + { 0x00800031, 0x26201d29, 0x008d0e60, 0x0411a009 }, + { 0x00800040, 0x24004629, 0x00ad0500, 0x00ad0520 }, + { 0x00800040, 0x24204629, 0x00ad0520, 0x00ad0540 }, + { 0x00800040, 0x24404629, 0x00ad0540, 0x00ad0560 }, + { 0x00800040, 0x24604629, 0x00ad0560, 0x00ad0580 }, + { 0x00800040, 0x24004529, 0x00ad0400, 0x00ad0501 }, + { 0x00800040, 0x24204529, 0x00ad0420, 0x00ad0521 }, + { 0x00800040, 0x24404529, 0x00ad0440, 0x00ad0541 }, + { 0x00800040, 0x24604529, 0x00ad0460, 0x00ad0561 }, + { 0x00800040, 0x24004529, 0x00ad0400, 0x00ad0521 }, + { 0x00800040, 0x24204529, 0x00ad0420, 0x00ad0541 }, + { 0x00800040, 0x24404529, 0x00ad0440, 0x00ad0561 }, + { 0x00800040, 0x24604529, 0x00ad0460, 0x00ad0581 }, + { 0x00800040, 0x24804629, 0x00ad05a0, 0x00ad05c0 }, + { 0x00800040, 0x24a04629, 0x00ad05c0, 0x00ad05e0 }, + { 0x00800040, 0x24c04629, 0x00ad05e0, 0x00ad0600 }, + { 0x00800040, 0x24e04629, 0x00ad0600, 0x00ad0620 }, + { 0x00800040, 0x24804529, 0x00ad0480, 0x00ad05a1 }, + { 0x00800040, 0x24a04529, 0x00ad04a0, 0x00ad05c1 }, + { 0x00800040, 0x24c04529, 0x00ad04c0, 0x00ad05e1 }, + { 0x00800040, 0x24e04529, 0x00ad04e0, 0x00ad0601 }, + { 0x00800040, 0x24804529, 0x00ad0480, 0x00ad05c1 }, + { 0x00800040, 0x24a04529, 0x00ad04a0, 0x00ad05e1 }, + { 0x00800040, 0x24c04529, 0x00ad04c0, 0x00ad0601 }, + { 0x00800040, 0x24e04529, 0x00ad04e0, 0x00ad0621 }, + { 0x00a02008, 0x24002d29, 0x00b10400, 0x00020002 }, + { 0x00a02008, 0x24402d29, 0x00b10440, 0x00020002 }, + { 0x00a02008, 0x24802d29, 0x00b10480, 0x00020002 }, + { 0x00a02008, 0x24c02d29, 0x00b104c0, 0x00020002 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x00000029 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0414a009 }, + { 0x00800042, 0x24004629, 0x00ad0500, 0x00ad0501 }, + { 0x00800042, 0x24204629, 0x00ad0520, 0x00ad0521 }, + { 0x00800042, 0x24404629, 0x00ad0540, 0x00ad0541 }, + { 0x00800042, 0x24604629, 0x00ad0560, 0x00ad0561 }, + { 0x00800042, 0x24804629, 0x00ad0580, 0x00ad0581 }, + { 0x00800042, 0x24a04629, 0x00ad05a0, 0x00ad05a1 }, + { 0x00800042, 0x24c04629, 0x00ad05c0, 0x00ad05c1 }, + { 0x00800042, 0x24e04629, 0x00ad05e0, 0x00ad05e1 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000001d }, + { 0x01000005, 0x20003dbc, 0x00210a5e, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000010 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a008 }, + { 0x00800031, 0x25a01d29, 0x008d0e60, 0x0414a009 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0000000f }, + { 0x00000040, 0x2e640c21, 0x00210e64, 0x00000008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0411a008 }, + { 0x00800031, 0x26201d29, 0x008d0e60, 0x0411a009 }, + { 0x00800042, 0x24004629, 0x00ad0500, 0x00ad0520 }, + { 0x00800042, 0x24204629, 0x00ad0520, 0x00ad0540 }, + { 0x00800042, 0x24404629, 0x00ad0540, 0x00ad0560 }, + { 0x00800042, 0x24604629, 0x00ad0560, 0x00ad0580 }, + { 0x00800042, 0x24804629, 0x00ad05a0, 0x00ad05c0 }, + { 0x00800042, 0x24a04629, 0x00ad05c0, 0x00ad05e0 }, + { 0x00800042, 0x24c04629, 0x00ad05e0, 0x00ad0600 }, + { 0x00800042, 0x24e04629, 0x00ad0600, 0x00ad0620 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000000b }, { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, { 0x00800031, 0x25001d29, 0x00ad0e60, 0x0414a008 }, { 0x00800031, 0x25a01d29, 0x00ad0e60, 0x0414a009 }, diff --git a/src/xvmc/shader/vld/field_forward.g4b b/src/xvmc/shader/vld/field_forward.g4b index 343643cc..6c02221f 100644 --- a/src/xvmc/shader/vld/field_forward.g4b +++ b/src/xvmc/shader/vld/field_forward.g4b @@ -268,6 +268,76 @@ { 0x00000005, 0x2e640c21, 0x00210e64, 0xfffffffe }, { 0x02000005, 0x20002d3c, 0x00210a42, 0x10001000 }, { 0x00010040, 0x2e640c21, 0x00210e64, 0x00000001 }, + { 0x01000005, 0x20003dbc, 0x00210a50, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000032 }, + { 0x01000005, 0x20003dbc, 0x00210a52, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000024 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a005 }, + { 0x00800031, 0x25a01d29, 0x008d0e60, 0x0414a006 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0001000f }, + { 0x00000040, 0x2e640c21, 0x00210e64, 0x00000008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0411a005 }, + { 0x00800031, 0x26201d29, 0x008d0e60, 0x0411a006 }, + { 0x00800040, 0x24004629, 0x00ad0500, 0x00ad0520 }, + { 0x00800040, 0x24204629, 0x00ad0520, 0x00ad0540 }, + { 0x00800040, 0x24404629, 0x00ad0540, 0x00ad0560 }, + { 0x00800040, 0x24604629, 0x00ad0560, 0x00ad0580 }, + { 0x00800040, 0x24004529, 0x00ad0400, 0x00ad0501 }, + { 0x00800040, 0x24204529, 0x00ad0420, 0x00ad0521 }, + { 0x00800040, 0x24404529, 0x00ad0440, 0x00ad0541 }, + { 0x00800040, 0x24604529, 0x00ad0460, 0x00ad0561 }, + { 0x00800040, 0x24004529, 0x00ad0400, 0x00ad0521 }, + { 0x00800040, 0x24204529, 0x00ad0420, 0x00ad0541 }, + { 0x00800040, 0x24404529, 0x00ad0440, 0x00ad0561 }, + { 0x00800040, 0x24604529, 0x00ad0460, 0x00ad0581 }, + { 0x00800040, 0x24804629, 0x00ad05a0, 0x00ad05c0 }, + { 0x00800040, 0x24a04629, 0x00ad05c0, 0x00ad05e0 }, + { 0x00800040, 0x24c04629, 0x00ad05e0, 0x00ad0600 }, + { 0x00800040, 0x24e04629, 0x00ad0600, 0x00ad0620 }, + { 0x00800040, 0x24804529, 0x00ad0480, 0x00ad05a1 }, + { 0x00800040, 0x24a04529, 0x00ad04a0, 0x00ad05c1 }, + { 0x00800040, 0x24c04529, 0x00ad04c0, 0x00ad05e1 }, + { 0x00800040, 0x24e04529, 0x00ad04e0, 0x00ad0601 }, + { 0x00800040, 0x24804529, 0x00ad0480, 0x00ad05c1 }, + { 0x00800040, 0x24a04529, 0x00ad04a0, 0x00ad05e1 }, + { 0x00800040, 0x24c04529, 0x00ad04c0, 0x00ad0601 }, + { 0x00800040, 0x24e04529, 0x00ad04e0, 0x00ad0621 }, + { 0x00a02008, 0x24002d29, 0x00b10400, 0x00020002 }, + { 0x00a02008, 0x24402d29, 0x00b10440, 0x00020002 }, + { 0x00a02008, 0x24802d29, 0x00b10480, 0x00020002 }, + { 0x00a02008, 0x24c02d29, 0x00b104c0, 0x00020002 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x00000029 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a005 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0414a006 }, + { 0x00800042, 0x24004629, 0x00ad0500, 0x00ad0501 }, + { 0x00800042, 0x24204629, 0x00ad0520, 0x00ad0521 }, + { 0x00800042, 0x24404629, 0x00ad0540, 0x00ad0541 }, + { 0x00800042, 0x24604629, 0x00ad0560, 0x00ad0561 }, + { 0x00800042, 0x24804629, 0x00ad0580, 0x00ad0581 }, + { 0x00800042, 0x24a04629, 0x00ad05a0, 0x00ad05a1 }, + { 0x00800042, 0x24c04629, 0x00ad05c0, 0x00ad05c1 }, + { 0x00800042, 0x24e04629, 0x00ad05e0, 0x00ad05e1 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000001d }, + { 0x01000005, 0x20003dbc, 0x00210a52, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000010 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a005 }, + { 0x00800031, 0x25a01d29, 0x008d0e60, 0x0414a006 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0000000f }, + { 0x00000040, 0x2e640c21, 0x00210e64, 0x00000008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0411a005 }, + { 0x00800031, 0x26201d29, 0x008d0e60, 0x0411a006 }, + { 0x00800042, 0x24004629, 0x00ad0500, 0x00ad0520 }, + { 0x00800042, 0x24204629, 0x00ad0520, 0x00ad0540 }, + { 0x00800042, 0x24404629, 0x00ad0540, 0x00ad0560 }, + { 0x00800042, 0x24604629, 0x00ad0560, 0x00ad0580 }, + { 0x00800042, 0x24804629, 0x00ad05a0, 0x00ad05c0 }, + { 0x00800042, 0x24a04629, 0x00ad05c0, 0x00ad05e0 }, + { 0x00800042, 0x24c04629, 0x00ad05e0, 0x00ad0600 }, + { 0x00800042, 0x24e04629, 0x00ad0600, 0x00ad0620 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000000b }, { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, { 0x00800031, 0x25001d29, 0x00ad0e60, 0x0414a005 }, { 0x00800031, 0x25a01d29, 0x00ad0e60, 0x0414a006 }, @@ -294,6 +364,76 @@ { 0x00000005, 0x2e640c21, 0x00210e64, 0xfffffffe }, { 0x02000005, 0x20002d3c, 0x00210a42, 0x40004000 }, { 0x00010040, 0x2e640c21, 0x00210e64, 0x00000001 }, + { 0x01000005, 0x20003dbc, 0x00210a58, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000032 }, + { 0x01000005, 0x20003dbc, 0x00210a5a, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000024 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a005 }, + { 0x00800031, 0x25a01d29, 0x008d0e60, 0x0414a006 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0001000f }, + { 0x00000040, 0x2e640c21, 0x00210e64, 0x00000008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0411a005 }, + { 0x00800031, 0x26201d29, 0x008d0e60, 0x0411a006 }, + { 0x00800040, 0x24004629, 0x00ad0500, 0x00ad0520 }, + { 0x00800040, 0x24204629, 0x00ad0520, 0x00ad0540 }, + { 0x00800040, 0x24404629, 0x00ad0540, 0x00ad0560 }, + { 0x00800040, 0x24604629, 0x00ad0560, 0x00ad0580 }, + { 0x00800040, 0x24004529, 0x00ad0400, 0x00ad0501 }, + { 0x00800040, 0x24204529, 0x00ad0420, 0x00ad0521 }, + { 0x00800040, 0x24404529, 0x00ad0440, 0x00ad0541 }, + { 0x00800040, 0x24604529, 0x00ad0460, 0x00ad0561 }, + { 0x00800040, 0x24004529, 0x00ad0400, 0x00ad0521 }, + { 0x00800040, 0x24204529, 0x00ad0420, 0x00ad0541 }, + { 0x00800040, 0x24404529, 0x00ad0440, 0x00ad0561 }, + { 0x00800040, 0x24604529, 0x00ad0460, 0x00ad0581 }, + { 0x00800040, 0x24804629, 0x00ad05a0, 0x00ad05c0 }, + { 0x00800040, 0x24a04629, 0x00ad05c0, 0x00ad05e0 }, + { 0x00800040, 0x24c04629, 0x00ad05e0, 0x00ad0600 }, + { 0x00800040, 0x24e04629, 0x00ad0600, 0x00ad0620 }, + { 0x00800040, 0x24804529, 0x00ad0480, 0x00ad05a1 }, + { 0x00800040, 0x24a04529, 0x00ad04a0, 0x00ad05c1 }, + { 0x00800040, 0x24c04529, 0x00ad04c0, 0x00ad05e1 }, + { 0x00800040, 0x24e04529, 0x00ad04e0, 0x00ad0601 }, + { 0x00800040, 0x24804529, 0x00ad0480, 0x00ad05c1 }, + { 0x00800040, 0x24a04529, 0x00ad04a0, 0x00ad05e1 }, + { 0x00800040, 0x24c04529, 0x00ad04c0, 0x00ad0601 }, + { 0x00800040, 0x24e04529, 0x00ad04e0, 0x00ad0621 }, + { 0x00a02008, 0x24002d29, 0x00b10400, 0x00020002 }, + { 0x00a02008, 0x24402d29, 0x00b10440, 0x00020002 }, + { 0x00a02008, 0x24802d29, 0x00b10480, 0x00020002 }, + { 0x00a02008, 0x24c02d29, 0x00b104c0, 0x00020002 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x00000029 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a005 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0414a006 }, + { 0x00800042, 0x24004629, 0x00ad0500, 0x00ad0501 }, + { 0x00800042, 0x24204629, 0x00ad0520, 0x00ad0521 }, + { 0x00800042, 0x24404629, 0x00ad0540, 0x00ad0541 }, + { 0x00800042, 0x24604629, 0x00ad0560, 0x00ad0561 }, + { 0x00800042, 0x24804629, 0x00ad0580, 0x00ad0581 }, + { 0x00800042, 0x24a04629, 0x00ad05a0, 0x00ad05a1 }, + { 0x00800042, 0x24c04629, 0x00ad05c0, 0x00ad05c1 }, + { 0x00800042, 0x24e04629, 0x00ad05e0, 0x00ad05e1 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000001d }, + { 0x01000005, 0x20003dbc, 0x00210a5a, 0x00010001 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000010 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x25001d29, 0x008d0e60, 0x0414a005 }, + { 0x00800031, 0x25a01d29, 0x008d0e60, 0x0414a006 }, + { 0x00000001, 0x2e680061, 0x00000000, 0x0000000f }, + { 0x00000040, 0x2e640c21, 0x00210e64, 0x00000008 }, + { 0x00800031, 0x25801d29, 0x008d0e60, 0x0411a005 }, + { 0x00800031, 0x26201d29, 0x008d0e60, 0x0411a006 }, + { 0x00800042, 0x24004629, 0x00ad0500, 0x00ad0520 }, + { 0x00800042, 0x24204629, 0x00ad0520, 0x00ad0540 }, + { 0x00800042, 0x24404629, 0x00ad0540, 0x00ad0560 }, + { 0x00800042, 0x24604629, 0x00ad0560, 0x00ad0580 }, + { 0x00800042, 0x24804629, 0x00ad05a0, 0x00ad05c0 }, + { 0x00800042, 0x24a04629, 0x00ad05c0, 0x00ad05e0 }, + { 0x00800042, 0x24c04629, 0x00ad05e0, 0x00ad0600 }, + { 0x00800042, 0x24e04629, 0x00ad0600, 0x00ad0620 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000000b }, { 0x00000001, 0x2e680061, 0x00000000, 0x0007000f }, { 0x00800031, 0x25001d29, 0x00ad0e60, 0x0414a005 }, { 0x00800031, 0x25a01d29, 0x00ad0e60, 0x0414a006 }, diff --git a/src/xvmc/shader/vld/frame_backward.g4b b/src/xvmc/shader/vld/frame_backward.g4b index 66d911fd..475200b6 100644 --- a/src/xvmc/shader/vld/frame_backward.g4b +++ b/src/xvmc/shader/vld/frame_backward.g4b @@ -150,6 +150,112 @@ { 0x00200008, 0x23e00c21, 0x004503e0, 0x00000001 }, { 0x0020000c, 0x23ee3dad, 0x00450a54, 0x00020002 }, { 0x00200040, 0x24003421, 0x004503e0, 0x004503ee }, + { 0x01000005, 0x20000d3c, 0x00210a54, 0x00000002 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x0000004e }, + { 0x01000005, 0x20000d3c, 0x00210a56, 0x00000002 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000040 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0007001f }, + { 0x00800031, 0x24401d29, 0x008d0400, 0x0418a008 }, + { 0x00800031, 0x25801d29, 0x008d0400, 0x0418a009 }, + { 0x00000040, 0x24040c21, 0x00210404, 0x00000008 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0000001f }, + { 0x00800031, 0x25401d29, 0x008d0400, 0x0411a008 }, + { 0x00800031, 0x26801d29, 0x008d0400, 0x0411a009 }, + { 0x00600040, 0x29404629, 0x008d0440, 0x008d0441 }, + { 0x00600040, 0x29504629, 0x008d0460, 0x008d0461 }, + { 0x00600040, 0x29604629, 0x008d0480, 0x008d0481 }, + { 0x00600040, 0x29704629, 0x008d04a0, 0x008d04a1 }, + { 0x00600040, 0x29804629, 0x008d04c0, 0x008d04c1 }, + { 0x00600040, 0x29904629, 0x008d04e0, 0x008d04e1 }, + { 0x00600040, 0x29a04629, 0x008d0500, 0x008d0501 }, + { 0x00600040, 0x29b04629, 0x008d0520, 0x008d0521 }, + { 0x00600040, 0x29404529, 0x008d0940, 0x008d0460 }, + { 0x00600040, 0x29504529, 0x008d0950, 0x008d0480 }, + { 0x00600040, 0x29604529, 0x008d0960, 0x008d04a0 }, + { 0x00600040, 0x29704529, 0x008d0970, 0x008d04c0 }, + { 0x00600040, 0x29804529, 0x008d0980, 0x008d04e0 }, + { 0x00600040, 0x29904529, 0x008d0990, 0x008d0500 }, + { 0x00600040, 0x29a04529, 0x008d09a0, 0x008d0520 }, + { 0x00600040, 0x29b04529, 0x008d09b0, 0x008d0540 }, + { 0x00600040, 0x29404529, 0x008d0940, 0x008d0461 }, + { 0x00600040, 0x29504529, 0x008d0950, 0x008d0481 }, + { 0x00600040, 0x29604529, 0x008d0960, 0x008d04a1 }, + { 0x00600040, 0x29704529, 0x008d0970, 0x008d04c1 }, + { 0x00600040, 0x29804529, 0x008d0980, 0x008d04e1 }, + { 0x00600040, 0x29904529, 0x008d0990, 0x008d0501 }, + { 0x00600040, 0x29a04529, 0x008d09a0, 0x008d0521 }, + { 0x00600040, 0x29b04529, 0x008d09b0, 0x008d0541 }, + { 0x00600040, 0x29c04629, 0x008d0580, 0x008d0581 }, + { 0x00600040, 0x29d04629, 0x008d05a0, 0x008d05a1 }, + { 0x00600040, 0x29e04629, 0x008d05c0, 0x008d05c1 }, + { 0x00600040, 0x29f04629, 0x008d05e0, 0x008d05e1 }, + { 0x00600040, 0x2a004629, 0x008d0600, 0x008d0601 }, + { 0x00600040, 0x2a104629, 0x008d0620, 0x008d0621 }, + { 0x00600040, 0x2a204629, 0x008d0640, 0x008d0641 }, + { 0x00600040, 0x2a304629, 0x008d0660, 0x008d0661 }, + { 0x00600040, 0x29c04529, 0x008d09c0, 0x008d05a0 }, + { 0x00600040, 0x29d04529, 0x008d09d0, 0x008d05c0 }, + { 0x00600040, 0x29e04529, 0x008d09e0, 0x008d05e0 }, + { 0x00600040, 0x29f04529, 0x008d09f0, 0x008d0600 }, + { 0x00600040, 0x2a004529, 0x008d0a00, 0x008d0620 }, + { 0x00600040, 0x2a104529, 0x008d0a10, 0x008d0640 }, + { 0x00600040, 0x2a204529, 0x008d0a20, 0x008d0660 }, + { 0x00600040, 0x2a304529, 0x008d0a30, 0x008d0680 }, + { 0x00600040, 0x29c04529, 0x008d09c0, 0x008d05a1 }, + { 0x00600040, 0x29d04529, 0x008d09d0, 0x008d05c1 }, + { 0x00600040, 0x29e04529, 0x008d09e0, 0x008d05e1 }, + { 0x00600040, 0x29f04529, 0x008d09f0, 0x008d0601 }, + { 0x00600040, 0x2a004529, 0x008d0a00, 0x008d0621 }, + { 0x00600040, 0x2a104529, 0x008d0a10, 0x008d0641 }, + { 0x00600040, 0x2a204529, 0x008d0a20, 0x008d0661 }, + { 0x00600040, 0x2a304529, 0x008d0a30, 0x008d0681 }, + { 0x00800008, 0x29402d29, 0x00b10940, 0x00020002 }, + { 0x00800008, 0x29602d29, 0x00b10960, 0x00020002 }, + { 0x00800008, 0x29802d29, 0x00b10980, 0x00020002 }, + { 0x00800008, 0x29a02d29, 0x00b109a0, 0x00020002 }, + { 0x00800008, 0x29c02d29, 0x00b109c0, 0x00020002 }, + { 0x00800008, 0x29e02d29, 0x00b109e0, 0x00020002 }, + { 0x00800008, 0x2a002d29, 0x00b10a00, 0x00020002 }, + { 0x00800008, 0x2a202d29, 0x00b10a20, 0x00020002 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x00000031 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x24401d29, 0x008d0400, 0x0414a008 }, + { 0x00800031, 0x25801d29, 0x008d0400, 0x0414a009 }, + { 0x00800042, 0x29404629, 0x00ad0440, 0x00ad0441 }, + { 0x00800042, 0x29604629, 0x00ad0460, 0x00ad0461 }, + { 0x00800042, 0x29804629, 0x00ad0480, 0x00ad0481 }, + { 0x00800042, 0x29a04629, 0x00ad04a0, 0x00ad04a1 }, + { 0x00800042, 0x29c04629, 0x00ad0580, 0x00ad0581 }, + { 0x00800042, 0x29e04629, 0x00ad05a0, 0x00ad05a1 }, + { 0x00800042, 0x2a004629, 0x00ad05c0, 0x00ad05c1 }, + { 0x00800042, 0x2a204629, 0x00ad05e0, 0x00ad05e1 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x00000025 }, + { 0x01000005, 0x20000d3c, 0x00210a56, 0x00000002 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000018 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0007001f }, + { 0x00800031, 0x24401d29, 0x008d0400, 0x0418a008 }, + { 0x00800031, 0x25801d29, 0x008d0400, 0x0418a009 }, + { 0x00000040, 0x24040c21, 0x00210404, 0x00000008 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0000001f }, + { 0x00800031, 0x25401d29, 0x008d0400, 0x0411a008 }, + { 0x00800031, 0x26801d29, 0x008d0400, 0x0411a009 }, + { 0x00600042, 0x29404629, 0x008d0440, 0x008d0460 }, + { 0x00600042, 0x29504629, 0x008d0460, 0x008d0480 }, + { 0x00600042, 0x29604629, 0x008d0480, 0x008d04a0 }, + { 0x00600042, 0x29704629, 0x008d04a0, 0x008d04c0 }, + { 0x00600042, 0x29804629, 0x008d04c0, 0x008d04e0 }, + { 0x00600042, 0x29904629, 0x008d04e0, 0x008d0500 }, + { 0x00600042, 0x29a04629, 0x008d0500, 0x008d0520 }, + { 0x00600042, 0x29b04629, 0x008d0520, 0x008d0540 }, + { 0x00600042, 0x29c04629, 0x008d0580, 0x008d05a0 }, + { 0x00600042, 0x29d04629, 0x008d05a0, 0x008d05c0 }, + { 0x00600042, 0x29e04629, 0x008d05c0, 0x008d05e0 }, + { 0x00600042, 0x29f04629, 0x008d05e0, 0x008d0600 }, + { 0x00600042, 0x2a004629, 0x008d0600, 0x008d0620 }, + { 0x00600042, 0x2a104629, 0x008d0620, 0x008d0640 }, + { 0x00600042, 0x2a204629, 0x008d0640, 0x008d0660 }, + { 0x00600042, 0x2a304629, 0x008d0660, 0x008d0680 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000000b }, { 0x00000001, 0x24080061, 0x00000000, 0x0007000f }, { 0x00800031, 0x24801d29, 0x008d0400, 0x0414a008 }, { 0x00800031, 0x25001d29, 0x008d0400, 0x0414a009 }, diff --git a/src/xvmc/shader/vld/frame_f_b.g4b b/src/xvmc/shader/vld/frame_f_b.g4b index c0069682..0ca1f384 100644 --- a/src/xvmc/shader/vld/frame_f_b.g4b +++ b/src/xvmc/shader/vld/frame_f_b.g4b @@ -321,6 +321,112 @@ { 0x0020000c, 0x23ee3dad, 0x00450a50, 0x00020002 }, { 0x00200040, 0x24003421, 0x004503e0, 0x004503ee }, { 0x00000001, 0x24080061, 0x00000000, 0x0007000f }, + { 0x01000005, 0x20000d3c, 0x00210a54, 0x00000002 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x0000004e }, + { 0x01000005, 0x20000d3c, 0x00210a56, 0x00000002 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000040 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0007001f }, + { 0x00800031, 0x24401d29, 0x008d0400, 0x0418a005 }, + { 0x00800031, 0x25801d29, 0x008d0400, 0x0418a006 }, + { 0x00000040, 0x24040c21, 0x00210404, 0x00000008 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0000001f }, + { 0x00800031, 0x25401d29, 0x008d0400, 0x0411a005 }, + { 0x00800031, 0x26801d29, 0x008d0400, 0x0411a006 }, + { 0x00600040, 0x29404629, 0x008d0440, 0x008d0441 }, + { 0x00600040, 0x29504629, 0x008d0460, 0x008d0461 }, + { 0x00600040, 0x29604629, 0x008d0480, 0x008d0481 }, + { 0x00600040, 0x29704629, 0x008d04a0, 0x008d04a1 }, + { 0x00600040, 0x29804629, 0x008d04c0, 0x008d04c1 }, + { 0x00600040, 0x29904629, 0x008d04e0, 0x008d04e1 }, + { 0x00600040, 0x29a04629, 0x008d0500, 0x008d0501 }, + { 0x00600040, 0x29b04629, 0x008d0520, 0x008d0521 }, + { 0x00600040, 0x29404529, 0x008d0940, 0x008d0460 }, + { 0x00600040, 0x29504529, 0x008d0950, 0x008d0480 }, + { 0x00600040, 0x29604529, 0x008d0960, 0x008d04a0 }, + { 0x00600040, 0x29704529, 0x008d0970, 0x008d04c0 }, + { 0x00600040, 0x29804529, 0x008d0980, 0x008d04e0 }, + { 0x00600040, 0x29904529, 0x008d0990, 0x008d0500 }, + { 0x00600040, 0x29a04529, 0x008d09a0, 0x008d0520 }, + { 0x00600040, 0x29b04529, 0x008d09b0, 0x008d0540 }, + { 0x00600040, 0x29404529, 0x008d0940, 0x008d0461 }, + { 0x00600040, 0x29504529, 0x008d0950, 0x008d0481 }, + { 0x00600040, 0x29604529, 0x008d0960, 0x008d04a1 }, + { 0x00600040, 0x29704529, 0x008d0970, 0x008d04c1 }, + { 0x00600040, 0x29804529, 0x008d0980, 0x008d04e1 }, + { 0x00600040, 0x29904529, 0x008d0990, 0x008d0501 }, + { 0x00600040, 0x29a04529, 0x008d09a0, 0x008d0521 }, + { 0x00600040, 0x29b04529, 0x008d09b0, 0x008d0541 }, + { 0x00600040, 0x29c04629, 0x008d0580, 0x008d0581 }, + { 0x00600040, 0x29d04629, 0x008d05a0, 0x008d05a1 }, + { 0x00600040, 0x29e04629, 0x008d05c0, 0x008d05c1 }, + { 0x00600040, 0x29f04629, 0x008d05e0, 0x008d05e1 }, + { 0x00600040, 0x2a004629, 0x008d0600, 0x008d0601 }, + { 0x00600040, 0x2a104629, 0x008d0620, 0x008d0621 }, + { 0x00600040, 0x2a204629, 0x008d0640, 0x008d0641 }, + { 0x00600040, 0x2a304629, 0x008d0660, 0x008d0661 }, + { 0x00600040, 0x29c04529, 0x008d09c0, 0x008d05a0 }, + { 0x00600040, 0x29d04529, 0x008d09d0, 0x008d05c0 }, + { 0x00600040, 0x29e04529, 0x008d09e0, 0x008d05e0 }, + { 0x00600040, 0x29f04529, 0x008d09f0, 0x008d0600 }, + { 0x00600040, 0x2a004529, 0x008d0a00, 0x008d0620 }, + { 0x00600040, 0x2a104529, 0x008d0a10, 0x008d0640 }, + { 0x00600040, 0x2a204529, 0x008d0a20, 0x008d0660 }, + { 0x00600040, 0x2a304529, 0x008d0a30, 0x008d0680 }, + { 0x00600040, 0x29c04529, 0x008d09c0, 0x008d05a1 }, + { 0x00600040, 0x29d04529, 0x008d09d0, 0x008d05c1 }, + { 0x00600040, 0x29e04529, 0x008d09e0, 0x008d05e1 }, + { 0x00600040, 0x29f04529, 0x008d09f0, 0x008d0601 }, + { 0x00600040, 0x2a004529, 0x008d0a00, 0x008d0621 }, + { 0x00600040, 0x2a104529, 0x008d0a10, 0x008d0641 }, + { 0x00600040, 0x2a204529, 0x008d0a20, 0x008d0661 }, + { 0x00600040, 0x2a304529, 0x008d0a30, 0x008d0681 }, + { 0x00800008, 0x29402d29, 0x00b10940, 0x00020002 }, + { 0x00800008, 0x29602d29, 0x00b10960, 0x00020002 }, + { 0x00800008, 0x29802d29, 0x00b10980, 0x00020002 }, + { 0x00800008, 0x29a02d29, 0x00b109a0, 0x00020002 }, + { 0x00800008, 0x29c02d29, 0x00b109c0, 0x00020002 }, + { 0x00800008, 0x29e02d29, 0x00b109e0, 0x00020002 }, + { 0x00800008, 0x2a002d29, 0x00b10a00, 0x00020002 }, + { 0x00800008, 0x2a202d29, 0x00b10a20, 0x00020002 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x00000031 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x24401d29, 0x008d0400, 0x0414a005 }, + { 0x00800031, 0x25801d29, 0x008d0400, 0x0414a006 }, + { 0x00800042, 0x29404629, 0x00ad0440, 0x00ad0441 }, + { 0x00800042, 0x29604629, 0x00ad0460, 0x00ad0461 }, + { 0x00800042, 0x29804629, 0x00ad0480, 0x00ad0481 }, + { 0x00800042, 0x29a04629, 0x00ad04a0, 0x00ad04a1 }, + { 0x00800042, 0x29c04629, 0x00ad0580, 0x00ad0581 }, + { 0x00800042, 0x29e04629, 0x00ad05a0, 0x00ad05a1 }, + { 0x00800042, 0x2a004629, 0x00ad05c0, 0x00ad05c1 }, + { 0x00800042, 0x2a204629, 0x00ad05e0, 0x00ad05e1 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x00000025 }, + { 0x01000005, 0x20000d3c, 0x00210a56, 0x00000002 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000018 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0007001f }, + { 0x00800031, 0x24401d29, 0x008d0400, 0x0418a005 }, + { 0x00800031, 0x25801d29, 0x008d0400, 0x0418a006 }, + { 0x00000040, 0x24040c21, 0x00210404, 0x00000008 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0000001f }, + { 0x00800031, 0x25401d29, 0x008d0400, 0x0411a005 }, + { 0x00800031, 0x26801d29, 0x008d0400, 0x0411a006 }, + { 0x00600042, 0x29404629, 0x008d0440, 0x008d0460 }, + { 0x00600042, 0x29504629, 0x008d0460, 0x008d0480 }, + { 0x00600042, 0x29604629, 0x008d0480, 0x008d04a0 }, + { 0x00600042, 0x29704629, 0x008d04a0, 0x008d04c0 }, + { 0x00600042, 0x29804629, 0x008d04c0, 0x008d04e0 }, + { 0x00600042, 0x29904629, 0x008d04e0, 0x008d0500 }, + { 0x00600042, 0x29a04629, 0x008d0500, 0x008d0520 }, + { 0x00600042, 0x29b04629, 0x008d0520, 0x008d0540 }, + { 0x00600042, 0x29c04629, 0x008d0580, 0x008d05a0 }, + { 0x00600042, 0x29d04629, 0x008d05a0, 0x008d05c0 }, + { 0x00600042, 0x29e04629, 0x008d05c0, 0x008d05e0 }, + { 0x00600042, 0x29f04629, 0x008d05e0, 0x008d0600 }, + { 0x00600042, 0x2a004629, 0x008d0600, 0x008d0620 }, + { 0x00600042, 0x2a104629, 0x008d0620, 0x008d0640 }, + { 0x00600042, 0x2a204629, 0x008d0640, 0x008d0660 }, + { 0x00600042, 0x2a304629, 0x008d0660, 0x008d0680 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000000b }, { 0x00000001, 0x24080061, 0x00000000, 0x0007000f }, { 0x00800031, 0x24801d29, 0x008d0400, 0x0414a005 }, { 0x00800031, 0x25001d29, 0x008d0400, 0x0414a006 }, @@ -342,6 +448,112 @@ { 0x00800001, 0x2df00231, 0x00b20a20, 0x00000000 }, { 0x0020000c, 0x23ee3dad, 0x00450a54, 0x00020002 }, { 0x00200040, 0x24003421, 0x004503e0, 0x004503ee }, + { 0x01000005, 0x20000d3c, 0x00210a54, 0x00000002 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x0000004e }, + { 0x01000005, 0x20000d3c, 0x00210a56, 0x00000002 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000040 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0007001f }, + { 0x00800031, 0x24401d29, 0x008d0400, 0x0418a008 }, + { 0x00800031, 0x25801d29, 0x008d0400, 0x0418a009 }, + { 0x00000040, 0x24040c21, 0x00210404, 0x00000008 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0000001f }, + { 0x00800031, 0x25401d29, 0x008d0400, 0x0411a008 }, + { 0x00800031, 0x26801d29, 0x008d0400, 0x0411a009 }, + { 0x00600040, 0x29404629, 0x008d0440, 0x008d0441 }, + { 0x00600040, 0x29504629, 0x008d0460, 0x008d0461 }, + { 0x00600040, 0x29604629, 0x008d0480, 0x008d0481 }, + { 0x00600040, 0x29704629, 0x008d04a0, 0x008d04a1 }, + { 0x00600040, 0x29804629, 0x008d04c0, 0x008d04c1 }, + { 0x00600040, 0x29904629, 0x008d04e0, 0x008d04e1 }, + { 0x00600040, 0x29a04629, 0x008d0500, 0x008d0501 }, + { 0x00600040, 0x29b04629, 0x008d0520, 0x008d0521 }, + { 0x00600040, 0x29404529, 0x008d0940, 0x008d0460 }, + { 0x00600040, 0x29504529, 0x008d0950, 0x008d0480 }, + { 0x00600040, 0x29604529, 0x008d0960, 0x008d04a0 }, + { 0x00600040, 0x29704529, 0x008d0970, 0x008d04c0 }, + { 0x00600040, 0x29804529, 0x008d0980, 0x008d04e0 }, + { 0x00600040, 0x29904529, 0x008d0990, 0x008d0500 }, + { 0x00600040, 0x29a04529, 0x008d09a0, 0x008d0520 }, + { 0x00600040, 0x29b04529, 0x008d09b0, 0x008d0540 }, + { 0x00600040, 0x29404529, 0x008d0940, 0x008d0461 }, + { 0x00600040, 0x29504529, 0x008d0950, 0x008d0481 }, + { 0x00600040, 0x29604529, 0x008d0960, 0x008d04a1 }, + { 0x00600040, 0x29704529, 0x008d0970, 0x008d04c1 }, + { 0x00600040, 0x29804529, 0x008d0980, 0x008d04e1 }, + { 0x00600040, 0x29904529, 0x008d0990, 0x008d0501 }, + { 0x00600040, 0x29a04529, 0x008d09a0, 0x008d0521 }, + { 0x00600040, 0x29b04529, 0x008d09b0, 0x008d0541 }, + { 0x00600040, 0x29c04629, 0x008d0580, 0x008d0581 }, + { 0x00600040, 0x29d04629, 0x008d05a0, 0x008d05a1 }, + { 0x00600040, 0x29e04629, 0x008d05c0, 0x008d05c1 }, + { 0x00600040, 0x29f04629, 0x008d05e0, 0x008d05e1 }, + { 0x00600040, 0x2a004629, 0x008d0600, 0x008d0601 }, + { 0x00600040, 0x2a104629, 0x008d0620, 0x008d0621 }, + { 0x00600040, 0x2a204629, 0x008d0640, 0x008d0641 }, + { 0x00600040, 0x2a304629, 0x008d0660, 0x008d0661 }, + { 0x00600040, 0x29c04529, 0x008d09c0, 0x008d05a0 }, + { 0x00600040, 0x29d04529, 0x008d09d0, 0x008d05c0 }, + { 0x00600040, 0x29e04529, 0x008d09e0, 0x008d05e0 }, + { 0x00600040, 0x29f04529, 0x008d09f0, 0x008d0600 }, + { 0x00600040, 0x2a004529, 0x008d0a00, 0x008d0620 }, + { 0x00600040, 0x2a104529, 0x008d0a10, 0x008d0640 }, + { 0x00600040, 0x2a204529, 0x008d0a20, 0x008d0660 }, + { 0x00600040, 0x2a304529, 0x008d0a30, 0x008d0680 }, + { 0x00600040, 0x29c04529, 0x008d09c0, 0x008d05a1 }, + { 0x00600040, 0x29d04529, 0x008d09d0, 0x008d05c1 }, + { 0x00600040, 0x29e04529, 0x008d09e0, 0x008d05e1 }, + { 0x00600040, 0x29f04529, 0x008d09f0, 0x008d0601 }, + { 0x00600040, 0x2a004529, 0x008d0a00, 0x008d0621 }, + { 0x00600040, 0x2a104529, 0x008d0a10, 0x008d0641 }, + { 0x00600040, 0x2a204529, 0x008d0a20, 0x008d0661 }, + { 0x00600040, 0x2a304529, 0x008d0a30, 0x008d0681 }, + { 0x00800008, 0x29402d29, 0x00b10940, 0x00020002 }, + { 0x00800008, 0x29602d29, 0x00b10960, 0x00020002 }, + { 0x00800008, 0x29802d29, 0x00b10980, 0x00020002 }, + { 0x00800008, 0x29a02d29, 0x00b109a0, 0x00020002 }, + { 0x00800008, 0x29c02d29, 0x00b109c0, 0x00020002 }, + { 0x00800008, 0x29e02d29, 0x00b109e0, 0x00020002 }, + { 0x00800008, 0x2a002d29, 0x00b10a00, 0x00020002 }, + { 0x00800008, 0x2a202d29, 0x00b10a20, 0x00020002 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x00000031 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x24401d29, 0x008d0400, 0x0414a008 }, + { 0x00800031, 0x25801d29, 0x008d0400, 0x0414a009 }, + { 0x00800042, 0x29404629, 0x00ad0440, 0x00ad0441 }, + { 0x00800042, 0x29604629, 0x00ad0460, 0x00ad0461 }, + { 0x00800042, 0x29804629, 0x00ad0480, 0x00ad0481 }, + { 0x00800042, 0x29a04629, 0x00ad04a0, 0x00ad04a1 }, + { 0x00800042, 0x29c04629, 0x00ad0580, 0x00ad0581 }, + { 0x00800042, 0x29e04629, 0x00ad05a0, 0x00ad05a1 }, + { 0x00800042, 0x2a004629, 0x00ad05c0, 0x00ad05c1 }, + { 0x00800042, 0x2a204629, 0x00ad05e0, 0x00ad05e1 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x00000025 }, + { 0x01000005, 0x20000d3c, 0x00210a56, 0x00000002 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000018 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0007001f }, + { 0x00800031, 0x24401d29, 0x008d0400, 0x0418a008 }, + { 0x00800031, 0x25801d29, 0x008d0400, 0x0418a009 }, + { 0x00000040, 0x24040c21, 0x00210404, 0x00000008 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0000001f }, + { 0x00800031, 0x25401d29, 0x008d0400, 0x0411a008 }, + { 0x00800031, 0x26801d29, 0x008d0400, 0x0411a009 }, + { 0x00600042, 0x29404629, 0x008d0440, 0x008d0460 }, + { 0x00600042, 0x29504629, 0x008d0460, 0x008d0480 }, + { 0x00600042, 0x29604629, 0x008d0480, 0x008d04a0 }, + { 0x00600042, 0x29704629, 0x008d04a0, 0x008d04c0 }, + { 0x00600042, 0x29804629, 0x008d04c0, 0x008d04e0 }, + { 0x00600042, 0x29904629, 0x008d04e0, 0x008d0500 }, + { 0x00600042, 0x29a04629, 0x008d0500, 0x008d0520 }, + { 0x00600042, 0x29b04629, 0x008d0520, 0x008d0540 }, + { 0x00600042, 0x29c04629, 0x008d0580, 0x008d05a0 }, + { 0x00600042, 0x29d04629, 0x008d05a0, 0x008d05c0 }, + { 0x00600042, 0x29e04629, 0x008d05c0, 0x008d05e0 }, + { 0x00600042, 0x29f04629, 0x008d05e0, 0x008d0600 }, + { 0x00600042, 0x2a004629, 0x008d0600, 0x008d0620 }, + { 0x00600042, 0x2a104629, 0x008d0620, 0x008d0640 }, + { 0x00600042, 0x2a204629, 0x008d0640, 0x008d0660 }, + { 0x00600042, 0x2a304629, 0x008d0660, 0x008d0680 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000000b }, { 0x00000001, 0x24080061, 0x00000000, 0x0007000f }, { 0x00800031, 0x24801d29, 0x008d0400, 0x0414a008 }, { 0x00800031, 0x25001d29, 0x008d0400, 0x0414a009 }, diff --git a/src/xvmc/shader/vld/frame_forward.g4b b/src/xvmc/shader/vld/frame_forward.g4b index fed4551a..4bf6c935 100644 --- a/src/xvmc/shader/vld/frame_forward.g4b +++ b/src/xvmc/shader/vld/frame_forward.g4b @@ -150,6 +150,112 @@ { 0x00200008, 0x23e00c21, 0x004503e0, 0x00000001 }, { 0x0020000c, 0x23ee3dad, 0x00450a50, 0x00020002 }, { 0x00200040, 0x24003421, 0x004503e0, 0x004503ee }, + { 0x01000005, 0x20000d3c, 0x00210a50, 0x00000002 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x0000004e }, + { 0x01000005, 0x20000d3c, 0x00210a52, 0x00000002 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000040 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0007001f }, + { 0x00800031, 0x24401d29, 0x008d0400, 0x0418a005 }, + { 0x00800031, 0x25801d29, 0x008d0400, 0x0418a006 }, + { 0x00000040, 0x24040c21, 0x00210404, 0x00000008 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0000001f }, + { 0x00800031, 0x25401d29, 0x008d0400, 0x0411a005 }, + { 0x00800031, 0x26801d29, 0x008d0400, 0x0411a006 }, + { 0x00600040, 0x29404629, 0x008d0440, 0x008d0441 }, + { 0x00600040, 0x29504629, 0x008d0460, 0x008d0461 }, + { 0x00600040, 0x29604629, 0x008d0480, 0x008d0481 }, + { 0x00600040, 0x29704629, 0x008d04a0, 0x008d04a1 }, + { 0x00600040, 0x29804629, 0x008d04c0, 0x008d04c1 }, + { 0x00600040, 0x29904629, 0x008d04e0, 0x008d04e1 }, + { 0x00600040, 0x29a04629, 0x008d0500, 0x008d0501 }, + { 0x00600040, 0x29b04629, 0x008d0520, 0x008d0521 }, + { 0x00600040, 0x29404529, 0x008d0940, 0x008d0460 }, + { 0x00600040, 0x29504529, 0x008d0950, 0x008d0480 }, + { 0x00600040, 0x29604529, 0x008d0960, 0x008d04a0 }, + { 0x00600040, 0x29704529, 0x008d0970, 0x008d04c0 }, + { 0x00600040, 0x29804529, 0x008d0980, 0x008d04e0 }, + { 0x00600040, 0x29904529, 0x008d0990, 0x008d0500 }, + { 0x00600040, 0x29a04529, 0x008d09a0, 0x008d0520 }, + { 0x00600040, 0x29b04529, 0x008d09b0, 0x008d0540 }, + { 0x00600040, 0x29404529, 0x008d0940, 0x008d0461 }, + { 0x00600040, 0x29504529, 0x008d0950, 0x008d0481 }, + { 0x00600040, 0x29604529, 0x008d0960, 0x008d04a1 }, + { 0x00600040, 0x29704529, 0x008d0970, 0x008d04c1 }, + { 0x00600040, 0x29804529, 0x008d0980, 0x008d04e1 }, + { 0x00600040, 0x29904529, 0x008d0990, 0x008d0501 }, + { 0x00600040, 0x29a04529, 0x008d09a0, 0x008d0521 }, + { 0x00600040, 0x29b04529, 0x008d09b0, 0x008d0541 }, + { 0x00600040, 0x29c04629, 0x008d0580, 0x008d0581 }, + { 0x00600040, 0x29d04629, 0x008d05a0, 0x008d05a1 }, + { 0x00600040, 0x29e04629, 0x008d05c0, 0x008d05c1 }, + { 0x00600040, 0x29f04629, 0x008d05e0, 0x008d05e1 }, + { 0x00600040, 0x2a004629, 0x008d0600, 0x008d0601 }, + { 0x00600040, 0x2a104629, 0x008d0620, 0x008d0621 }, + { 0x00600040, 0x2a204629, 0x008d0640, 0x008d0641 }, + { 0x00600040, 0x2a304629, 0x008d0660, 0x008d0661 }, + { 0x00600040, 0x29c04529, 0x008d09c0, 0x008d05a0 }, + { 0x00600040, 0x29d04529, 0x008d09d0, 0x008d05c0 }, + { 0x00600040, 0x29e04529, 0x008d09e0, 0x008d05e0 }, + { 0x00600040, 0x29f04529, 0x008d09f0, 0x008d0600 }, + { 0x00600040, 0x2a004529, 0x008d0a00, 0x008d0620 }, + { 0x00600040, 0x2a104529, 0x008d0a10, 0x008d0640 }, + { 0x00600040, 0x2a204529, 0x008d0a20, 0x008d0660 }, + { 0x00600040, 0x2a304529, 0x008d0a30, 0x008d0680 }, + { 0x00600040, 0x29c04529, 0x008d09c0, 0x008d05a1 }, + { 0x00600040, 0x29d04529, 0x008d09d0, 0x008d05c1 }, + { 0x00600040, 0x29e04529, 0x008d09e0, 0x008d05e1 }, + { 0x00600040, 0x29f04529, 0x008d09f0, 0x008d0601 }, + { 0x00600040, 0x2a004529, 0x008d0a00, 0x008d0621 }, + { 0x00600040, 0x2a104529, 0x008d0a10, 0x008d0641 }, + { 0x00600040, 0x2a204529, 0x008d0a20, 0x008d0661 }, + { 0x00600040, 0x2a304529, 0x008d0a30, 0x008d0681 }, + { 0x00800008, 0x29402d29, 0x00b10940, 0x00020002 }, + { 0x00800008, 0x29602d29, 0x00b10960, 0x00020002 }, + { 0x00800008, 0x29802d29, 0x00b10980, 0x00020002 }, + { 0x00800008, 0x29a02d29, 0x00b109a0, 0x00020002 }, + { 0x00800008, 0x29c02d29, 0x00b109c0, 0x00020002 }, + { 0x00800008, 0x29e02d29, 0x00b109e0, 0x00020002 }, + { 0x00800008, 0x2a002d29, 0x00b10a00, 0x00020002 }, + { 0x00800008, 0x2a202d29, 0x00b10a20, 0x00020002 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x00000031 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0007000f }, + { 0x00800031, 0x24401d29, 0x008d0400, 0x0414a005 }, + { 0x00800031, 0x25801d29, 0x008d0400, 0x0414a006 }, + { 0x00800042, 0x29404629, 0x00ad0440, 0x00ad0441 }, + { 0x00800042, 0x29604629, 0x00ad0460, 0x00ad0461 }, + { 0x00800042, 0x29804629, 0x00ad0480, 0x00ad0481 }, + { 0x00800042, 0x29a04629, 0x00ad04a0, 0x00ad04a1 }, + { 0x00800042, 0x29c04629, 0x00ad0580, 0x00ad0581 }, + { 0x00800042, 0x29e04629, 0x00ad05a0, 0x00ad05a1 }, + { 0x00800042, 0x2a004629, 0x00ad05c0, 0x00ad05c1 }, + { 0x00800042, 0x2a204629, 0x00ad05e0, 0x00ad05e1 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x00000025 }, + { 0x01000005, 0x20000d3c, 0x00210a52, 0x00000002 }, + { 0x00010020, 0x34001c00, 0x00001400, 0x00000018 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0007001f }, + { 0x00800031, 0x24401d29, 0x008d0400, 0x0418a005 }, + { 0x00800031, 0x25801d29, 0x008d0400, 0x0418a006 }, + { 0x00000040, 0x24040c21, 0x00210404, 0x00000008 }, + { 0x00000001, 0x24080061, 0x00000000, 0x0000001f }, + { 0x00800031, 0x25401d29, 0x008d0400, 0x0411a005 }, + { 0x00800031, 0x26801d29, 0x008d0400, 0x0411a006 }, + { 0x00600042, 0x29404629, 0x008d0440, 0x008d0460 }, + { 0x00600042, 0x29504629, 0x008d0460, 0x008d0480 }, + { 0x00600042, 0x29604629, 0x008d0480, 0x008d04a0 }, + { 0x00600042, 0x29704629, 0x008d04a0, 0x008d04c0 }, + { 0x00600042, 0x29804629, 0x008d04c0, 0x008d04e0 }, + { 0x00600042, 0x29904629, 0x008d04e0, 0x008d0500 }, + { 0x00600042, 0x29a04629, 0x008d0500, 0x008d0520 }, + { 0x00600042, 0x29b04629, 0x008d0520, 0x008d0540 }, + { 0x00600042, 0x29c04629, 0x008d0580, 0x008d05a0 }, + { 0x00600042, 0x29d04629, 0x008d05a0, 0x008d05c0 }, + { 0x00600042, 0x29e04629, 0x008d05c0, 0x008d05e0 }, + { 0x00600042, 0x29f04629, 0x008d05e0, 0x008d0600 }, + { 0x00600042, 0x2a004629, 0x008d0600, 0x008d0620 }, + { 0x00600042, 0x2a104629, 0x008d0620, 0x008d0640 }, + { 0x00600042, 0x2a204629, 0x008d0640, 0x008d0660 }, + { 0x00600042, 0x2a304629, 0x008d0660, 0x008d0680 }, + { 0x00000020, 0x34001c00, 0x00001400, 0x0000000b }, { 0x00000001, 0x24080061, 0x00000000, 0x0007000f }, { 0x00800031, 0x24801d29, 0x008d0400, 0x0414a005 }, { 0x00800031, 0x25001d29, 0x008d0400, 0x0414a006 }, diff --git a/src/xvmc/shader/vld/motion_field_uv.g4i b/src/xvmc/shader/vld/motion_field_uv.g4i index 3329569b..4598c85a 100644 --- a/src/xvmc/shader/vld/motion_field_uv.g4i +++ b/src/xvmc/shader/vld/motion_field_uv.g4i @@ -1,5 +1,5 @@ /* - * Copyright © 2009 Intel Corporation + * Copyright © 2008 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -26,4 +26,21 @@ * Xing Dong sheng <dongsheng.xing@intel.com> * */ -include(`read_field_x0y0_uv.g4i') + and.z (1) null mv1<1,1,1>W 1W {align1}; + (f0) jmpi L1; + and.z (1) null mv2<1,1,1>W 1W {align1}; + (f0) jmpi L2; + include(`read_field_x1y1_uv.g4i') + jmpi L5; +L2: + include(`read_field_x1y0_uv.g4i') + jmpi L5; +L1: + and.z (1) null mv2<1,1,1>W 1W {align1}; + (f0) jmpi L4; + include(`read_field_x0y1_uv.g4i') + jmpi L5; +L4: + include(`read_field_x0y0_uv.g4i') +L5: + diff --git a/src/xvmc/shader/vld/motion_frame_uv.g4i b/src/xvmc/shader/vld/motion_frame_uv.g4i index 3d393132..00a5f2bf 100644 --- a/src/xvmc/shader/vld/motion_frame_uv.g4i +++ b/src/xvmc/shader/vld/motion_frame_uv.g4i @@ -1,5 +1,5 @@ /* - * Copyright © 2009 Intel Corporation + * Copyright © 2008 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -26,4 +26,20 @@ * Xing Dong sheng <dongsheng.xing@intel.com> */ + and.z (1) null mv1<1,1,1>UW 2UD {align1}; + (f0) jmpi LL1; + and.z (1) null mv2<1,1,1>UW 2UD {align1}; + (f0) jmpi LL2; + include(`read_frame_x1y1_uv.g4i') + jmpi LL5; +LL2: + include(`read_frame_x1y0_uv.g4i') + jmpi LL5; +LL1: + and.z (1) null mv2<1,1,1>UW 2UD {align1}; + (f0) jmpi LL4; + include(`read_frame_x0y1_uv.g4i') + jmpi LL5; +LL4: include(`read_frame_x0y0_uv.g4i') +LL5: diff --git a/src/xvmc/shader/vld/read_field_x0y1_uv.g4i b/src/xvmc/shader/vld/read_field_x0y1_uv.g4i new file mode 100644 index 00000000..ac8030b8 --- /dev/null +++ b/src/xvmc/shader/vld/read_field_x0y1_uv.g4i @@ -0,0 +1,28 @@ +/* GRF allocation: + g1~g30: constant buffer + g1~g2:intra IQ matrix + g3~g4:non intra IQ matrix + g5~g20:IDCT table + g31: thread payload + g58~g81:reference data + g82: thread payload backup + g83~g106:IDCT data + g115: message descriptor for reading reference data */ + +mov (1) g115.8<1>UD 0x07000FUD {align1}; // 8*16/32=4 +send (16) 0 g40.0<1>UW g115<8,8,1>UW read(surface_u, 2, 0, 2) mlen 1 rlen 4 {align1};//U +send (16) 0 g45.0<1>UW g115<8,8,1>UW read(surface_v, 2, 0, 2) mlen 1 rlen 4 {align1};//V +mov (1) g115.8<1>UD 0xFUD {align1}; +add (1) g115.4<1>UD g115.4<1,1,1>UD 8UD {align1}; +send (16) 0 g44.0<1>UW g115<8,8,1>UW read(surface_u, 2, 0, 2) mlen 1 rlen 1 {align1};//U +send (16) 0 g49.0<1>UW g115<8,8,1>UW read(surface_v, 2, 0, 2) mlen 1 rlen 1 {align1};//V + +avg (16) g32.0<1>UW g40.0<16,8,1>UB g41.0<16,8,1>UB {align1}; +avg (16) g33.0<1>UW g41.0<16,8,1>UB g42.0<16,8,1>UB {align1}; +avg (16) g34.0<1>UW g42.0<16,8,1>UB g43.0<16,8,1>UB {align1}; +avg (16) g35.0<1>UW g43.0<16,8,1>UB g44.0<16,8,1>UB {align1}; + +avg (16) g36.0<1>UW g45.0<16,8,1>UB g46.0<16,8,1>UB {align1}; +avg (16) g37.0<1>UW g46.0<16,8,1>UB g47.0<16,8,1>UB {align1}; +avg (16) g38.0<1>UW g47.0<16,8,1>UB g48.0<16,8,1>UB {align1}; +avg (16) g39.0<1>UW g48.0<16,8,1>UB g49.0<16,8,1>UB {align1}; diff --git a/src/xvmc/shader/vld/read_field_x1y0_uv.g4i b/src/xvmc/shader/vld/read_field_x1y0_uv.g4i new file mode 100644 index 00000000..4c364382 --- /dev/null +++ b/src/xvmc/shader/vld/read_field_x1y0_uv.g4i @@ -0,0 +1,24 @@ +/* GRF allocation: + g1~g30: constant buffer + g1~g2:intra IQ matrix + g3~g4:non intra IQ matrix + g5~g20:IDCT table + g31: thread payload + g58~g81:reference data + g82: thread payload backup + g83~g106:IDCT data + g115: message descriptor for reading reference data */ + +mov (1) g115.8<1>UD 0x07000FUD {align1}; // 8*16/32=4 +send (16) 0 g40.0<1>UW g115<8,8,1>UW read(surface_u, 2, 0, 2) mlen 1 rlen 4 {align1};//U +send (16) 0 g44.0<1>UW g115<8,8,1>UW read(surface_v, 2, 0, 2) mlen 1 rlen 4 {align1};//V + +avg (16) g32.0<1>UW g40.0<16,8,1>UB g40.1<16,8,1>UB {align1}; +avg (16) g33.0<1>UW g41.0<16,8,1>UB g41.1<16,8,1>UB {align1}; +avg (16) g34.0<1>UW g42.0<16,8,1>UB g42.1<16,8,1>UB {align1}; +avg (16) g35.0<1>UW g43.0<16,8,1>UB g43.1<16,8,1>UB {align1}; + +avg (16) g36.0<1>UW g44.0<16,8,1>UB g44.1<16,8,1>UB {align1}; +avg (16) g37.0<1>UW g45.0<16,8,1>UB g45.1<16,8,1>UB {align1}; +avg (16) g38.0<1>UW g46.0<16,8,1>UB g46.1<16,8,1>UB {align1}; +avg (16) g39.0<1>UW g47.0<16,8,1>UB g47.1<16,8,1>UB {align1}; diff --git a/src/xvmc/shader/vld/read_field_x1y1_uv.g4i b/src/xvmc/shader/vld/read_field_x1y1_uv.g4i new file mode 100644 index 00000000..816dd724 --- /dev/null +++ b/src/xvmc/shader/vld/read_field_x1y1_uv.g4i @@ -0,0 +1,53 @@ +/* GRF allocation: + g1~g30: constant buffer + g1~g2:intra IQ matrix + g3~g4:non intra IQ matrix + g5~g20:IDCT table + g31: thread payload + g58~g81:reference data + g82: thread payload backup + g83~g106:IDCT data + g115: message descriptor for reading reference data */ +mov (1) g115.8<1>UD 0x07000FUD {align1}; +send (16) 0 g40.0<1>UW g115<8,8,1>UW read(surface_u, 2, 0, 2) mlen 1 rlen 4 {align1};//U +send (16) 0 g45.0<1>UW g115<8,8,1>UW read(surface_v, 2, 0, 2) mlen 1 rlen 4 {align1};//V +mov (1) g115.8<1>UD 0x01000FUD {align1}; +add (1) g115.4<1>UD g115.4<1,1,1>UD 8UD {align1}; +send (16) 0 g44.0<1>UW g115<8,8,1>UW read(surface_u, 2, 0, 2) mlen 1 rlen 1 {align1};//U +send (16) 0 g49.0<1>UW g115<8,8,1>UW read(surface_v, 2, 0, 2) mlen 1 rlen 1 {align1};//V +//U +add (16) g32.0<1>UW g40.0<16,8,1>UB g41.0<16,8,1>UB {align1}; +add (16) g33.0<1>UW g41.0<16,8,1>UB g42.0<16,8,1>UB {align1}; +add (16) g34.0<1>UW g42.0<16,8,1>UB g43.0<16,8,1>UB {align1}; +add (16) g35.0<1>UW g43.0<16,8,1>UB g44.0<16,8,1>UB {align1}; + +add (16) g32.0<1>UW g32.0<16,8,1>UW g40.1<16,8,1>UB {align1}; +add (16) g33.0<1>UW g33.0<16,8,1>UW g41.1<16,8,1>UB {align1}; +add (16) g34.0<1>UW g34.0<16,8,1>UW g42.1<16,8,1>UB {align1}; +add (16) g35.0<1>UW g35.0<16,8,1>UW g43.1<16,8,1>UB {align1}; + +add (16) g32.0<1>UW g32.0<16,8,1>UW g41.1<16,8,1>UB {align1}; +add (16) g33.0<1>UW g33.0<16,8,1>UW g42.1<16,8,1>UB {align1}; +add (16) g34.0<1>UW g34.0<16,8,1>UW g43.1<16,8,1>UB {align1}; +add (16) g35.0<1>UW g35.0<16,8,1>UW g44.1<16,8,1>UB {align1}; +//V +add (16) g36.0<1>UW g45.0<16,8,1>UB g46.0<16,8,1>UB {align1}; +add (16) g37.0<1>UW g46.0<16,8,1>UB g47.0<16,8,1>UB {align1}; +add (16) g38.0<1>UW g47.0<16,8,1>UB g48.0<16,8,1>UB {align1}; +add (16) g39.0<1>UW g48.0<16,8,1>UB g49.0<16,8,1>UB {align1}; + +add (16) g36.0<1>UW g36.0<16,8,1>UW g45.1<16,8,1>UB {align1}; +add (16) g37.0<1>UW g37.0<16,8,1>UW g46.1<16,8,1>UB {align1}; +add (16) g38.0<1>UW g38.0<16,8,1>UW g47.1<16,8,1>UB {align1}; +add (16) g39.0<1>UW g39.0<16,8,1>UW g48.1<16,8,1>UB {align1}; + +add (16) g36.0<1>UW g36.0<16,8,1>UW g46.1<16,8,1>UB {align1}; +add (16) g37.0<1>UW g37.0<16,8,1>UW g47.1<16,8,1>UB {align1}; +add (16) g38.0<1>UW g38.0<16,8,1>UW g48.1<16,8,1>UB {align1}; +add (16) g39.0<1>UW g39.0<16,8,1>UW g49.1<16,8,1>UB {align1}; + +shr (32) g32.0<1>UW g32.0<16,16,1>UW 2UW {align1 compr}; +shr (32) g34.0<1>UW g34.0<16,16,1>UW 2UW {align1 compr}; +shr (32) g36.0<1>UW g36.0<16,16,1>UW 2UW {align1 compr}; +shr (32) g38.0<1>UW g38.0<16,16,1>UW 2UW {align1 compr}; + diff --git a/src/xvmc/shader/vld/read_frame_x0y1_uv.g4i b/src/xvmc/shader/vld/read_frame_x0y1_uv.g4i new file mode 100644 index 00000000..6351ec50 --- /dev/null +++ b/src/xvmc/shader/vld/read_frame_x0y1_uv.g4i @@ -0,0 +1,56 @@ +/* + * Copyright © 2008 Intel Corporation + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDINg BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINgEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIgHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAgES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISINg FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINgS IN THE + * SOFTWARE. + * + * Author: + * Zou Nan hai <nanhai.zou@intel.com> + * Zhang Hua jun <huajun.zhang@intel.com> + * Xing Dong sheng <dongsheng.xing@intel.com> + * + */ +mov (1) g32.8<1>UD 0x007001FUD {align1}; +send (16) 0 g34.0<1>UW g32<8,8,1>UW read(input_surface1, 2, 0, 2) mlen 1 rlen 8 {align1}; //U +send (16) 0 g44.0<1>UW g32<8,8,1>UW read(input_surface2, 2, 0, 2) mlen 1 rlen 8 {align1}; //V +add (1) g32.4<1>UD g32.4<1,1,1>UD 8UD {align1}; +mov (1) g32.8<1>UD 0x1FUD {align1}; +send (16) 0 g42.0<1>UW g32<8,8,1>UW read(input_surface1, 2, 0, 2) mlen 1 rlen 1 {align1}; //U +send (16) 0 g52.0<1>UW g32<8,8,1>UW read(input_surface2, 2, 0, 2) mlen 1 rlen 1 {align1}; //V + +//U +avg (8) g74.0<1>UW g34.0<8,8,1>UB g35.0<8,8,1>UB {align1}; +avg (8) g74.16<1>UW g35.0<8,8,1>UB g36.0<8,8,1>UB {align1}; +avg (8) g75.0<1>UW g36.0<8,8,1>UB g37.0<8,8,1>UB {align1}; +avg (8) g75.16<1>UW g37.0<8,8,1>UB g38.0<8,8,1>UB {align1}; +avg (8) g76.0<1>UW g38.0<8,8,1>UB g39.0<8,8,1>UB {align1}; +avg (8) g76.16<1>UW g39.0<8,8,1>UB g40.0<8,8,1>UB {align1}; +avg (8) g77.0<1>UW g40.0<8,8,1>UB g41.0<8,8,1>UB {align1}; +avg (8) g77.16<1>UW g41.0<8,8,1>UB g42.0<8,8,1>UB {align1}; + +//V +avg (8) g78.0<1>UW g44.0<8,8,1>UB g45.0<8,8,1>UB {align1}; +avg (8) g78.16<1>UW g45.0<8,8,1>UB g46.0<8,8,1>UB {align1}; +avg (8) g79.0<1>UW g46.0<8,8,1>UB g47.0<8,8,1>UB {align1}; +avg (8) g79.16<1>UW g47.0<8,8,1>UB g48.0<8,8,1>UB {align1}; +avg (8) g80.0<1>UW g48.0<8,8,1>UB g49.0<8,8,1>UB {align1}; +avg (8) g80.16<1>UW g49.0<8,8,1>UB g50.0<8,8,1>UB {align1}; +avg (8) g81.0<1>UW g50.0<8,8,1>UB g51.0<8,8,1>UB {align1}; +avg (8) g81.16<1>UW g51.0<8,8,1>UB g52.0<8,8,1>UB {align1}; + diff --git a/src/xvmc/shader/vld/read_frame_x1y0_uv.g4i b/src/xvmc/shader/vld/read_frame_x1y0_uv.g4i new file mode 100644 index 00000000..05736f0e --- /dev/null +++ b/src/xvmc/shader/vld/read_frame_x1y0_uv.g4i @@ -0,0 +1,42 @@ +/* + * Copyright © 2008 Intel Corporation + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + * Author: + * Zou Nan hai <nanhai.zou@intel.com> + * Zhang Hua jun <huajun.zhang@intel.com> + * Xing Dong sheng <dongsheng.xing@intel.com> + * + */ + +mov (1) g32.8<1>UD 0x007000fUD {align1}; +send (16) 0 g34.0<1>UW g32<8,8,1>UW read(input_surface1, 2, 0, 2) mlen 1 rlen 4 {align1}; +send (16) 0 g44.0<1>UW g32<8,8,1>UW read(input_surface2, 2, 0, 2) mlen 1 rlen 4 {align1}; + +avg (16) g74.0<1>UW g34.0<16,8,1>UB g34.1<16,8,1>UB{align1}; +avg (16) g75.0<1>UW g35.0<16,8,1>UB g35.1<16,8,1>UB{align1}; +avg (16) g76.0<1>UW g36.0<16,8,1>UB g36.1<16,8,1>UB{align1}; +avg (16) g77.0<1>UW g37.0<16,8,1>UB g37.1<16,8,1>UB{align1}; + +avg (16) g78.0<1>UW g44.0<16,8,1>UB g44.1<16,8,1>UB{align1}; +avg (16) g79.0<1>UW g45.0<16,8,1>UB g45.1<16,8,1>UB{align1}; +avg (16) g80.0<1>UW g46.0<16,8,1>UB g46.1<16,8,1>UB{align1}; +avg (16) g81.0<1>UW g47.0<16,8,1>UB g47.1<16,8,1>UB{align1}; diff --git a/src/xvmc/shader/vld/read_frame_x1y1_uv.g4i b/src/xvmc/shader/vld/read_frame_x1y1_uv.g4i new file mode 100644 index 00000000..2f741fa0 --- /dev/null +++ b/src/xvmc/shader/vld/read_frame_x1y1_uv.g4i @@ -0,0 +1,74 @@ +/* + */ +mov (1) g32.8<1>UD 0x007001FUD {align1}; +send (16) 0 g34.0<1>UW g32<8,8,1>UW read(input_surface1, 2, 0, 2) mlen 1 rlen 8 {align1}; //U +send (16) 0 g44.0<1>UW g32<8,8,1>UW read(input_surface2, 2, 0, 2) mlen 1 rlen 8 {align1}; //V +add (1) g32.4<1>UD g32.4<1,1,1>UD 8UD {align1}; +mov (1) g32.8<1>UD 0x1FUD {align1}; +send (16) 0 g42.0<1>UW g32<8,8,1>UW read(input_surface1, 2, 0, 2) mlen 1 rlen 1 {align1}; //U +send (16) 0 g52.0<1>UW g32<8,8,1>UW read(input_surface2, 2, 0, 2) mlen 1 rlen 1 {align1}; //V + +//U +add (8) g74.0<1>UW g34.0<8,8,1>UB g34.1<8,8,1>UB {align1}; +add (8) g74.16<1>UW g35.0<8,8,1>UB g35.1<8,8,1>UB {align1}; +add (8) g75.0<1>UW g36.0<8,8,1>UB g36.1<8,8,1>UB {align1}; +add (8) g75.16<1>UW g37.0<8,8,1>UB g37.1<8,8,1>UB {align1}; +add (8) g76.0<1>UW g38.0<8,8,1>UB g38.1<8,8,1>UB {align1}; +add (8) g76.16<1>UW g39.0<8,8,1>UB g39.1<8,8,1>UB {align1}; +add (8) g77.0<1>UW g40.0<8,8,1>UB g40.1<8,8,1>UB {align1}; +add (8) g77.16<1>UW g41.0<8,8,1>UB g41.1<8,8,1>UB {align1}; + +add (8) g74.0<1>UW g74.0<8,8,1>UW g35.0<8,8,1>UB {align1}; +add (8) g74.16<1>UW g74.16<8,8,1>UW g36.0<8,8,1>UB {align1}; +add (8) g75.0<1>UW g75.0<8,8,1>UW g37.0<8,8,1>UB {align1}; +add (8) g75.16<1>UW g75.16<8,8,1>UW g38.0<8,8,1>UB {align1}; +add (8) g76.0<1>UW g76.0<8,8,1>UW g39.0<8,8,1>UB {align1}; +add (8) g76.16<1>UW g76.16<8,8,1>UW g40.0<8,8,1>UB {align1}; +add (8) g77.0<1>UW g77.0<8,8,1>UW g41.0<8,8,1>UB {align1}; +add (8) g77.16<1>UW g77.16<8,8,1>UW g42.0<8,8,1>UB {align1}; + +add (8) g74.0<1>UW g74.0<8,8,1>UW g35.1<8,8,1>UB {align1}; +add (8) g74.16<1>UW g74.16<8,8,1>UW g36.1<8,8,1>UB {align1}; +add (8) g75.0<1>UW g75.0<8,8,1>UW g37.1<8,8,1>UB {align1}; +add (8) g75.16<1>UW g75.16<8,8,1>UW g38.1<8,8,1>UB {align1}; +add (8) g76.0<1>UW g76.0<8,8,1>UW g39.1<8,8,1>UB {align1}; +add (8) g76.16<1>UW g76.16<8,8,1>UW g40.1<8,8,1>UB {align1}; +add (8) g77.0<1>UW g77.0<8,8,1>UW g41.1<8,8,1>UB {align1}; +add (8) g77.16<1>UW g77.16<8,8,1>UW g42.1<8,8,1>UB {align1}; + +//V +add (8) g78.0<1>UW g44.0<8,8,1>UB g44.1<8,8,1>UB {align1}; +add (8) g78.16<1>UW g45.0<8,8,1>UB g45.1<8,8,1>UB {align1}; +add (8) g79.0<1>UW g46.0<8,8,1>UB g46.1<8,8,1>UB {align1}; +add (8) g79.16<1>UW g47.0<8,8,1>UB g47.1<8,8,1>UB {align1}; +add (8) g80.0<1>UW g48.0<8,8,1>UB g48.1<8,8,1>UB {align1}; +add (8) g80.16<1>UW g49.0<8,8,1>UB g49.1<8,8,1>UB {align1}; +add (8) g81.0<1>UW g50.0<8,8,1>UB g50.1<8,8,1>UB {align1}; +add (8) g81.16<1>UW g51.0<8,8,1>UB g51.1<8,8,1>UB {align1}; + +add (8) g78.0<1>UW g78.0<8,8,1>UW g45.0<8,8,1>UB {align1}; +add (8) g78.16<1>UW g78.16<8,8,1>UW g46.0<8,8,1>UB {align1}; +add (8) g79.0<1>UW g79.0<8,8,1>UW g47.0<8,8,1>UB {align1}; +add (8) g79.16<1>UW g79.16<8,8,1>UW g48.0<8,8,1>UB {align1}; +add (8) g80.0<1>UW g80.0<8,8,1>UW g49.0<8,8,1>UB {align1}; +add (8) g80.16<1>UW g80.16<8,8,1>UW g50.0<8,8,1>UB {align1}; +add (8) g81.0<1>UW g81.0<8,8,1>UW g51.0<8,8,1>UB {align1}; +add (8) g81.16<1>UW g81.16<8,8,1>UW g52.0<8,8,1>UB {align1}; + +add (8) g78.0<1>UW g78.0<8,8,1>UW g45.1<8,8,1>UB {align1}; +add (8) g78.16<1>UW g78.16<8,8,1>UW g46.1<8,8,1>UB {align1}; +add (8) g79.0<1>UW g79.0<8,8,1>UW g47.1<8,8,1>UB {align1}; +add (8) g79.16<1>UW g79.16<8,8,1>UW g48.1<8,8,1>UB {align1}; +add (8) g80.0<1>UW g80.0<8,8,1>UW g49.1<8,8,1>UB {align1}; +add (8) g80.16<1>UW g80.16<8,8,1>UW g50.1<8,8,1>UB {align1}; +add (8) g81.0<1>UW g81.0<8,8,1>UW g51.1<8,8,1>UB {align1}; +add (8) g81.16<1>UW g81.16<8,8,1>UW g52.1<8,8,1>UB {align1}; + +shr (16) g74.0<1>UW g74.0<16,16,1>UW 2UW {align1}; +shr (16) g75.0<1>UW g75.0<16,16,1>UW 2UW {align1}; +shr (16) g76.0<1>UW g76.0<16,16,1>UW 2UW {align1}; +shr (16) g77.0<1>UW g77.0<16,16,1>UW 2UW {align1}; +shr (16) g78.0<1>UW g78.0<16,16,1>UW 2UW {align1}; +shr (16) g79.0<1>UW g79.0<16,16,1>UW 2UW {align1}; +shr (16) g80.0<1>UW g80.0<16,16,1>UW 2UW {align1}; +shr (16) g81.0<1>UW g81.0<16,16,1>UW 2UW {align1}; diff --git a/src/xvmc/xvmc_vld.c b/src/xvmc/xvmc_vld.c index d563e0e3..4f958422 100644 --- a/src/xvmc/xvmc_vld.c +++ b/src/xvmc/xvmc_vld.c @@ -190,8 +190,7 @@ static void calc_state_layout() static void *offset_to_ptr(unsigned long offset) { - return media_state.state_ptr + - (offset - media_state.state_base); + return media_state.state_ptr + (offset - media_state.state_base); } static void vfe_state() @@ -532,7 +531,6 @@ static void vld_send_media_object(unsigned long slice_offset, OUT_BATCH(q_scale_code<<24); ADVANCE_BATCH(); } - static Status put_slice2(Display *display, XvMCContext *context, unsigned char *slice, int nbytes, int sliceCode) { @@ -557,7 +555,8 @@ static Status put_slice2(Display *display, XvMCContext *context, urb_layout(); cs_urb_layout(); cs_buffer(); - vld_send_media_object(i965_ctx->slice.offset, nbytes, + vld_send_media_object(i965_ctx->slice.offset, + nbytes, 0, mb_row, 6, 127, q_scale_code); intelFlushBatch(TRUE); UNLOCK_HARDWARE(intel_ctx->hw_context); |