On 09/27/2016 04:11 AM, U. Artie Eoff wrote:
Add JPEG encode tests that encode raw I420 and NV12 data
at quality 100 and then decodes them to verify proper
encoding.
Currently, the 7680x4320 I420 test fails because ~40-60
Y-values (i.e. plane 0) in each line from the decoded
bitstream are off
On 09/27/2016 04:11 AM, U. Artie Eoff wrote:
Common utilities and functions that may be useful for multiple
tests.
This looks good to me.
Add: Reviewed-by: Zhao Yakui
Thanks
Yakui
Signed-off-by: U. Artie Eoff
---
test/Makefile.am | 1
On 09/27/2016 04:11 AM, U. Artie Eoff wrote:
Add a wrapper that calls the driver i965_SyncSurface.
This looks good to me.
Thanks
Yakui
Signed-off-by: U. Artie Eoff
---
test/i965_internal_decl.h | 3 +++
test/i965_test_fixture.cpp | 6 ++
On 09/27/2016 04:11 AM, U. Artie Eoff wrote:
Add convenience streamable operators for VA and other common
data structures so that tests can log them as needed.
v2: put std::array stream operators into the std namespace
otherwise gcc 5.x complains.
This looks good to me.
Add: Reviewed-by:
On 09/27/2016 04:11 AM, U. Artie Eoff wrote:
Put the JPEG decode tests and test data into its own
namespace so that it can be distinguished from encode.
This looks good to me.
Add: Reviewed-by: Zhao Yakui
Signed-off-by: U. Artie Eoff
---
On 09/27/2016 04:11 AM, U. Artie Eoff wrote:
Move static definitions of JPEG TestPatternData into the .cpp
so that multiple files can include the i965_jpeg_test_data.h
header file. Otherwise, there will be "multiple definition"
compiler errors.
Also, change generateSolid to be inline for the
Common utilities and functions that may be useful for multiple
tests.
Signed-off-by: U. Artie Eoff
---
test/Makefile.am | 1 +
test/test_utils.h | 49 +
2 files changed, 50 insertions(+)
create mode 100644
Add convenience streamable operators for VA and other common
data structures so that tests can log them as needed.
v2: put std::array stream operators into the std namespace
otherwise gcc 5.x complains.
Signed-off-by: U. Artie Eoff
---
test/i965_streamable.h | 361
Add JPEG encode tests that encode raw I420 and NV12 data
at quality 100 and then decodes them to verify proper
encoding.
Currently, the 7680x4320 I420 test fails because ~40-60
Y-values (i.e. plane 0) in each line from the decoded
bitstream are off by more than 2 of the original raw
I420 values.
Put the JPEG decode tests and test data into its own
namespace so that it can be distinguished from encode.
Signed-off-by: U. Artie Eoff
---
test/i965_jpeg_decode_test.cpp | 8 ++---
test/i965_jpeg_test_data.cpp | 4 +++
test/i965_jpeg_test_data.h | 81
Move static definitions of JPEG TestPatternData into the .cpp
so that multiple files can include the i965_jpeg_test_data.h
header file. Otherwise, there will be "multiple definition"
compiler errors.
Also, change generateSolid to be inline for the same reason.
Signed-off-by: U. Artie Eoff
Add convenience streamable operators for VA and other common
data structures so that tests can log them as needed.
Signed-off-by: U. Artie Eoff
---
test/i965_streamable.h | 359 +++
test/i965_test_fixture.h | 1 +
2
Add a wrapper that calls the driver i965_SyncSurface.
Signed-off-by: U. Artie Eoff
---
test/i965_internal_decl.h | 3 +++
test/i965_test_fixture.cpp | 6 ++
test/i965_test_fixture.h | 6 ++
3 files changed, 15 insertions(+)
diff --git
Add JPEG encode tests that encode raw I420 and NV12 data
at quality 100 and then decodes them to verify proper
encoding.
Currently, the 7680x4320 I420 test fails because ~40-60
Y-values (i.e. plane 0) in each line from the decoded
bitstream are off by more than 2 of the original raw
I420 values.
Put the JPEG decode tests and test data into its own
namespace so that it can be distinguished from encode.
Signed-off-by: U. Artie Eoff
---
test/i965_jpeg_decode_test.cpp | 8 ++---
test/i965_jpeg_test_data.cpp | 4 +++
test/i965_jpeg_test_data.h | 81
Add support for calling i965_CreateSurfaces2 so that we
can pass VASurfaceAttributes. This is needed to set a
particular surface pixel format in some tests.
We must call i965_CreateSurfaces2 via the vtable since
it is a static function within the i965_drv_video.c
file... thus hidden.
16 matches
Mail list logo