From b96ad1327c25d5de8d61ed73a1c0e207e67f1226 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 11 Oct 2012 01:18:24 +0100 Subject: Use PNG for thumbs so that we get alpha blending in wxwidgets. --- src/lib/imagemagick_encoder.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/lib/imagemagick_encoder.h (limited to 'src/lib/imagemagick_encoder.h') 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 + + 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 +#include +#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 s, boost::shared_ptr o, Log* l); + + void process_begin (int64_t audio_channel_layout, AVSampleFormat audio_sample_format) {} + void process_video (boost::shared_ptr, int, boost::shared_ptr); + void process_audio (uint8_t *, int) {} + void process_end () {} +}; -- cgit v1.2.3