X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fyuv411%2Fyuv411.h;fp=cinelerra-5.1%2Fplugins%2Fyuv411%2Fyuv411.h;h=8a4bb9875637839f1b8c197ee28017cc30f748b4;hb=f0dd2b62161b860c0847bb7fe16eb116e247a7e4;hp=0000000000000000000000000000000000000000;hpb=394f84fcbfbb6fc97758f09cfcf5319da036b8cd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/yuv411/yuv411.h b/cinelerra-5.1/plugins/yuv411/yuv411.h new file mode 100644 index 00000000..8a4bb987 --- /dev/null +++ b/cinelerra-5.1/plugins/yuv411/yuv411.h @@ -0,0 +1,50 @@ +#ifndef YUV411_H +#define YUV411_H + + +class yuv411Main; +class yuv411Window; + +#include "filexml.h" +#include "yuv411win.h" +#include "guicast.h" +#include "pluginvclient.h" + +class yuv411Config +{ +public: + yuv411Config(); + void copy_from(yuv411Config &that); + int equivalent(yuv411Config &that); + void interpolate(yuv411Config &prev, yuv411Config &next, + long prev_frame, long next_frame, long current_frame); + int int_horizontal; + int avg_vertical; + int inpainting; + int offset; + int thresh; + int bias; +}; + +class yuv411Main : public PluginVClient +{ + VFrame *temp_frame; + int colormodel; + friend class yuv411Window; +public: + yuv411Main(PluginServer *server); + ~yuv411Main(); + +// required for all realtime plugins + PLUGIN_CLASS_MEMBERS(yuv411Config) + + int process_realtime(VFrame *input_ptr, VFrame *output_ptr); + int is_realtime(); + void update_gui(); + void render_gui(void *data); + void save_data(KeyFrame *keyframe); + void read_data(KeyFrame *keyframe); +}; + + +#endif