summaryrefslogtreecommitdiff
path: root/lib/jxl/testdata.h
diff options
context:
space:
mode:
authorJiyong <jiyong.min@samsung.com>2023-12-26 17:33:03 +0900
committerJiyong <jiyong.min@samsung.com>2023-12-27 08:25:11 +0900
commita6d06c38e46e552195648836052eb909925fe5ff (patch)
tree5b34f3947c8331dc618a5166974e4d9757f8e782 /lib/jxl/testdata.h
parentf3e519be675ef7922a6c1c3a682232302b55496d (diff)
parent3b773d382e34fcfc7c8995d8bd681a6ef0529b02 (diff)
downloadlibjxl-accepted/tizen_unified_riscv.tar.gz
libjxl-accepted/tizen_unified_riscv.tar.bz2
libjxl-accepted/tizen_unified_riscv.zip
Change-Id: I13b4d2c94ada4853484630800e2a8a5ae90d34c1
Diffstat (limited to 'lib/jxl/testdata.h')
-rw-r--r--lib/jxl/testdata.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/lib/jxl/testdata.h b/lib/jxl/testdata.h
deleted file mode 100644
index d387219..0000000
--- a/lib/jxl/testdata.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) the JPEG XL Project Authors. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-#ifndef LIB_JXL_TESTDATA_H_
-#define LIB_JXL_TESTDATA_H_
-
-#ifdef __EMSCRIPTEN__
-#include <emscripten.h>
-#endif
-
-#include <string>
-
-#include "lib/jxl/base/file_io.h"
-
-namespace jxl {
-
-static inline PaddedBytes ReadTestData(const std::string& filename) {
- std::string full_path = std::string(TEST_DATA_PATH "/") + filename;
- PaddedBytes data;
- JXL_CHECK(ReadFile(full_path, &data));
- return data;
-}
-
-} // namespace jxl
-
-#endif // LIB_JXL_TESTDATA_H_