void
Format::setup_formats ()
{
+ _formats.push_back (new Format (119, Size (1285, 1080), "119", "1.19"));
+ _formats.push_back (new Format (133, Size (1436, 1080), "133", "1.33"));
+ _formats.push_back (new Format (138, Size (1485, 1080), "138", "1.375"));
_formats.push_back (new Format (133, Size (1998, 1080), "133-in-flat", "4:3 within Flat"));
_formats.push_back (new Format (137, Size (1480, 1080), "137", "Academy"));
+ _formats.push_back (new Format (166, Size (1793, 1080), "166", "1.66"));
+ _formats.push_back (new Format (166, Size (1998, 1080), "166-in-flat", "1.66 within Flat"));
_formats.push_back (new Format (178, Size (1998, 1080), "178-in-flat", "16:9 within Flat"));
_formats.push_back (new Format (185, Size (1998, 1080), "185", "Flat"));
_formats.push_back (new Format (239, Size (2048, 858), "239", "Scope"));
int
Format::dcp_padding () const
{
- return rint ((_dcp_size.width - (_dcp_size.height * _ratio / 100.0)) / 2.0);
+ int p = rint ((_dcp_size.width - (_dcp_size.height * _ratio / 100.0)) / 2.0);
+
+ /* This comes out -ve for Scope; bodge it */
+ if (p < 0) {
+ p = 0;
+ }
+
+ return p;
}