mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
avfilter/vf_bilateral: remove unused arguments
This commit is contained in:
parent
f0ad40b525
commit
4e4057e437
@ -143,7 +143,6 @@ static int config_input(AVFilterLink *inlink)
|
||||
|
||||
#define BILATERAL(type, name) \
|
||||
static void bilateral_##name(BilateralContext *s, const uint8_t *ssrc, uint8_t *ddst, \
|
||||
float sigma_spatial, float sigma_range, \
|
||||
int width, int height, int src_linesize, int dst_linesize) \
|
||||
{ \
|
||||
type *dst = (type *)ddst; \
|
||||
@ -314,11 +313,11 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
||||
}
|
||||
|
||||
if (s->depth <= 8)
|
||||
bilateral_byte(s, in->data[plane], out->data[plane], s->sigmaS, s->sigmaR,
|
||||
bilateral_byte(s, in->data[plane], out->data[plane],
|
||||
s->planewidth[plane], s->planeheight[plane],
|
||||
in->linesize[plane], out->linesize[plane]);
|
||||
else
|
||||
bilateral_word(s, in->data[plane], out->data[plane], s->sigmaS, s->sigmaR,
|
||||
bilateral_word(s, in->data[plane], out->data[plane],
|
||||
s->planewidth[plane], s->planeheight[plane],
|
||||
in->linesize[plane] / 2, out->linesize[plane] / 2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user