X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fboxblur.h;h=9213c852ff113b52966ab834c469a8a2e49b6966;hp=32ef17122ff572503d46b5a8cd9c45e3fcddf0eb;hb=1db0dacec8f9d7f5687e582bd282d9bf83bd58f0;hpb=7ffa6954689f14a41a3bae7a0fdb3f2abeaa9679 diff --git a/cinelerra-5.1/cinelerra/boxblur.h b/cinelerra-5.1/cinelerra/boxblur.h index 32ef1712..9213c852 100644 --- a/cinelerra-5.1/cinelerra/boxblur.h +++ b/cinelerra-5.1/cinelerra/boxblur.h @@ -30,18 +30,24 @@ public: LoadPackage* new_package(); void process(VFrame *dst, VFrame *src, int uv, int radius, int power, int comp); - void hblur(VFrame *dst, VFrame *src, - int radius, int power, int comp=-1); - void vblur(VFrame *dst, VFrame *src, - int radius, int power, int comp=-1); - void blur(VFrame *dst, VFrame *src, - int radius, int power, int comp=-1); + int init_box(VFrame *dst, int x, int y, int w, int h); + void hblur(VFrame *dst, VFrame *src, int radius, int power, int comp=-1); + void hblur(VFrame *dst, VFrame *src, int radius, int power, int comp, + int x, int y, int w, int h); + void vblur(VFrame *dst, VFrame *src, int radius, int power, int comp=-1); + void vblur(VFrame *dst, VFrame *src, int radius, int power, int comp, + int x, int y, int w, int h); + void blur(VFrame *dst, VFrame *src, int radius, int power, int comp=-1); + void blur(VFrame *dst, VFrame *src, int radius, int power, int comp, + int x, int y, int w, int h); + int x1, y1, x2, y2; const uint8_t *src_data; uint8_t *dst_data; int src_ustep, dst_ustep; int src_vstep, dst_vstep; int radius, power, uv; + int u1, u2, v1, v2; int ulen, vlen, c0, c1; - int src_bpp, dst_bpp; + int src_bpc, dst_bpc; };