Mercurial > hg > aimc
view src/Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.h @ 119:9d880fb93c39
- Well, most of the graphics stuff at least compiles now. Next step is getting it running.
M Modules/Output/Graphics/GraphicsView.h
M Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovieDirect.cc
M Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovieDirect.h
M Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.cc
M Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.h
M Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.cc
M Modules/Output/Graphics/Devices/GraphicsOutputDeviceMovie.h
M Modules/Output/Graphics/Scale/ScaleLog.h
M Modules/Output/Graphics/Scale/ScaleERB.h
M Modules/Output/Graphics/Scale/ScaleLinear.h
M Modules/Output/Graphics/Scale/ScaleLogScaled.h
M Modules/Output/Graphics/Scale/Scale.cc
M Modules/Output/Graphics/Scale/Scale.h
M Support/Common.h
author | tom@acousticscale.org |
---|---|
date | Sat, 16 Oct 2010 23:05:26 +0000 |
parents | c5ac2f0c7fc5 |
children | a9cb396529c2 |
line wrap: on
line source
// Copyright 2006-2010, Willem van Engen, Thomas Walters // // AIM-C: A C++ implementation of the Auditory Image Model // http://www.acousticscale.org/AIMC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. /*! * \file * \brief Output device for output to a movie * * \author Willem van Engen <cnbh@willem.engen.nl> * \date created 2006/10/16 * \version \$Id: $ */ #ifndef __GRAPHICS_OUTPUT_DEVICE_MOVIE_H__ #define __GRAPHICS_OUTPUT_DEVICE_MOVIE_H__ //#include "Modules/Output/Graphics/Devices/GraphicsOutputDevicePlotutils.h" #include "Modules/Output/Graphics/Devices/GraphicsOutputDeviceCairo.h" namespace aimc { /*! * \class GraphicsOutputDeviceMovie "Output/GraphicsOutputDeviceMovie.h" * \brief Output class for output to a movie */ // GraphicsOutputDevicePlotutils is also possible here class GraphicsOutputDeviceMovie : public GraphicsOutputDeviceCairo { public: GraphicsOutputDeviceMovie(Parameters *pParam); virtual ~GraphicsOutputDeviceMovie() { }; /*! \brief Initializes this output device, prepares plotting tools. * \param sSoundFile Sound file for the movie * \param sMovieFile Movie filename to produce * \return true on success, false on failure. * * As usual, make sure to call this function before any other. If this * Initialize() failed, you shouldn't try the other functions either. */ bool Initialize(const char *sSoundFile, const char *sMovieFile); void Start(); //! \brief This function now also generates the output movie. void Stop(); protected: /*! \brief Plots a summary of relevant parameters on the output * * This is intended for use in a movie as the first frame, which has no * interesting data anyway, since at least one buffer of data is needed * to be able to show someting. * * The caller must do the gGrab() and gRelease(). */ void PlotParameterScreen(); //! \brief Name of the sound file to be merged with the video char m_sSoundFile[PATH_MAX]; //! \brief Name of the movie file to produce char m_sMovieFile[PATH_MAX]; }; } // namespace aimc #endif /* __GRAPHICS_OUTPUT_DEVICE_MOVIE_H__ */