diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-12 10:52:45 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-13 20:22:44 +0200 |
| commit | f842d02dba8873e66b6f4fe1cd5d96d5c78a62fd (patch) | |
| tree | 95558c1ad57ba5cffeea487e5a65e3b0d405555f /src/lib/j2k_image_proxy.cc | |
| parent | f5f14a6422ddd68a52dd14686c1bd49159dbaa74 (diff) | |
wip: more or less plays BT@ER (Flat) at full resolution with
about 130% CPU on i7-7700 CPU @ 3.60GHz, Quadro K1200.
No XYZ -> RGB colour transform yet.
Diffstat (limited to 'src/lib/j2k_image_proxy.cc')
| -rw-r--r-- | src/lib/j2k_image_proxy.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/lib/j2k_image_proxy.cc b/src/lib/j2k_image_proxy.cc index 18d597e50..b22296b43 100644 --- a/src/lib/j2k_image_proxy.cc +++ b/src/lib/j2k_image_proxy.cc @@ -127,20 +127,7 @@ J2KImageProxy::prepare (optional<dcp::Size> target_size) const { boost::mutex::scoped_lock lm (_mutex); - if (target_size) { - std::cout << "target_size is " << target_size->width << " " << target_size->height << "\n"; - } else { - std::cout << "no target size.\n"; - } - - if (_target_size) { - std::cout << "_target_size is " << _target_size->width << " " << _target_size->height << "\n"; - } else { - std::cout << "no _target size.\n"; - } - if (_image) {// && target_size == _target_size) { - std::cout << "hit.\n"; return 0; //DCPOMATIC_ASSERT (_reduce); //return *_reduce; @@ -160,7 +147,6 @@ J2KImageProxy::prepare (optional<dcp::Size> target_size) const } try { - std::cout << "cpu decompress.\n"; shared_ptr<dcp::OpenJPEGImage> decompressed = dcp::decompress_j2k (_data, reduce); _image.reset (new Image (_pixel_format, decompressed->size(), true)); |
