Don't scale chroma subsampled images to sizes that don't align with the subsampling...
[dcpomatic.git] / src / lib / pixel_quanta.h
index c37ba189bb34895696d5a3a8b8656619f363678b..018ce334638f1819ac56eddb541283303049144d 100644 (file)
@@ -26,6 +26,7 @@
 #include "warnings.h"
 
 #include <libcxml/cxml.h>
+#include <dcp/types.h>
 DCPOMATIC_DISABLE_WARNINGS
 #include <libxml++/libxml++.h>
 DCPOMATIC_ENABLE_WARNINGS
@@ -54,6 +55,7 @@ public:
 
        int round_x (int x_) const;
        int round_y (int y_) const;
+       dcp::Size round (dcp::Size size) const;
 
        int x;
        int y;