X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=test_util.h;h=6a3e16b49836f483448e453769c1ac440fc8d344;hp=ab52c63a5e7084797e1858a3283cae1553a884cc;hb=2fdbe6e32ef5de09db9c890b6cd4355bf65dd1e5;hpb=2c8eabbbad9eb99409ef03970cbb0b5b46dda025 diff --git a/test_util.h b/test_util.h index ab52c63..6a3e16b 100644 --- a/test_util.h +++ b/test_util.h @@ -5,10 +5,10 @@ class EffectChainTester { public: - EffectChainTester(const float *data, unsigned width, unsigned height, ColorSpace color_space, GammaCurve gamma_curve); + EffectChainTester(const float *data, unsigned width, unsigned height, MovitPixelFormat pixel_format, 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); + Input *add_input(const float *data, MovitPixelFormat pixel_format, ColorSpace color_space, GammaCurve gamma_curve); + void run(float *out_data, GLenum format, ColorSpace color_space, GammaCurve gamma_curve); private: EffectChain chain;