1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00

avfilter/vf_bilateral: remove unused arguments

This commit is contained in:
Paul B Mahol 2021-10-21 21:15:48 +02:00
parent f0ad40b525
commit 4e4057e437

View File

@ -143,7 +143,6 @@ static int config_input(AVFilterLink *inlink)
#define BILATERAL(type, name) \ #define BILATERAL(type, name) \
static void bilateral_##name(BilateralContext *s, const uint8_t *ssrc, uint8_t *ddst, \ 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) \ int width, int height, int src_linesize, int dst_linesize) \
{ \ { \
type *dst = (type *)ddst; \ type *dst = (type *)ddst; \
@ -314,11 +313,11 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
} }
if (s->depth <= 8) 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], s->planewidth[plane], s->planeheight[plane],
in->linesize[plane], out->linesize[plane]); in->linesize[plane], out->linesize[plane]);
else 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], s->planewidth[plane], s->planeheight[plane],
in->linesize[plane] / 2, out->linesize[plane] / 2); in->linesize[plane] / 2, out->linesize[plane] / 2);
} }