diff options
Diffstat (limited to 'src/lib/imagemagick_encoder.h')
| -rw-r--r-- | src/lib/imagemagick_encoder.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/lib/imagemagick_encoder.h b/src/lib/imagemagick_encoder.h new file mode 100644 index 000000000..ce6ca3e8f --- /dev/null +++ b/src/lib/imagemagick_encoder.h @@ -0,0 +1,43 @@ +/* + Copyright (C) 2012 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. + +*/ + +/** @file src/imagemagick_encoder.h + * @brief An encoder that writes image files using ImageMagick (and does nothing with audio). + */ + +#include <string> +#include <sndfile.h> +#include "encoder.h" + +class FilmState; +class Log; + +/** @class ImageMagickEncoder + * @brief An encoder that writes image files using ImageMagick files (and does nothing with audio). + */ +class ImageMagickEncoder : public Encoder +{ +public: + ImageMagickEncoder (boost::shared_ptr<const FilmState> s, boost::shared_ptr<const Options> o, Log* l); + + void process_begin (int64_t audio_channel_layout, AVSampleFormat audio_sample_format) {} + void process_video (boost::shared_ptr<Image>, int, boost::shared_ptr<Subtitle>); + void process_audio (uint8_t *, int) {} + void process_end () {} +}; |
