OSDN Git Service

Use Media Read message if possible on Gen8+
authorXiang, Haihao <haihao.xiang@intel.com>
Wed, 12 Oct 2016 19:07:45 +0000 (03:07 +0800)
committerSean V Kelley <seanvk@posteo.de>
Mon, 24 Oct 2016 22:36:55 +0000 (15:36 -0700)
commit78b6841fa3e247f15005ea3450d8404c59938ac3
treeec06b2eec1fbd93ef3f8802ee11a09484cfcf45b
parent852cea1cdfc83e0b6531dfefda14badafc9ee206
Use Media Read message if possible on Gen8+

AVS can't gurantee bit-match for a large surface. This fixes the
failure reported by gtest case Common/JPEGEncodeInputTest.Full/95.

before:
[  FAILED  ] Common/JPEGEncodeInputTest.Full/95, where GetParam() = (Fixed Size 7680x4320, 0x501176 pointing to "I420") (9239 ms)
[----------] 1 test from Common/JPEGEncodeInputTest (9239 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (9361 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] Common/JPEGEncodeInputTest.Full/95, where GetParam() = (Fixed Size 7680x4320, 0x501176 pointing to "I420")

after:
[       OK ] Common/JPEGEncodeInputTest.Full/95 (15250 ms)
[----------] 1 test from Common/JPEGEncodeInputTest (15250 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (15365 ms total)
[  PASSED  ] 1 test.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Tested-by: Sean V Kelley <seanvk@posteo.de>
16 files changed:
src/gen8_post_processing.c
src/shaders/post_processing/gen8/Makefile.am
src/shaders/post_processing/gen8/PL2_media_read_buf0123.g8a [new file with mode: 0644]
src/shaders/post_processing/gen8/PL3_media_read_buf0123.g8a [new file with mode: 0644]
src/shaders/post_processing/gen8/pl2_to_pl2.asm
src/shaders/post_processing/gen8/pl2_to_pl2.g8b
src/shaders/post_processing/gen8/pl2_to_pl3.asm
src/shaders/post_processing/gen8/pl2_to_pl3.g8b
src/shaders/post_processing/gen8/pl3_to_pl2.asm
src/shaders/post_processing/gen8/pl3_to_pl2.g8b
src/shaders/post_processing/gen8/pl3_to_pl3.asm
src/shaders/post_processing/gen8/pl3_to_pl3.g8b
src/shaders/post_processing/gen9/pl2_to_pl2.g9b
src/shaders/post_processing/gen9/pl2_to_pl3.g9b
src/shaders/post_processing/gen9/pl3_to_pl2.g9b
src/shaders/post_processing/gen9/pl3_to_pl3.g9b