@@ -5,6 +5,7 @@
#include "VideoStream.h"
#include "Gradient.h"
#include "Bitmap.h"
+#include "VideoRecipe.h"
#include <functional>
struct ExportVideoInfo
@@ -61,4 +62,11 @@ private:
double scale, double oversizeFactor);
};
+
+namespace alm
+{
+ void exportVideo(const VideoRecipe& vr, const std::string& path);
+}
#endif // MANDELVIDEOGENERATOR_H
@@ -38,10 +38,14 @@ struct alm::VideoPoint
-class alm::VideoRecipe
+struct alm::VideoRecipe
{
int width;
int height;
+ float fps;
+ std::vector<VideoPoint> nodes;
#endif // ALMOND_VIDEORECIPE_H
@@ -211,3 +211,13 @@ Bitmap<RGBColor> MandelVideoGenerator::overlay(const Bitmap<RGBColor>& outer,
return ret;
}
+void exportVideo(const alm::VideoRecipe& vr, const std::string& path)