projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into fix-early-audio-take2
[dcpomatic.git]
/
src
/
lib
/
format.h
diff --git
a/src/lib/format.h
b/src/lib/format.h
index b4c691e56fea19e45b023782d4b255feb77b53dd..783ff25ce455b31dd207fa4f37026d8fee132a1d 100644
(file)
--- a/
src/lib/format.h
+++ b/
src/lib/format.h
@@
-46,6
+46,9
@@
public:
/** @return the ratio as a floating point number */
virtual float ratio_as_float (boost::shared_ptr<const Film> f) const = 0;
/** @return the ratio as a floating point number */
virtual float ratio_as_float (boost::shared_ptr<const Film> f) const = 0;
+ /** @return the ratio of the container (including any padding) as a floating point number */
+ float container_ratio_as_float () const;
+
int dcp_padding (boost::shared_ptr<const Film> f) const;
/** @return size in pixels of the images that we should
int dcp_padding (boost::shared_ptr<const Film> f) const;
/** @return size in pixels of the images that we should