diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-02-02 22:33:27 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-02-02 22:33:27 +0000 |
| commit | 989f182558193a51e0a26603fb2ca59f827216a0 (patch) | |
| tree | 7d2b2511967e5417838a4343341e5aa9d26cf2b8 /src/image.cc | |
| parent | 0d7fe66361a40702cb97357955cf35256f1d2c26 (diff) | |
Remove Image and ARGBImage and just dump RGB data into
uint8_t* buffers. This is hopefully simpler than trying
to come up with some Image hierarchy that suits everything.
Diffstat (limited to 'src/image.cc')
| -rw-r--r-- | src/image.cc | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/src/image.cc b/src/image.cc deleted file mode 100644 index 15ff24dc..00000000 --- a/src/image.cc +++ /dev/null @@ -1,47 +0,0 @@ -/* - Copyright (C) 2012-2014 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 - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -*/ - -#include "image.h" - -using boost::shared_ptr; -using namespace dcp; - -Image::Image (Size s) - : _size (s) -{ - -} - -Image::Image (Image const & other) - : _size (other._size) -{ - -} - -Image::Image (boost::shared_ptr<const Image> other) - : _size (other->_size) -{ - -} - -void -Image::swap (Image& other) -{ - std::swap (_size, other._size); -} |
