X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fboxblur.h;fp=cinelerra-5.1%2Fcinelerra%2Fboxblur.h;h=9213c852ff113b52966ab834c469a8a2e49b6966;hb=bddf34d0b865e2a0df03926eae45caa038d4f787;hp=32ef17122ff572503d46b5a8cd9c45e3fcddf0eb;hpb=6e880be00673eac08e9463e3ce752aaf4c18085b;p=goodguy%2Fcinelerra.git 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; };