2 #define _IMAGE_INPUT_H 1
7 #include <movit/flat_input.h>
10 // An output that takes its input from a static image, loaded with ffmpeg.
11 // comes from a single 2D array with chunky pixels.
12 class ImageInput : public movit::FlatInput {
14 ImageInput(const std::string &filename);
16 std::string effect_type_id() const override { return "ImageInput"; }
19 std::unique_ptr<uint8_t[]> image_data;
22 #endif // !defined(_IMAGE_INPUT_H)