- Properties effect_list( Mlt::Service &service );
- static bool init_chain(mlt_service);
- static EffectChain* get_chain(mlt_service);
- static MltInput* get_input(mlt_service);
- static void reset_finalized(mlt_service);
- static Effect* get_effect(mlt_service, mlt_frame);
- static Effect* add_effect(mlt_service, mlt_frame, Effect*);
- static Effect* add_effect(mlt_service, mlt_frame, Effect*, Effect* input_b);
- static void render_fbo(mlt_service, void *chain, GLuint fbo, int width, int height);
- int render_frame_texture(mlt_service, mlt_frame, int width, int height, uint8_t **image);
- int render_frame_rgba(mlt_service, mlt_frame, int width, int height, uint8_t **image);
+ movit::ResourcePool* get_resource_pool() { return resource_pool; }
+
+ static void set_chain(mlt_service, GlslChain*);
+ static GlslChain* get_chain(mlt_service);
+
+ static movit::Effect* get_effect(mlt_service, mlt_frame);
+ static movit::Effect* set_effect(mlt_service, mlt_frame, movit::Effect*);
+ static MltInput* get_input(mlt_producer, mlt_frame);
+ static MltInput* set_input(mlt_producer, mlt_frame, MltInput*);
+ static uint8_t* get_input_pixel_pointer(mlt_producer, mlt_frame);
+ static uint8_t* set_input_pixel_pointer(mlt_producer, mlt_frame, uint8_t*);
+
+ static mlt_service get_effect_input(mlt_service, mlt_frame);
+ static void set_effect_input(mlt_service, mlt_frame, mlt_service);
+ static void get_effect_secondary_input(mlt_service, mlt_frame, mlt_service*, mlt_frame*);
+ static void set_effect_secondary_input(mlt_service, mlt_frame, mlt_service, mlt_frame);
+
+ int render_frame_texture(movit::EffectChain*, mlt_frame, int width, int height, uint8_t **image);
+ int render_frame_rgba(movit::EffectChain*, mlt_frame, int width, int height, uint8_t **image);