Commit fb35f7d7 authored by Nicolas George's avatar Nicolas George Committed by Michael Niedermayer

vf_boxblur: remove useless code.

This block was probably leftovers from code refactoring.
Signed-off-by: 's avatarNicolas George <nicolas.george@normalesup.org>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6d98e2db
...@@ -309,13 +309,6 @@ static void draw_slice(AVFilterLink *inlink, int y0, int h0, int slice_dir) ...@@ -309,13 +309,6 @@ static void draw_slice(AVFilterLink *inlink, int y0, int h0, int slice_dir)
int cw = inlink->w >> boxblur->hsub, ch = h0 >> boxblur->vsub; int cw = inlink->w >> boxblur->hsub, ch = h0 >> boxblur->vsub;
int w[4] = { inlink->w, cw, cw, inlink->w }; int w[4] = { inlink->w, cw, cw, inlink->w };
int h[4] = { h0, ch, ch, h0 }; int h[4] = { h0, ch, ch, h0 };
uint8_t *dst[4], *src[4];
for (plane = 0; inpicref->data[plane] && plane < 4; plane++) {
int y = plane == 1 || plane == 2 ? y0 >> boxblur->vsub : y0;
src[plane] = inpicref ->data[plane] + inpicref ->linesize[plane] * y;
dst[plane] = outpicref->data[plane] + outpicref->linesize[plane] * y;
}
for (plane = 0; inpicref->data[plane] && plane < 4; plane++) for (plane = 0; inpicref->data[plane] && plane < 4; plane++)
hblur(outpicref->data[plane], outpicref->linesize[plane], hblur(outpicref->data[plane], outpicref->linesize[plane],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment