X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fpixel_quanta.h;h=37d2321f45b8474caeb777e2fe3cd4247f838b2a;hb=ff639b3cf30afcc097bfd21d39c8d15f466cadd6;hp=c37ba189bb34895696d5a3a8b8656619f363678b;hpb=70b72b53eab0f247eb4dc605a2d669d4adb4e469;p=dcpomatic.git diff --git a/src/lib/pixel_quanta.h b/src/lib/pixel_quanta.h index c37ba189b..37d2321f4 100644 --- a/src/lib/pixel_quanta.h +++ b/src/lib/pixel_quanta.h @@ -23,12 +23,12 @@ #define DCPOMATIC_PIXEL_QUANTA_H -#include "warnings.h" - #include -DCPOMATIC_DISABLE_WARNINGS +#include +#include +LIBDCP_DISABLE_WARNINGS #include -DCPOMATIC_ENABLE_WARNINGS +LIBDCP_ENABLE_WARNINGS class PixelQuanta @@ -54,6 +54,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;