summaryrefslogtreecommitdiff
path: root/test/i965_jpeg_test_data.h
diff options
context:
space:
mode:
authorU. Artie Eoff <ullysses.a.eoff@intel.com>2016-09-28 13:36:10 -0700
committerSean V Kelley <seanvk@posteo.de>2016-10-03 11:31:18 -0700
commit2d0bb8fbdc15c0323fdbee2dfb5f10e7226fcb1b (patch)
treeedbc33a2f193679ec64fcd2bb1b6dab5642ec33b /test/i965_jpeg_test_data.h
parent9dd60d7fc73e35207d629519102afdc4f6ff668d (diff)
downloadlibva-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.h8
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