OSDN Git Service

test: split jpeg test data into header and cpp
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Mon, 26 Sep 2016 20:11:42 +0000 (13:11 -0700)
committerSean V Kelley <seanvk@posteo.de>
Wed, 28 Sep 2016 19:55:08 +0000 (12:55 -0700)
commite9a32664f9086146d6dab15e72f6ed980add5f8a
treee3b7492394bd9cf8f8070e782e5ee4212547fce8
parent97816791606d1a2b1a10b6e37768f5ebef1d8f36
test: split jpeg test data into header and cpp

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 <ullysses.a.eoff@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
test/Makefile.am
test/i965_jpeg_test_data.cpp [new file with mode: 0644]
test/i965_jpeg_test_data.h