diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-01-26 22:51:54 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-01-26 22:51:54 +0000 |
| commit | b1873c51b2e8265a01a8f0eced7fc3465f1677dc (patch) | |
| tree | d0eb1d779f6f9e145e57693162af06a2390e84fb /src/lib/format.h | |
| parent | 494b6ee180e531358bab39e72f6123e90f9314e5 (diff) | |
| parent | d641aee73077e93ca17b30acd5b9ed82f1e14cb9 (diff) | |
Merge master into direct-mxf.
Diffstat (limited to 'src/lib/format.h')
| -rw-r--r-- | src/lib/format.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/format.h b/src/lib/format.h index b4c691e56..783ff25ce 100644 --- 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 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 |
