diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-06 08:28:18 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-10 13:09:45 +0000 |
| commit | 93f29880839dc5589bb35f63260a7152ead7655f (patch) | |
| tree | 865dd65298dd11d949efed2ac3f58f3564c7cc8f /test/bench.cc | |
| parent | d7965cce4c5f95da7971bce6f800739a4cd2f17d (diff) | |
Introduce dc::Package, changing lots of namespaces in the process.
Diffstat (limited to 'test/bench.cc')
| -rw-r--r-- | test/bench.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/bench.cc b/test/bench.cc index 863fb7b6..de8c4369 100644 --- a/test/bench.cc +++ b/test/bench.cc @@ -74,18 +74,18 @@ main (int argc, char* argv[]) int const count = 100; int const j2k_bandwidth = 100000000; - dcp::dc::Data j2k (boost::filesystem::path (argv[1]) / "thx.j2c"); + dcp::Data j2k (boost::filesystem::path (argv[1]) / "thx.j2c"); Timer decompress; Timer compress; - dcp::dc::Data recomp; + dcp::Data recomp; for (int i = 0; i < count; ++i) { decompress.start (); - shared_ptr<dcp::dc::OpenJPEGImage> xyz = dcp::dc::decompress_j2k (j2k, 0); + shared_ptr<dcp::OpenJPEGImage> xyz = dcp::decompress_j2k (j2k, 0); decompress.stop (); compress.start (); - recomp = dcp::dc::compress_j2k (xyz, j2k_bandwidth, 24, false, false); + recomp = dcp::compress_j2k (xyz, j2k_bandwidth, 24, false, false); compress.stop (); cout << (i + 1) << " "; cout.flush (); |
