ffmpeg | branch: master | Jun Zhao <[email protected]> | Wed Oct 23 
11:25:40 2019 +0800| [0e3d5bdc0802898cb39d64c0dbfff81b77117547] | committer: 
Jun Zhao

lavfi/bilateral: Clean the option description and unused code

Clean the option description and unused code.

Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Jun Zhao <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0e3d5bdc0802898cb39d64c0dbfff81b77117547
---

 libavfilter/vf_bilateral.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/libavfilter/vf_bilateral.c b/libavfilter/vf_bilateral.c
index 31578a0dd5..3c9d8006d9 100644
--- a/libavfilter/vf_bilateral.c
+++ b/libavfilter/vf_bilateral.c
@@ -58,18 +58,13 @@ typedef struct BilateralContext {
 
 static const AVOption bilateral_options[] = {
     { "sigmaS", "set spatial sigma",    OFFSET(sigmaS), AV_OPT_TYPE_FLOAT, 
{.dbl=0.1}, 0.0,  10, FLAGS },
-    { "sigmaR", "set sigma range",      OFFSET(sigmaR), AV_OPT_TYPE_FLOAT, 
{.dbl=0.1}, 0.0,   1, FLAGS },
+    { "sigmaR", "set range sigma",      OFFSET(sigmaR), AV_OPT_TYPE_FLOAT, 
{.dbl=0.1}, 0.0,   1, FLAGS },
     { "planes", "set planes to filter", OFFSET(planes), AV_OPT_TYPE_INT,   
{.i64=1},     0, 0xF, FLAGS },
     { NULL }
 };
 
 AVFILTER_DEFINE_CLASS(bilateral);
 
-typedef struct ThreadData {
-    int height;
-    int width;
-} ThreadData;
-
 static int query_formats(AVFilterContext *ctx)
 {
     static const enum AVPixelFormat pix_fmts[] = {

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to