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/cpu_player_video_preparer.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/cpu_player_video_preparer.cc')
| -rw-r--r-- | src/lib/cpu_player_video_preparer.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/cpu_player_video_preparer.cc b/src/lib/cpu_player_video_preparer.cc index 80cb5bc91..0891189b3 100644 --- a/src/lib/cpu_player_video_preparer.cc +++ b/src/lib/cpu_player_video_preparer.cc @@ -2,6 +2,7 @@ #include "cross.h" #include "dcpomatic_log.h" #include "player_video.h" +#include "timer.h" #include <boost/thread.hpp> @@ -42,6 +43,7 @@ try LOG_TIMING("start-prepare in %1", thread_id()); video->prepare (_pixel_format, _aligned, _fast); LOG_TIMING("finish-prepare in %1", thread_id()); + timestamped_printf("cpu finishes %d\n", video->time.frames_round(24)); } } catch (...) |
