From c4f333bd658b5752bb6afc7935dc65644201dfd8 Mon Sep 17 00:00:00 2001 From: "U. Artie Eoff" Date: Thu, 27 Apr 2017 19:08:00 -0700 Subject: test/jpege: skip >4k res test cases on CHV/BSW Only Gen9+ supports res > 4K for JPEG encoding. Fixes #149 Signed-off-by: U. Artie Eoff --- test/i965_jpeg_test_data.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'test/i965_jpeg_test_data.h') diff --git a/test/i965_jpeg_test_data.h b/test/i965_jpeg_test_data.h index 0105d476..9128140b 100644 --- a/test/i965_jpeg_test_data.h +++ b/test/i965_jpeg_test_data.h @@ -439,17 +439,19 @@ namespace Encode { ::std::ostream&, const TestInputCreator::Shared&); friend ::std::ostream& operator<<( ::std::ostream&, const TestInputCreator::SharedConst&); + virtual std::array getResolution() const = 0; protected: - virtual std::array getResolution() const = 0; virtual void repr(::std::ostream& os) const = 0; }; class RandomSizeCreator : public TestInputCreator { - protected: + public: std::array getResolution() const; + + protected: void repr(::std::ostream&) const; }; @@ -458,9 +460,9 @@ namespace Encode { { public: FixedSizeCreator(const std::array&); + std::array getResolution() const; protected: - std::array getResolution() const; void repr(::std::ostream& os) const; private: -- cgit v1.2.1