ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Thu Oct 21 21:15:48 2021 +0200| [4e4057e437972988e23b9d36092f17818871ac93] | committer: Paul B Mahol
avfilter/vf_bilateral: remove unused arguments > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4e4057e437972988e23b9d36092f17818871ac93 --- libavfilter/vf_bilateral.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_bilateral.c b/libavfilter/vf_bilateral.c index 61c9084933..aecde64860 100644 --- a/libavfilter/vf_bilateral.c +++ b/libavfilter/vf_bilateral.c @@ -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); } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".