#ifndef MANDELVIDEOGENERATOR_H #define MANDELVIDEOGENERATOR_H #include "MandelUtil.h" #include "Gradient.h" #include "Bitmap.h" struct ExportVideoInfo { mnd::MandelViewport start; mnd::MandelViewport end; Gradient gradient; int width; int height; int maxIterations; int fps; double zoomSpeed; std::string path; /// bitrate in kbps int bitrate; std::string preset; }; class MandelVideoGenerator { const ExportVideoInfo evi; public: MandelVideoGenerator(const ExportVideoInfo& evi); void generate(void); private: Bitmap overlay(const Bitmap& outer, const Bitmap& inner, double scale); }; #endif // MANDELVIDEOGENERATOR_H