Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] fix bs2b parameter description
@ 2022-01-15 14:45 Yue Wang
  2022-01-25  9:55 ` Yue Wang
  0 siblings, 1 reply; 4+ messages in thread
From: Yue Wang @ 2022-01-15 14:45 UTC (permalink / raw)
  To: ffmpeg-devel

From f0fdf5360ecd52d5f4031af9165b94c211defa03 Mon Sep 17 00:00:00 2001
From: Yue Wang <yuleopen@gmail.com>
Date: Sat, 15 Jan 2022 10:14:17 +0900
Subject: [PATCH] fix bs2b parameter description.

---
 libavfilter/af_bs2b.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/af_bs2b.c b/libavfilter/af_bs2b.c
index 90ae846d95..de2d6dd6c7 100644
--- a/libavfilter/af_bs2b.c
+++ b/libavfilter/af_bs2b.c
@@ -57,7 +57,7 @@ static const AVOption bs2b_options[] = {
         { "jmeier",  "Jan Meier circuit", 0, AV_OPT_TYPE_CONST, { .i64 =
BS2B_JMEIER_CLEVEL  }, 0, 0, A, "profile" },
     { "fcut", "Set cut frequency (in Hz)",
             OFFSET(fcut), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, BS2B_MAXFCUT,
A },
-    { "feed", "Set feed level (in Hz)",
+    { "feed", "Set feed level (in db * 10)",
             OFFSET(feed), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, BS2B_MAXFEED,
A },
     { NULL },
 };
-- 
2.34.1.703.g22d0c6ccf7-goog
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [FFmpeg-devel] [PATCH] fix bs2b parameter description
  2022-01-15 14:45 [FFmpeg-devel] [PATCH] fix bs2b parameter description Yue Wang
@ 2022-01-25  9:55 ` Yue Wang
  2022-01-25 10:55   ` Gyan Doshi
  2022-01-26 11:30   ` Yue Wang
  0 siblings, 2 replies; 4+ messages in thread
From: Yue Wang @ 2022-01-25  9:55 UTC (permalink / raw)
  To: ffmpeg-devel

Can someone review and approve this change? it's pretty trivial

On Sat, Jan 15, 2022 at 11:45 PM Yue Wang <yuleopen@gmail.com> wrote:

> From f0fdf5360ecd52d5f4031af9165b94c211defa03 Mon Sep 17 00:00:00 2001
> From: Yue Wang <yuleopen@gmail.com>
> Date: Sat, 15 Jan 2022 10:14:17 +0900
> Subject: [PATCH] fix bs2b parameter description.
>
> ---
>  libavfilter/af_bs2b.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavfilter/af_bs2b.c b/libavfilter/af_bs2b.c
> index 90ae846d95..de2d6dd6c7 100644
> --- a/libavfilter/af_bs2b.c
> +++ b/libavfilter/af_bs2b.c
> @@ -57,7 +57,7 @@ static const AVOption bs2b_options[] = {
>          { "jmeier",  "Jan Meier circuit", 0, AV_OPT_TYPE_CONST, { .i64 =
> BS2B_JMEIER_CLEVEL  }, 0, 0, A, "profile" },
>      { "fcut", "Set cut frequency (in Hz)",
>              OFFSET(fcut), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, BS2B_MAXFCUT,
> A },
> -    { "feed", "Set feed level (in Hz)",
> +    { "feed", "Set feed level (in db * 10)",
>              OFFSET(feed), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, BS2B_MAXFEED,
> A },
>      { NULL },
>  };
> --
> 2.34.1.703.g22d0c6ccf7-goog
>
>
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [FFmpeg-devel] [PATCH] fix bs2b parameter description
  2022-01-25  9:55 ` Yue Wang
@ 2022-01-25 10:55   ` Gyan Doshi
  2022-01-26 11:30   ` Yue Wang
  1 sibling, 0 replies; 4+ messages in thread
From: Gyan Doshi @ 2022-01-25 10:55 UTC (permalink / raw)
  To: ffmpeg-devel



On 2022-01-25 03:25 pm, Yue Wang wrote:
> Can someone review and approve this change? it's pretty trivial

Needs changes in doc/filters.texi too.
Since this is an ext library option, a link to reference is helpful.

Regards,
Gyan


>
> On Sat, Jan 15, 2022 at 11:45 PM Yue Wang <yuleopen@gmail.com> wrote:
>
>>  From f0fdf5360ecd52d5f4031af9165b94c211defa03 Mon Sep 17 00:00:00 2001
>> From: Yue Wang <yuleopen@gmail.com>
>> Date: Sat, 15 Jan 2022 10:14:17 +0900
>> Subject: [PATCH] fix bs2b parameter description.
>>
>> ---
>>   libavfilter/af_bs2b.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/libavfilter/af_bs2b.c b/libavfilter/af_bs2b.c
>> index 90ae846d95..de2d6dd6c7 100644
>> --- a/libavfilter/af_bs2b.c
>> +++ b/libavfilter/af_bs2b.c
>> @@ -57,7 +57,7 @@ static const AVOption bs2b_options[] = {
>>           { "jmeier",  "Jan Meier circuit", 0, AV_OPT_TYPE_CONST, { .i64 =
>> BS2B_JMEIER_CLEVEL  }, 0, 0, A, "profile" },
>>       { "fcut", "Set cut frequency (in Hz)",
>>               OFFSET(fcut), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, BS2B_MAXFCUT,
>> A },
>> -    { "feed", "Set feed level (in Hz)",
>> +    { "feed", "Set feed level (in db * 10)",
>>               OFFSET(feed), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, BS2B_MAXFEED,
>> A },
>>       { NULL },
>>   };
>> --
>> 2.34.1.703.g22d0c6ccf7-goog
>>
>>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [FFmpeg-devel] [PATCH] fix bs2b parameter description
  2022-01-25  9:55 ` Yue Wang
  2022-01-25 10:55   ` Gyan Doshi
@ 2022-01-26 11:30   ` Yue Wang
  1 sibling, 0 replies; 4+ messages in thread
From: Yue Wang @ 2022-01-26 11:30 UTC (permalink / raw)
  To: ffmpeg-devel

Hi Gyan

The reference is bs2b's header file available here:
https://sourceforge.net/p/bs2b/code/HEAD/tree/trunk/libbs2b/src/bs2b.h

Between line 102-112, particularly these two APIs:

/* Sets a new coefficients by new cut frecuency value (Hz). */
void bs2b_set_level_fcut( t_bs2bdp bs2bdp, int fcut );

and

/* Sets a new coefficients by new crossfeeding level value (dB * 10). */
void bs2b_set_level_feed( t_bs2bdp bs2bdp, int feed );

which correspond to the following two parameters in ffmpeg:

-  "fcut", "Set cut frequency (in Hz)",
-  "feed", "Set feed level (in db * 10)",

Yue
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-26 11:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-15 14:45 [FFmpeg-devel] [PATCH] fix bs2b parameter description Yue Wang
2022-01-25  9:55 ` Yue Wang
2022-01-25 10:55   ` Gyan Doshi
2022-01-26 11:30   ` Yue Wang

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git