diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-12-04 20:52:18 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-12-04 20:52:18 +0000 |
| commit | 98060a4e6f02b418f30b4b736e5880a357454c40 (patch) | |
| tree | 612a017ac6ab695a7dc5dffe49779a5a74fd1906 /src/lib/image.h | |
| parent | 70ee6cc5cef66a4aed252dbfa2390cc9f0c8c286 (diff) | |
Do lots of the player processing with less copying.
Diffstat (limited to 'src/lib/image.h')
| -rw-r--r-- | src/lib/image.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/image.h b/src/lib/image.h index e455f22c6..b12db3a14 100644 --- a/src/lib/image.h +++ b/src/lib/image.h @@ -59,11 +59,13 @@ public: boost::shared_ptr<Image> scale (libdcp::Size, Scaler const *, AVPixelFormat, bool aligned) const; boost::shared_ptr<Image> post_process (std::string, bool aligned) const; - void alpha_blend (boost::shared_ptr<const Image> image, Position<int> pos); - void copy (boost::shared_ptr<const Image> image, Position<int> pos); boost::shared_ptr<Image> crop (Crop c, bool aligned) const; + + boost::shared_ptr<Image> crop_scale_window (Crop c, libdcp::Size, libdcp::Size, Scaler const *, AVPixelFormat, bool aligned) const; void make_black (); + void alpha_blend (boost::shared_ptr<const Image> image, Position<int> pos); + void copy (boost::shared_ptr<const Image> image, Position<int> pos); void read_from_socket (boost::shared_ptr<Socket>); void write_to_socket (boost::shared_ptr<Socket>) const; |
