summaryrefslogtreecommitdiff
path: root/src/lib/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/image.h')
-rw-r--r--src/lib/image.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/image.h b/src/lib/image.h
index 416ee3a8d..b8d48275a 100644
--- a/src/lib/image.h
+++ b/src/lib/image.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -57,8 +57,10 @@ public:
int line_factor (int) const;
dcp::Size sample_size (int) const;
- boost::shared_ptr<Image> scale (dcp::Size, dcp::YUVToRGB yuv_to_rgb, AVPixelFormat, bool aligned) const;
- boost::shared_ptr<Image> crop_scale_window (Crop c, dcp::Size, dcp::Size, dcp::YUVToRGB yuv_to_rgb, AVPixelFormat, bool aligned) const;
+ boost::shared_ptr<Image> scale (dcp::Size, dcp::YUVToRGB yuv_to_rgb, AVPixelFormat, bool aligned, bool fast) const;
+ boost::shared_ptr<Image> crop_scale_window (
+ Crop c, dcp::Size, dcp::Size, dcp::YUVToRGB yuv_to_rgb, AVPixelFormat, bool aligned, bool fast)
+ const;
void make_black ();
void make_transparent ();