X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fpluginclient.h;h=9ad0586ddff1a58111041894c7f48571a819fc0b;hp=b59d71fd40376a48b9c4852f41a904ae83d32ca8;hb=9fed7535470aa37781733db836068da3b4c17a0d;hpb=47bf02b68d1ab0f1ca8a240750b451802ce12d31 diff --git a/cinelerra-5.1/cinelerra/pluginclient.h b/cinelerra-5.1/cinelerra/pluginclient.h index b59d71fd..9ad0586d 100644 --- a/cinelerra-5.1/cinelerra/pluginclient.h +++ b/cinelerra-5.1/cinelerra/pluginclient.h @@ -321,6 +321,9 @@ public: // get current camera and projector position void get_camera(float *x, float *y, float *z, int64_t position); void get_projector(float *x, float *y, float *z, int64_t position); + + void output_to_track(float ox, float oy, float &tx, float &ty); + void track_to_output(float tx, float ty, float &ox, float &oy); // When this plugin is adjusted, propogate parameters back to EDL and virtual // console. This gets a keyframe from the EDL, with the position set to the // EDL tracking position. @@ -333,7 +336,6 @@ public: int gui_open(); - // Length of source. For effects it's the plugin length. For transitions // it's the transition length. Relative to the requested rate. // The only way to get smooth interpolation is to make all position queries @@ -359,10 +361,8 @@ public: // the requested rate. int64_t get_source_position(); -// Get the EDL Session. May return 0 if the server has no edl. - EDLSession* get_edlsession(); - - +// Get server edl + EDL *get_edl(); // Get the direction of the most recent process_buffer int get_direction();