diff options
author | U. Artie Eoff <ullysses.a.eoff@intel.com> | 2016-09-28 13:36:10 -0700 |
---|---|---|
committer | Sean V Kelley <seanvk@posteo.de> | 2016-10-03 11:31:18 -0700 |
commit | 2d0bb8fbdc15c0323fdbee2dfb5f10e7226fcb1b (patch) | |
tree | edbc33a2f193679ec64fcd2bb1b6dab5642ec33b /test/i965_jpeg_test_data.h | |
parent | 9dd60d7fc73e35207d629519102afdc4f6ff668d (diff) | |
download | libva-intel-driver-2d0bb8fbdc15c0323fdbee2dfb5f10e7226fcb1b.tar.gz |
test: jpeg/enc: add tests for YUY2 and UYVY inputs
...plus optimize TestInput::toOutputFourcc()
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
Diffstat (limited to 'test/i965_jpeg_test_data.h')
-rw-r--r-- | test/i965_jpeg_test_data.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/i965_jpeg_test_data.h b/test/i965_jpeg_test_data.h index f29e579f..f3113f50 100644 --- a/test/i965_jpeg_test_data.h +++ b/test/i965_jpeg_test_data.h @@ -425,6 +425,14 @@ namespace Encode { private: TestInput(); + + /** get pointer to beginning of plane @param i **/ + uint8_t* begin(const size_t i); + const uint8_t* begin(const size_t i) const; + + /** get pointer to end of plane @param i **/ + uint8_t* end(const size_t i); + const uint8_t* end(const size_t i) const; }; class TestInputCreator |