diff options
author | U. Artie Eoff <ullysses.a.eoff@intel.com> | 2017-04-27 19:08:00 -0700 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2017-05-03 13:39:47 +0800 |
commit | c4f333bd658b5752bb6afc7935dc65644201dfd8 (patch) | |
tree | 0b1c83eaedd0ef0c28f07ae5e915b4e84fa05ba5 /test/i965_jpeg_test_data.h | |
parent | 996ecede88c69c60e0a8974ba75400e1b676a1d6 (diff) | |
download | libva-intel-driver-c4f333bd658b5752bb6afc7935dc65644201dfd8.tar.gz |
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 <ullysses.a.eoff@intel.com>
Diffstat (limited to 'test/i965_jpeg_test_data.h')
-rw-r--r-- | test/i965_jpeg_test_data.h | 8 |
1 files changed, 5 insertions, 3 deletions
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<unsigned, 2> getResolution() const = 0; protected: - virtual std::array<unsigned, 2> getResolution() const = 0; virtual void repr(::std::ostream& os) const = 0; }; class RandomSizeCreator : public TestInputCreator { - protected: + public: std::array<unsigned, 2> getResolution() const; + + protected: void repr(::std::ostream&) const; }; @@ -458,9 +460,9 @@ namespace Encode { { public: FixedSizeCreator(const std::array<unsigned, 2>&); + std::array<unsigned, 2> getResolution() const; protected: - std::array<unsigned, 2> getResolution() const; void repr(::std::ostream& os) const; private: |