summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-10-30 00:50:57 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-02 00:12:56 +0100
commitda15bff6e278d351301c9c50a4c96737ae4b5545 (patch)
tree86057f3d8cbca41130fe170791ef341e18bc6283 /benchmark
parentec82ce2d44d5ba492a3dfa6e740ff21549d438e1 (diff)
Rename Data -> ArrayData.
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/j2k_transcode.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/benchmark/j2k_transcode.cc b/benchmark/j2k_transcode.cc
index 1a814b69..7bdf357d 100644
--- a/benchmark/j2k_transcode.cc
+++ b/benchmark/j2k_transcode.cc
@@ -31,7 +31,8 @@
files in the program, then also delete it here.
*/
-#include "data.h"
+
+#include "array_data.h"
#include "util.h"
#include "version.h"
#include "j2k.h"
@@ -87,12 +88,12 @@ main (int argc, char* argv[])
int const count = 100;
int const j2k_bandwidth = 100000000;
- dcp::Data j2k (boost::filesystem::path (argv[1]) / "thx.j2c");
+ dcp::ArrayData j2k (boost::filesystem::path (argv[1]) / "thx.j2c");
Timer decompress;
Timer compress;
- dcp::Data recomp;
+ dcp::ArrayData recomp;
for (int i = 0; i < count; ++i) {
decompress.start ();
shared_ptr<dcp::OpenJPEGImage> xyz = dcp::decompress_j2k (j2k, 0);