diff options
Diffstat (limited to 'src/lib/film.cc')
| -rw-r--r-- | src/lib/film.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc index da48bc9b2..8aa0deed0 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -939,6 +939,7 @@ Film::set_sequence_video (bool s) signal_changed (SEQUENCE_VIDEO); } +/** @return Size of the largest possible image in whatever resolution we are using */ libdcp::Size Film::full_frame () const { @@ -953,6 +954,13 @@ Film::full_frame () const return libdcp::Size (); } +/** @return Size of the frame */ +libdcp::Size +Film::frame_size () const +{ + return fit_ratio_within (container()->ratio(), full_frame ()); +} + libdcp::KDM Film::make_kdm ( shared_ptr<libdcp::Certificate> target, |
