]> git.sesse.net Git - movit/blobdiff - test_util.h
Add a unit test for GammaCompressionEffect.
[movit] / test_util.h
index ed0275e15942b23209736be54c113d3afa04c0bd..ab52c63a5e7084797e1858a3283cae1553a884cc 100644 (file)
@@ -7,10 +7,12 @@ class EffectChainTester {
 public:
        EffectChainTester(const float *data, unsigned width, unsigned height, ColorSpace color_space, GammaCurve gamma_curve);
        EffectChain *get_chain() { return &chain; }
+       Input *add_input(const float *data, ColorSpace color_space, GammaCurve gamma_curve);
        void run(float *out_data, ColorSpace color_space, GammaCurve gamma_curve);
 
 private:
        EffectChain chain;
+       GLuint fbo, texnum;
        unsigned width, height;
 };