X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Foverlayframe.h;h=13c2e4bd0b26b0b5994eea343e02bdd8a4c074be;hp=620f8e18e8f1ff18cb2160c07db42d4119b82893;hb=15411d7912d8aa1b9bea6ba8862517b058861771;hpb=cb1a1530246ad67fb9be9aa2dbba5b88eb63e933 diff --git a/cinelerra-5.1/cinelerra/overlayframe.h b/cinelerra-5.1/cinelerra/overlayframe.h index 620f8e18..13c2e4bd 100644 --- a/cinelerra-5.1/cinelerra/overlayframe.h +++ b/cinelerra-5.1/cinelerra/overlayframe.h @@ -334,7 +334,6 @@ ZTYP(float); ZTYP(double); ALPHA_STORE(out, ofs, mx); \ out[3] = aclip(a, mx) - #define BLEND_SWITCH(FN) \ switch( mode ) { \ case TRANSFER_NORMAL: FN(NORMAL); \ @@ -420,6 +419,23 @@ public: void process_package(LoadPackage *package); DirectEngine *engine; + + DirectPackage *pkg; + int ix, iy, ox, ow; + VFrame *output, *input; + int mode; + float fade; + + void rgb_float(); + void rgba_float(); + void rgb888(); + void yuv888(); + void rgba8888(); + void yuva8888(); + void rgb161616(); + void yuv161616(); + void rgba16161616(); + void yuva16161616(); }; class NNUnit : public LoadClient @@ -429,8 +445,25 @@ public: ~NNUnit(); void process_package(LoadPackage *package); - NNEngine *engine; + + NNPackage *pkg; + int ix, iy, ox, ow; + VFrame *output, *input; + int mode; + float fade; + int *ly; + + void rgb_float(); + void rgba_float(); + void rgb888(); + void yuv888(); + void rgba8888(); + void yuva8888(); + void rgb161616(); + void yuv161616(); + void rgba16161616(); + void yuva16161616(); }; class SampleUnit : public LoadClient @@ -440,8 +473,28 @@ public: ~SampleUnit(); void process_package(LoadPackage *package); - SampleEngine *engine; + + SamplePackage *pkg; + VFrame *voutput, *vinput; + int mode; + float fade; + + int i1i, i2i, o1i, o2i, oh, kd; + float i1f, i2f, o1f, o2f, *k; + int *lookup_sx0, *lookup_sx1, *lookup_sk; + float *lookup_wacc; + + void rgb_float(); + void rgba_float(); + void rgb888(); + void yuv888(); + void rgba8888(); + void yuva8888(); + void rgb161616(); + void yuv161616(); + void rgba16161616(); + void yuva16161616(); };