OSDN Git Service

test: add some jpeg encode tests
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Mon, 26 Sep 2016 20:11:48 +0000 (13:11 -0700)
committerSean V Kelley <seanvk@posteo.de>
Wed, 28 Sep 2016 19:55:39 +0000 (12:55 -0700)
commit6ee403d2576d85c62a51ce291a1e37ef14858d1a
treecc7708f45c391851b3fd484258a0c0498cded0d8
parent1c1e91cb597910111c5acea238d68d666c515655
test: add some jpeg encode tests

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.  It is not clear why only this resolution
exhibits this problem.

v2: don't create any input data in test fixture if
jpeg encoding is not supported.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
test/Makefile.am
test/i965_jpeg_encode_test.cpp [new file with mode: 0644]
test/i965_jpeg_test_data.h
test/i965_test_fixture.h