[FFmpeg-devel] [PATCH] avfilter/biquads: avoid clipping when using floating type

2014-07-17 Thread Muhammad Faiz
I think clipping isn't needed when using floating type. Thanks From 3ffce13b5b118d84b724f2aec342baa6536271da Mon Sep 17 00:00:00 2001 From: Muhammad Faiz mfc...@gmail.com Date: Thu, 17 Jul 2014 10:49:04 +0700 Subject: [PATCH] avfilter/biquads: avoid clipping when using floating type

[FFmpeg-devel] [PATCH] avutil/opt.c: fix bug when parsing option

2014-07-21 Thread Muhammad Faiz
fix these strange behavior: -af flanger=delay=10 [OK] -af flanger=delay=1e1 [OK] -af flanger=delay=1e+1 [Error] -af flanger=delay=0.1 [OK] -af flanger=delay=1e-1 [Error] thank's --- libavutil/opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/opt.c

[FFmpeg-devel] [PATCH] avutil/opt: set_string_number(): remove unneeded copy

2014-07-22 Thread Muhammad Faiz
also remove unused variables thanks --- libavutil/opt.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/libavutil/opt.c b/libavutil/opt.c index 40c944d..08f6f15 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -191,22 +191,20 @@ static int

[FFmpeg-devel] [PATCH] avfilter/showcqt: add features

2014-08-08 Thread Muhammad Faiz
add tlength option with frequency and timeclamp variable volume option with frequency and timeclamp variable, and a_weighting, b_weighting, c_weighting function thank's --- doc/filters.texi | 42 +-- libavfilter/avf_showcqt.c | 87

[FFmpeg-devel] [PATCH] avfilter/showcqt: add fontcolor option

2014-08-17 Thread Muhammad Faiz
This fontcolor option uses arithmetic expression, not color value, so color names aren't available. Thank's --- doc/filters.texi | 20 +++ libavfilter/avf_showcqt.c | 84 ++- 2 files changed, 81 insertions(+), 23 deletions(-) diff

Re: [FFmpeg-devel] [PATCH] avfilter/showcqt: add fontcolor option

2014-08-18 Thread Muhammad Faiz
On Mon, Aug 18, 2014 at 7:03 AM, Timothy Gu timothyg...@gmail.com wrote: On Sun, Aug 17, 2014 at 4:54 PM, Muhammad Faiz mfc...@gmail.com wrote: This fontcolor option uses arithmetic expression, not color value, so color names aren't available. Thank's You should use AV_OPT_TYPE_COLOR

Re: [FFmpeg-devel] [PATCH] avfilter/showcqt: add fontcolor option

2014-08-19 Thread Muhammad Faiz
On Tue, Aug 19, 2014 at 12:38 PM, Clément Bœsch u...@pkh.me wrote: On Mon, Aug 18, 2014 at 06:54:55AM +0700, Muhammad Faiz wrote: This fontcolor option uses arithmetic expression, not color value, so color names aren't available. Thank's Can you suggest an alternative in the examples

Re: [FFmpeg-devel] [PATCH] avfilter/showcqt: add fontcolor option

2014-08-20 Thread Muhammad Faiz
On Thu, Aug 21, 2014 at 3:49 AM, Clément Bœsch u...@pkh.me wrote: On Wed, Aug 20, 2014 at 07:10:56AM +0700, Muhammad Faiz wrote: [...] +static double r_func(void *p, double x) +{ +x = av_clipd(x, 0.0, 1.0); +return (int)(x*255.0+0.5) 16; You can probably use lrint() here

Re: [FFmpeg-devel] [PATCH] avfilter/showcqt: add fontcolor option

2014-08-22 Thread Muhammad Faiz
On Thu, Aug 21, 2014 at 7:33 AM, Muhammad Faiz mfc...@gmail.com wrote: On Thu, Aug 21, 2014 at 3:49 AM, Clément Bœsch u...@pkh.me wrote: On Wed, Aug 20, 2014 at 07:10:56AM +0700, Muhammad Faiz wrote: [...] +static double r_func(void *p, double x) +{ +x = av_clipd(x, 0.0, 1.0

Re: [FFmpeg-devel] [PATCH] avfilter/showcqt: add fontcolor option

2014-08-23 Thread Muhammad Faiz
Muhammad Faiz ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] avfilter/avf_showcqt: optimize gamma

2015-05-02 Thread Muhammad Faiz
From c79989a2069966331ec65f9734554e4a2de065b9 Mon Sep 17 00:00:00 2001 From: Muhammad Faiz mfc...@gmail.com Date: Fri, 1 May 2015 16:44:59 +0700 Subject: [PATCH] avfilter/avf_showcqt: optimize gamma calculation benchmark (on intel core2 duo, gcc 4.9.1) input samples duration 00:03:39.59 command

[FFmpeg-devel] configure script and avfilter/showcqt

2015-05-29 Thread Muhammad Faiz
Dear, It seems that showcqt code depends on avcodec/fft, but that dependency is missing in configure script (can be checked with --disable-fft, showspectrum is disabled, but showcqt is still enabled). Because I do'nt know too much how configure script works, i can't send patch. Someone who knows

[FFmpeg-devel] [PATCH] avfilter/avf_showcqt: rewrite showcqt and add features

2015-10-23 Thread Muhammad Faiz
add yuv444p, yuv422p, and yuv420p output format (lower cpu usage on ffplay playback because it does not do format conversion) custom size with size/s option (fullhd option is deprecated) custom layout with bar_h, axis_h, and sono_h option support rational frame rate (within fps/r/rate option)

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: rewrite showcqt and add features

2015-10-24 Thread Muhammad Faiz
On Sat, Oct 24, 2015 at 1:31 AM, Muhammad Faiz <mfc...@gmail.com> wrote: > add yuv444p, yuv422p, and yuv420p output format (lower cpu usage > on ffplay playback because it does not do format conversion) > custom size with size/s option (fullhd option is deprecated) > custom

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: rewrite showcqt and add features

2015-10-25 Thread Muhammad Faiz
On Sun, Oct 25, 2015 at 9:51 AM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Sun, Oct 25, 2015 at 08:43:07AM +0700, Muhammad Faiz wrote: >> doc/filters.texi | 181 +++-- >> libavfilter/avf_showcqt.c | 1546 >> +++

[FFmpeg-devel] [PATCH 2/2] avdevice/lavfi: use wrapped_avframe

2015-11-09 Thread Muhammad Faiz
not follow frame writability convention (use copy filter for workaround) patch attached thanks From 297702abfbf0922676188dcfc76f63df53273c93 Mon Sep 17 00:00:00 2001 From: Muhammad Faiz <mfc...@gmail.com> Date: Mon, 9 Nov 2015 17:27:02 +0700 Subject: [PATCH 2/2] avdevice/lavfi: use wrapped_avf

[FFmpeg-devel] [PATCH 1/2] avcodec/wrapped_avframe: implement wrapped_avframe decoder

2015-11-09 Thread Muhammad Faiz
fix ticket #4985 for use in avdevice/lavfi patch attached thanks From 4dcbda2e585404d2d79d5afcdc13fcb699f6f158 Mon Sep 17 00:00:00 2001 From: Muhammad Faiz <mfc...@gmail.com> Date: Mon, 9 Nov 2015 15:55:13 +0700 Subject: [PATCH 1/2] avcodec/wrapped_avframe: implement wrapped_avframe decode

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/wrapped_avframe: implement wrapped_avframe decoder

2015-11-09 Thread Muhammad Faiz
On Mon, Nov 9, 2015 at 8:22 AM, wm4 <nfx...@googlemail.com> wrote: > On Mon, 9 Nov 2015 08:03:54 -0800 > Muhammad Faiz <mfc...@gmail.com> wrote: > >> From 4dcbda2e585404d2d79d5afcdc13fcb699f6f158 Mon Sep 17 00:00:00 2001 >> From: Muhammad Faiz <mfc...@gmail.co

Re: [FFmpeg-devel] [PATCH 2/2] avdevice/lavfi: use wrapped_avframe

2015-11-10 Thread Muhammad Faiz
On Mon, Nov 9, 2015 at 11:05 PM, Muhammad Faiz <mfc...@gmail.com> wrote: > fix ticket #4985 > avoid memory copying from AVFrame to rawvideo > > benchmark: > time ffmpeg -f lavfi -i "amovie=audio.mp3, showcqt" -f null -y /dev/null > old: > real1m3.

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/wrapped_avframe: implement wrapped_avframe decoder

2015-11-10 Thread Muhammad Faiz
On Mon, Nov 9, 2015 at 11:22 PM, wm4 <nfx...@googlemail.com> wrote: > On Mon, 9 Nov 2015 08:03:54 -0800 > Muhammad Faiz <mfc...@gmail.com> wrote: > >> From 4dcbda2e585404d2d79d5afcdc13fcb699f6f158 Mon Sep 17 00:00:00 2001 >> From: Muhammad Faiz <mfc...@gmail.co

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/wrapped_avframe: implement wrapped_avframe decoder

2015-11-13 Thread Muhammad Faiz
+0100 >> > Michael Niedermayer <mich...@niedermayer.cc> wrote: >> > >> > > On Tue, Nov 10, 2015 at 04:54:17PM +0700, Muhammad Faiz wrote: >> > > > On Mon, Nov 9, 2015 at 11:22 PM, wm4 <nfx...@googlemail.com> wrote: >> > > > > O

[FFmpeg-devel] [PATCH] ffmpeg: fix overriding packet duration warning

2015-11-15 Thread Muhammad Faiz
no warning when packet duration is valid patch attached From 789e9f0e93a246fd820401e6c298835bf40dc0c3 Mon Sep 17 00:00:00 2001 From: Muhammad Faiz <mfc...@gmail.com> Date: Sun, 15 Nov 2015 15:25:43 +0700 Subject: [PATCH] ffmpeg: fix overriding packet duration warning no warning when

Re: [FFmpeg-devel] [PATCH v2 1/3] avcodec/avpacket: extend AVFrame wrapping in AVPacket

2015-11-15 Thread Muhammad Faiz
On Sun, Nov 15, 2015 at 4:24 PM, Hendrik Leppkes <h.lepp...@gmail.com> wrote: > On Sun, Nov 15, 2015 at 9:51 AM, Muhammad Faiz <mfc...@gmail.com> wrote: >> add AV_PKT_FLAG_FRAME >> add av_packet_encode_frame() >> add av_packet_decode_frame() >> add

[FFmpeg-devel] [PATCH v2 3/3] ffplay: fix memory calculation

2015-11-15 Thread Muhammad Faiz
approximately compute memory size on wrapped_avframe packet patch attached From 148239aa55382bc68d26764a778fb7982d6d Mon Sep 17 00:00:00 2001 From: Muhammad Faiz <mfc...@gmail.com> Date: Sun, 15 Nov 2015 09:21:29 +0700 Subject: [PATCH v2 3/3] ffplay: fix memory calculation approxi

Re: [FFmpeg-devel] [PATCH v2 3/3] ffplay: fix memory calculation

2015-11-15 Thread Muhammad Faiz
On Sun, Nov 15, 2015 at 3:54 PM, Muhammad Faiz <mfc...@gmail.com> wrote: > approximately compute memory size on wrapped_avframe packet > > patch attached I'm sorry, patch not attached. ___ ffmpeg-devel mailing list ffmpeg-devel@

[FFmpeg-devel] [PATCH v2 1/3] avcodec/avpacket: extend AVFrame wrapping in AVPacket

2015-11-15 Thread Muhammad Faiz
/decoder fix avformat/yuv4mpegenc to use av_packet_get_frame() patch attached From ae6b2c45faac830636602a696925566db03541a2 Mon Sep 17 00:00:00 2001 From: Muhammad Faiz <mfc...@gmail.com> Date: Sun, 15 Nov 2015 12:06:12 +0700 Subject: [PATCH v2 1/3] avcodec/avpacket: extend AVFrame wrapping in AV

[FFmpeg-devel] [PATCH v2 2/3] avdevice/lavfi: use wrapped_avframe

2015-11-15 Thread Muhammad Faiz
use wrapped_avframe on both audio and video remove metadata because it already exists in the underlying AVFrame patch attached From cd288bce6b433f1e3cbdd29a06e5d6247f7bf33e Mon Sep 17 00:00:00 2001 From: Muhammad Faiz <mfc...@gmail.com> Date: Sun, 15 Nov 2015 09:09:39 +0700 Subject: [PATC

[FFmpeg-devel] [PATCH v2 3/3] ffplay: fix memory calculation

2015-11-15 Thread Muhammad Faiz
approximately compute memory size on wrapped_avframe packet patch attached ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] ffmpeg: fix overriding packet duration warning

2015-11-16 Thread Muhammad Faiz
On Mon, Nov 16, 2015 at 8:27 AM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Mon, Nov 16, 2015 at 12:26:28AM +0700, Muhammad Faiz wrote: >> On Sun, Nov 15, 2015 at 5:55 PM, Michael Niedermayer >> <mich...@niedermayer.cc> wrote: >> > On Sun, Nov 15

Re: [FFmpeg-devel] [PATCH] ffmpeg: fix overriding packet duration warning

2015-11-15 Thread Muhammad Faiz
On Sun, Nov 15, 2015 at 5:55 PM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Sun, Nov 15, 2015 at 04:04:42PM +0700, Muhammad Faiz wrote: >> no warning when packet duration is valid >> >> patch attached > >> From 789e9f0e93a246fd820401e6c298835bf40dc

Re: [FFmpeg-devel] [PATCH v2 1/3] avcodec/avpacket: extend AVFrame wrapping in AVPacket

2015-11-15 Thread Muhammad Faiz
On Sun, Nov 15, 2015 at 6:38 PM, wm4 <nfx...@gmail.com> wrote: > On Sun, 15 Nov 2015 15:51:30 +0700 > Muhammad Faiz <mfc...@gmail.com> wrote: > >> From ae6b2c45faac830636602a696925566db03541a2 Mon Sep 17 00:00:00 2001 >> From: Muhammad Faiz <mfc...@gmail.com

Re: [FFmpeg-devel] [PATCH v2 1/3] avcodec/avpacket: extend AVFrame wrapping in AVPacket

2015-11-15 Thread Muhammad Faiz
On Sun, Nov 15, 2015 at 6:44 PM, wm4 <nfx...@gmail.com> wrote: > On Sun, 15 Nov 2015 12:22:57 +0100 > Hendrik Leppkes <h.lepp...@gmail.com> wrote: > >> On Sun, Nov 15, 2015 at 10:40 AM, Muhammad Faiz <mfc...@gmail.com> wrote: >> > On Sun, Nov 15

Re: [FFmpeg-devel] [PATCH] configure+libm.h: add fmin/fmax/fminf/fmaxf emulation

2015-11-03 Thread Muhammad Faiz
On Sat, Oct 31, 2015 at 10:15 AM, Ganesh Ajjanagadde wrote: > On Fri, Oct 30, 2015 at 7:29 PM, Michael Niedermayer > wrote: >> On Fri, Oct 30, 2015 at 06:53:34PM -0400, Ganesh Ajjanagadde wrote: >>> On Fri, Oct 30, 2015 at 6:35 PM, Michael Niedermayer

Re: [FFmpeg-devel] [PATCH] configure+libm.h: add fmin/fmax/fminf/fmaxf emulation

2015-11-03 Thread Muhammad Faiz
On Tue, Nov 3, 2015 at 9:21 AM, Hendrik Leppkes <h.lepp...@gmail.com> wrote: > On Tue, Nov 3, 2015 at 5:10 PM, Muhammad Faiz <mfc...@gmail.com> wrote: >> On Tue, Nov 3, 2015 at 5:42 AM, Clément Bœsch <u...@pkh.me> wrote: >>> On Sat, Oct 31, 2015 at 12:33:5

Re: [FFmpeg-devel] [PATCH] configure+libm.h: add fmin/fmax/fminf/fmaxf emulation

2015-11-03 Thread Muhammad Faiz
On Tue, Nov 3, 2015 at 3:47 AM, Ganesh Ajjanagadde <gajja...@mit.edu> wrote: > On Tue, Nov 3, 2015 at 5:06 AM, Muhammad Faiz <mfc...@gmail.com> wrote: >> On Sat, Oct 31, 2015 at 10:15 AM, Ganesh Ajjanagadde <gajja...@mit.edu> >> wrote: >>> On Fri, Oc

Re: [FFmpeg-devel] [PATCH] configure+libm.h: add fmin/fmax/fminf/fmaxf emulation

2015-11-03 Thread Muhammad Faiz
On Tue, Nov 3, 2015 at 1:20 PM, Ganesh Ajjanagadde <gajja...@mit.edu> wrote: > On Tue, Nov 3, 2015 at 12:54 PM, Muhammad Faiz <mfc...@gmail.com> wrote: >> On Tue, Nov 3, 2015 at 3:47 AM, Ganesh Ajjanagadde <gajja...@mit.edu> wrote: >>> On Tue, Nov 3,

[FFmpeg-devel] [PATCH] avfilter/showcqt: fix dependency with avformat

2015-10-30 Thread Muhammad Faiz
patch attached From 1902fc28da0b7d03e0f329397691006f9b432079 Mon Sep 17 00:00:00 2001 From: Muhammad Faiz <mfc...@gmail.com> Date: Fri, 30 Oct 2015 23:35:02 +0700 Subject: [PATCH] avfilter/showcqt: fix dependency with avformat --- configure| 2 +- libavfilter/Makefile | 2 +- 2

Re: [FFmpeg-devel] [PATCH] configure+libm.h: add fmin/fmax/fminf/fmaxf emulation

2015-11-03 Thread Muhammad Faiz
On Tue, Nov 3, 2015 at 5:42 AM, Clément Bœsch wrote: > On Sat, Oct 31, 2015 at 12:33:54AM +0100, Michael Niedermayer wrote: >> On Sat, Oct 31, 2015 at 12:14:44AM +0100, Hendrik Leppkes wrote: >> > On Fri, Oct 30, 2015 at 11:35 PM, Michael Niedermayer >> > wrote:

[FFmpeg-devel] [PATCH] avfilter/showcqt: remove yuv offset

2015-11-03 Thread Muhammad Faiz
thanks From 40336e9ab0ab72d59ef7826e0a73ab1b0d39b698 Mon Sep 17 00:00:00 2001 From: Muhammad Faiz <mfc...@gmail.com> Date: Tue, 3 Nov 2015 22:01:55 +0700 Subject: [PATCH] avfilter/showcqt: remove yuv offset this makes draw_bar faster slightly different result with old version check

[FFmpeg-devel] Subject: [PATCH] avcodec/fft: out of place permutation with av_fft_permute2

2015-10-12 Thread Muhammad Faiz
From a403f93a8fa20ce0d7345d9a00d75bc90fe7d73f Mon Sep 17 00:00:00 2001 From: Muhammad Faiz <mfc...@gmail.com> Date: Tue, 13 Oct 2015 00:31:29 +0700 Subject: [PATCH] avcodec/fft: out of place permutation with av_fft_permute2 with optimization (more cache friendly) also optimize av_fft_p

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: fix frame management

2015-10-13 Thread Muhammad Faiz
On Tue, Oct 13, 2015 at 1:31 PM, Clément Bœsch wrote: > > Did you test if you get the same results with and without the perms > filter? > it gives mostly same result (e.g in common usage with ffplay) it gives more correct result when you still need frame reference like this code

Re: [FFmpeg-devel] [PATCH] avcodec/fft: out of place permutation with av_fft_permute2

2015-10-13 Thread Muhammad Faiz
remaining patches (2 patches) i am sorry i dont send them as patchset thanks From 83b82b028232d1bbe91b636a94ad68b6d8026dab Mon Sep 17 00:00:00 2001 From: Muhammad Faiz <mfc...@gmail.com> Date: Tue, 13 Oct 2015 11:59:21 +0700 Subject: [PATCH] avcodec/x86/fft: use default fft_permute d

[FFmpeg-devel] [PATCH] avfilter/fifo: fix failed assertion

2015-10-13 Thread Muhammad Faiz
From 93ba60f844d8e81435eeefe6cc7cac2d79d518c6 Mon Sep 17 00:00:00 2001 From: Muhammad Faiz <mfc...@gmail.com> Date: Tue, 13 Oct 2015 15:09:17 +0700 Subject: [PATCH] avfilter/fifo: fix failed assertion some filters make fifo filter fail: at least showcqt and showwaves (i don't check all) c

[FFmpeg-devel] [PATCH] avfilter/avf_showcqt: fix frame management

2015-10-12 Thread Muhammad Faiz
From 893d4068adb9d3d2c118186bdc5645056f0ef172 Mon Sep 17 00:00:00 2001 From: Muhammad Faiz <mfc...@gmail.com> Date: Tue, 13 Oct 2015 12:06:37 +0700 Subject: [PATCH] avfilter/avf_showcqt: fix frame management follow frame writability rule reuse buffer --- libavfilter/avf_showcqt.

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: change fft left-right separation

2015-09-15 Thread Muhammad Faiz
On Mon, Sep 14, 2015 at 4:48 AM, Michael Niedermayer wrote: > also if you want to have git write access, send me your public > SSH key > no, i think it is not necessary for now thanks ___ ffmpeg-devel mailing list

[FFmpeg-devel] [PATCH] avfilter/avf_showcqt: use frequency domain windowing

2015-09-16 Thread Muhammad Faiz
From c1481882aef8ae45f6416cedfffd26d921fd6fe7 Mon Sep 17 00:00:00 2001 From: Muhammad Faiz <mfc...@gmail.com> Date: Wed, 16 Sep 2015 15:24:23 +0700 Subject: [PATCH] avfilter/avf_showcqt: use frequency domain windowing faster initialization and less code slightly different result computati

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: draw text optionally

2015-09-13 Thread Muhammad Faiz
On Tue, Sep 1, 2015 at 7:33 PM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavfilter/avf_showcqt.c | 16 ++-- > 1 file changed, 14 insertions(+), 2 deletions(-) > LGTM thanks ___

[FFmpeg-devel] [PATCH] avfilter/avf_showcqt: change fft left-right separation

2015-09-14 Thread Muhammad Faiz
From c1b58d43c8940efcdea3e30d91d8fde0a0ab6551 Mon Sep 17 00:00:00 2001 From: Muhammad Faiz <mfc...@gmail.com> Date: Sun, 13 Sep 2015 21:52:17 +0700 Subject: [PATCH] avfilter/avf_showcqt: change fft left-right separation --- libavfilter/avf_showcqt.

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: use frequency domain windowing

2015-09-18 Thread Muhammad Faiz
On Thu, Sep 17, 2015 at 1:58 AM, Ganesh Ajjanagadde wrote: > Have not checked what the filter is doing, but have a minor comment: > int sign computation - please use FFSIGN. > > the code doesn't extract sign of number, but decide for even index use positive sign and for odd

Re: [FFmpeg-devel] [PATCH] avfilter/showcqt: BASEFREQ and ENDFREQ cast to double

2015-11-30 Thread Muhammad Faiz
On Mon, Nov 30, 2015 at 11:09 PM, Nicolas George <geo...@nsup.org> wrote: > Le decadi 10 frimaire, an CCXXIV, Muhammad Faiz a écrit : >> double basefreq = BASEFREQ, endfreq = ENDFREQ; >> if (basefreq == BASEFREQ && endfreq == ENDFREQ) >> printf("equ

Re: [FFmpeg-devel] [PATCH] avfilter/showcqt: BASEFREQ and ENDFREQ cast to double

2015-11-30 Thread Muhammad Faiz
On Mon, Nov 30, 2015 at 10:52 PM, Nicolas George <geo...@nsup.org> wrote: > Le decadi 10 frimaire, an CCXXIV, Muhammad Faiz a écrit : >> -if (s->basefreq != BASEFREQ || s->endfreq != ENDFREQ) { >> +if (s->basefreq != (double) BASEFREQ || s->endfreq !=

[FFmpeg-devel] [PATCH] avfilter/showcqt: BASEFREQ and ENDFREQ cast to double

2015-11-30 Thread Muhammad Faiz
fix default basefreq/endfreq comparison on platform that does not do comparison in double type found on zeranoe 32-bit build, where default freq range is detected as non-default patch attached From 26d93c48b7c89849bfd962fbc66069c24f11e752 Mon Sep 17 00:00:00 2001 From: Muhammad Faiz <

Re: [FFmpeg-devel] [PATCH] avfilter/showcqt: BASEFREQ and ENDFREQ cast to double

2015-11-30 Thread Muhammad Faiz
On Mon, Nov 30, 2015 at 10:00 AM, Nicolas George <geo...@nsup.org> wrote: > Le decadi 10 frimaire, an CCXXIV, Muhammad Faiz a écrit : >> gcc -c -std=c89 -O2 > > gcc -S would have been more useful: as is, it lacks the definition for > basefreq, and apparently also the other

Re: [FFmpeg-devel] [PATCH] avfilter/showcqt: BASEFREQ and ENDFREQ cast to double

2015-11-30 Thread Muhammad Faiz
On Mon, Nov 30, 2015 at 12:06 PM, Michael Niedermayer wrote: > On Mon, Nov 30, 2015 at 07:02:47PM +0100, Nicolas George wrote: >> Le decadi 10 frimaire, an CCXXIV, Michael Niedermayer a écrit : >> > > ISO/IEC 9899:TC3 >> > > 5.2.4.2.2 Characteristics of floating types >> >

Re: [FFmpeg-devel] [PATCH 05/10] avfilter/avf_showcqt: use hypot()

2015-11-30 Thread Muhammad Faiz
On Sun, Nov 22, 2015 at 9:05 AM, Ganesh Ajjanagadde wrote: > Signed-off-by: Ganesh Ajjanagadde > --- > libavfilter/avf_showcqt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/avf_showcqt.c

Re: [FFmpeg-devel] [PATCH] avfilter/graphparser: remove '\n' from parse_filter

2016-06-05 Thread Muhammad Faiz
On Sun, Jun 5, 2016 at 12:33 AM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Thu, Jun 02, 2016 at 03:32:49PM +0700, Muhammad Faiz wrote: >> On Thu, May 5, 2016 at 2:21 PM, Muhammad Faiz <mfc...@gmail.com> wrote: >> > this allow a filter to be w

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: cqt_calc optimization on x86

2016-06-07 Thread Muhammad Faiz
On Tue, Jun 7, 2016 at 9:49 AM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Tue, Jun 07, 2016 at 08:07:45AM +0700, Muhammad Faiz wrote: >> On Sat, Jun 4, 2016 at 2:36 PM, Muhammad Faiz <mfc...@gmail.com> wrote: >> > benchmark on x86_64 >> >

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: set range on fps/rate/r option

2016-06-08 Thread Muhammad Faiz
On Wed, Jun 8, 2016 at 9:59 PM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Wed, Jun 08, 2016 at 07:46:07AM +0700, Muhammad Faiz wrote: >> see Ticket #5618 >> >> Signed-off-by: Muhammad Faiz <mfc...@gmail.com> >> --- >> libavfilter/a

Re: [FFmpeg-devel] [PATCH] avfilter/src_movie: call open_stream after guess_channel_layout

2016-06-08 Thread Muhammad Faiz
On Thu, Jun 2, 2016 at 3:01 PM, Muhammad Faiz <mfc...@gmail.com> wrote: > fix error 'Channel layout change is not supported' when > opening wav file > > Signed-off-by: Muhammad Faiz <mfc...@gmail.com> > --- > libavfilter/src_movie.c | 6 +++--- > 1 file chan

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: cqt_calc optimization on x86

2016-06-08 Thread Muhammad Faiz
On Wed, Jun 8, 2016 at 11:34 PM, James Almer <jamr...@gmail.com> wrote: > On 6/7/2016 6:18 AM, Muhammad Faiz wrote: >>>> +sub lend, 2 >>>> >> +lea dstq, [dstq + 16] >>> > >>> > Use add >>> > >

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: cqt_calc optimization on x86

2016-06-07 Thread Muhammad Faiz
On Tue, Jun 7, 2016 at 10:36 AM, James Almer <jamr...@gmail.com> wrote: > On 6/4/2016 4:36 AM, Muhammad Faiz wrote: >> benchmark on x86_64 >> cqt_time: >> plain = 3.292 s >> SSE = 1.640 s >> SSE3 = 1.631 s >> AVX = 1.395 s >> FMA

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: cqt_calc optimization on x86

2016-06-06 Thread Muhammad Faiz
On Sat, Jun 4, 2016 at 2:36 PM, Muhammad Faiz <mfc...@gmail.com> wrote: > benchmark on x86_64 > cqt_time: > plain = 3.292 s > SSE = 1.640 s > SSE3 = 1.631 s > AVX = 1.395 s > FMA3 = 1.271 s > FMA4 = not available > > untested on x86_32 > > Sign

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: cqt_calc optimization on x86

2016-06-08 Thread Muhammad Faiz
On Tue, Jun 7, 2016 at 2:51 PM, Muhammad Faiz <mfc...@gmail.com> wrote: > On Tue, Jun 7, 2016 at 9:49 AM, Michael Niedermayer > <mich...@niedermayer.cc> wrote: >> On Tue, Jun 07, 2016 at 08:07:45AM +0700, Muhammad Faiz wrote: >>> On Sat, Jun 4, 2016 at 2:36 PM

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: cqt_calc optimization on x86

2016-06-07 Thread Muhammad Faiz
On Tue, Jun 7, 2016 at 4:18 PM, Muhammad Faiz <mfc...@gmail.com> wrote: > On Tue, Jun 7, 2016 at 10:36 AM, James Almer <jamr...@gmail.com> wrote: >> On 6/4/2016 4:36 AM, Muhammad Faiz wrote: >>> benchmark on x86_64 >>> cqt_time: >>> plain = 3.292 s

[FFmpeg-devel] [PATCH] avfilter/avf_showcqt: set range on fps/rate/r option

2016-06-07 Thread Muhammad Faiz
see Ticket #5618 Signed-off-by: Muhammad Faiz <mfc...@gmail.com> --- libavfilter/avf_showcqt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/avf_showcqt.c b/libavfilter/avf_showcqt.c index 62d5b09..8863ea1 100644 --- a/libavfilter/avf_showcqt.c

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: cqt_calc optimization on x86

2016-06-08 Thread Muhammad Faiz
On Tue, Jun 7, 2016 at 4:18 PM, Muhammad Faiz <mfc...@gmail.com> wrote: > On Tue, Jun 7, 2016 at 10:36 AM, James Almer <jamr...@gmail.com> wrote: >> On 6/4/2016 4:36 AM, Muhammad Faiz wrote: >>> benchmark on x86_64 >>> cqt_time: >>> plain = 3.292 s

Re: [FFmpeg-devel] [PATCH] fate: add afade tes

2016-06-13 Thread Muhammad Faiz
On Sun, Jun 12, 2016 at 8:14 PM, Michael Niedermayer wrote: > On Sun, Jun 12, 2016 at 09:37:28AM +, Petru Rares Sincraian wrote: >> Hi there, >> >> I'm sorry, I hadn't considered mingw. Here is the patch without the >> filter-afade-ihsin. > > applied > fail without

Re: [FFmpeg-devel] [PATCH] swresample: add exact_rational option

2016-06-12 Thread Muhammad Faiz
On Mon, Jun 13, 2016 at 2:19 AM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Sun, Jun 12, 2016 at 07:56:31AM +0700, Muhammad Faiz wrote: >> give high quality resampling >> as good as with linear_interp=on >> as fast as without linear_interp=on >> test

Re: [FFmpeg-devel] [PATCH] swresample: add exact_rational option

2016-06-13 Thread Muhammad Faiz
On Mon, Jun 13, 2016 at 9:05 AM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Mon, Jun 13, 2016 at 07:46:22AM +0700, Muhammad Faiz wrote: >> On Mon, Jun 13, 2016 at 2:19 AM, Michael Niedermayer >> <mich...@niedermayer.cc> wrote: >> > On Sun, Jun 12

[FFmpeg-devel] [PATCH] avfilter/avf_showcqt: render default font at 960x16

2016-06-03 Thread Muhammad Faiz
and let ffmpeg scaler scale it this impoves quality Signed-off-by: Muhammad Faiz <mfc...@gmail.com> --- libavfilter/avf_showcqt.c | 43 --- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/libavfilter/avf_showcqt.c b/libav

[FFmpeg-devel] [PATCH] avfilter/avf_showcqt: cqt_calc optimization on x86

2016-06-04 Thread Muhammad Faiz
benchmark on x86_64 cqt_time: plain = 3.292 s SSE = 1.640 s SSE3 = 1.631 s AVX = 1.395 s FMA3 = 1.271 s FMA4 = not available untested on x86_32 Signed-off-by: Muhammad Faiz <mfc...@gmail.com> --- libavfilter/avf_showcqt.c | 7 ++ libavfilter/avf_showcqt.h

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: render default font at 960x16

2016-06-04 Thread Muhammad Faiz
On Fri, Jun 3, 2016 at 6:28 PM, Muhammad Faiz <mfc...@gmail.com> wrote: > and let ffmpeg scaler scale it > this impoves quality > > Signed-off-by: Muhammad Faiz <mfc...@gmail.com> > --- > libavfilter/avf_showcqt.c | 43 --- &g

[FFmpeg-devel] [PATCH] swresample: add exact_rational option

2016-06-11 Thread Muhammad Faiz
s sys 0.114s possibility to decrease memory usage if soft compensation is ignored patch attached thank's From d5625a6904fb28eef5ecc2f3b52501ca28610795 Mon Sep 17 00:00:00 2001 From: Muhammad Faiz <mfc...@gmail.com> Date: Sun, 12 Jun 2016 05:19:20 +0700 Subject: [PATCH] swresample: add exac

Re: [FFmpeg-devel] [PATCH] avfilter/graphparser: remove '\n' from parse_filter

2016-06-13 Thread Muhammad Faiz
On Sun, Jun 12, 2016 at 3:09 PM, Muhammad Faiz <mfc...@gmail.com> wrote: > On Mon, Jun 6, 2016 at 12:19 AM, Muhammad Faiz <mfc...@gmail.com> wrote: >> On Sun, Jun 5, 2016 at 12:33 AM, Michael Niedermayer >> <mich...@niedermayer.cc> wrote: >>> On Thu, Jun 0

Re: [FFmpeg-devel] [PATCH] avfilter/graphparser: remove '\n' from parse_filter

2016-06-12 Thread Muhammad Faiz
On Mon, Jun 6, 2016 at 12:19 AM, Muhammad Faiz <mfc...@gmail.com> wrote: > On Sun, Jun 5, 2016 at 12:33 AM, Michael Niedermayer > <mich...@niedermayer.cc> wrote: >> On Thu, Jun 02, 2016 at 03:32:49PM +0700, Muhammad Faiz wrote: >>> On Thu, May 5, 2016 at 2:21 PM

[FFmpeg-devel] [PATCH 2/2] swresample/x86: add support for exact_rational

2016-06-15 Thread Muhammad Faiz
phase_shift and phase_mask is removed generally exact_rational=on is faster than exact_rational=off Signed-off-by: Muhammad Faiz <mfc...@gmail.com> --- libswresample/resample.c | 2 - libswresample/resample.h | 3 -- libswresample/x86/resample.asm

[FFmpeg-devel] [PATCH 1/2] swresample: fix phase_count calculation

2016-06-15 Thread Muhammad Faiz
support odd phase_count stick to low phase_count until set_compensation is called Signed-off-by: Muhammad Faiz <mfc...@gmail.com> --- libswresample/resample.c | 83 +--- libswresample/resample.h | 1 + 2 files changed, 73 insertions(+), 11 del

Re: [FFmpeg-devel] [PATCH] fate: add afade tes

2016-06-15 Thread Muhammad Faiz
On Tue, Jun 14, 2016 at 11:44 PM, Petru Rares Sincraian wrote: > I look the code for some time but I don't know how to express the dependency. > I think it's ok because it uses FATE_AFILTER_SAMPLES and then this variable > is added to FATE_SAMPLES_AVCONV. > > > Muhammad

Re: [FFmpeg-devel] [PATCH] fate: add swr-resample_exact_async tests

2016-06-15 Thread Muhammad Faiz
On Wed, Jun 15, 2016 at 4:21 PM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Wed, Jun 15, 2016 at 02:02:48PM +0700, Muhammad Faiz wrote: >> Signed-off-by: Muhammad Faiz <mfc...@gmail.com> >> --- >>

Re: [FFmpeg-devel] [PATCH] avfilter/af_firequalizer: add zero_phase option

2016-06-06 Thread Muhammad Faiz
On Mon, Jun 6, 2016 at 6:46 AM, Muhammad Faiz <mfc...@gmail.com> wrote: > simply by substracting pts to compensate delay > also handle AV_NOPTS_VALUE > > Signed-off-by: Muhammad Faiz <mfc...@gmail.com> > --- > doc/filters.texi | 8 ++-- >

[FFmpeg-devel] [PATCH] avfilter/af_firequalizer: add zero_phase option

2016-06-05 Thread Muhammad Faiz
simply by substracting pts to compensate delay also handle AV_NOPTS_VALUE Signed-off-by: Muhammad Faiz <mfc...@gmail.com> --- doc/filters.texi | 8 ++-- libavfilter/af_firequalizer.c | 9 - libavfilter/version.h | 2 +- 3 files changed, 15 insertions

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: full chroma blending on draw_axis_yuv

2016-06-02 Thread Muhammad Faiz
On Tue, May 31, 2016 at 9:56 PM, Muhammad Faiz <mfc...@gmail.com> wrote: > improve quality on axis drawing with yuv422p and yuv420p format > > Signed-off-by: Muhammad Faiz <mfc...@gmail.com> > --- > libavfilter/avf_showcqt.c | 73 > +++

Re: [FFmpeg-devel] [PATCH] avfilter/graphparser: remove '\n' from parse_filter

2016-06-02 Thread Muhammad Faiz
On Thu, May 5, 2016 at 2:21 PM, Muhammad Faiz <mfc...@gmail.com> wrote: > this allow a filter to be written like this: > aformat = > sample_fmts = fltp|flt: > sample_rates = 44100|44800 > > Signed-off-by: Muhammad Faiz <mfc...@gmail.com> > --- > lib

[FFmpeg-devel] [PATCH] avfilter/src_movie: call open_stream after guess_channel_layout

2016-06-02 Thread Muhammad Faiz
fix error 'Channel layout change is not supported' when opening wav file Signed-off-by: Muhammad Faiz <mfc...@gmail.com> --- libavfilter/src_movie.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c index 9ac115b..4

[FFmpeg-devel] [PATCH] avfilter/avf_showcqt: full chroma blending on draw_axis_yuv

2016-05-31 Thread Muhammad Faiz
improve quality on axis drawing with yuv422p and yuv420p format Signed-off-by: Muhammad Faiz <mfc...@gmail.com> --- libavfilter/avf_showcqt.c | 73 ++- 1 file changed, 60 insertions(+), 13 deletions(-) diff --git a/libavfilter/avf_showc

Re: [FFmpeg-devel] [PATCH 1/2] swresample: fix phase_count calculation

2016-06-16 Thread Muhammad Faiz
On Thu, Jun 16, 2016 at 10:03 PM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Thu, Jun 16, 2016 at 12:31:03AM +0700, Muhammad Faiz wrote: >> support odd phase_count >> stick to low phase_count until set_compensation is called > > can you split

Re: [FFmpeg-devel] [PATCH 1/2] swresample: fix phase_count calculation

2016-06-17 Thread Muhammad Faiz
On Fri, Jun 17, 2016 at 2:23 PM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Fri, Jun 17, 2016 at 05:48:55AM +0700, Muhammad Faiz wrote: >> On Thu, Jun 16, 2016 at 10:03 PM, Michael Niedermayer >> <mich...@niedermayer.cc> wrote: >> > On Thu, Jun 16

Re: [FFmpeg-devel] [PATCH] avfilter/vf_rotate: add >8 bit depth support

2016-06-25 Thread Muhammad Faiz
On Sun, Jun 26, 2016 at 1:51 AM, Paul B Mahol wrote: > On 6/25/16, Carl Eugen Hoyos wrote: >> Paul B Mahol gmail.com> writes: >> >>> >>+AV_PIX_FMT_YUV420P9LE, AV_PIX_FMT_YUVA420P9LE, >>> > >>> > Why not use native endian format? >>> >>> Because of

Re: [FFmpeg-devel] [PATCH] avfilter/drawutils: change to support native endian only

2016-06-28 Thread Muhammad Faiz
On Mon, Jun 27, 2016 at 6:02 PM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Mon, Jun 27, 2016 at 04:46:16PM +0700, Muhammad Faiz wrote: >> previously support little endian only because of fate problem >> generally native endian code is faster >> >>

Re: [FFmpeg-devel] [PATCH] avfilter/vf_rotate: add >8 bit depth support

2016-06-26 Thread Muhammad Faiz
On Sun, Jun 26, 2016 at 2:30 PM, Paul B Mahol <one...@gmail.com> wrote: > On 6/26/16, Carl Eugen Hoyos <ceho...@ag.or.at> wrote: >> Muhammad Faiz gmail.com> writes: >> >>> I think it's not because of bit-exact problem. >>> But because fate prob

Re: [FFmpeg-devel] [PATCH] avfilter/vf_rotate: add >8 bit depth support

2016-06-26 Thread Muhammad Faiz
On Sun, Jun 26, 2016 at 3:22 PM, Paul B Mahol <one...@gmail.com> wrote: > On 6/26/16, Muhammad Faiz <mfc...@gmail.com> wrote: >> On Sun, Jun 26, 2016 at 2:30 PM, Paul B Mahol <one...@gmail.com> wrote: >>> On 6/26/16, Carl Eugen Hoyos <ceho...@ag.or.at> wr

Re: [FFmpeg-devel] [PATCH] avfilter/vf_rotate: add >8 bit depth support

2016-06-24 Thread Muhammad Faiz
On Sat, Jun 25, 2016 at 1:23 AM, Paul B Mahol wrote: > Hi, > > patch attached. > >From 5b55c9c44ea103cdff3c34882dbcca29902728a4 Mon Sep 17 00:00:00 2001 >From: Paul B Mahol >Date: Fri, 24 Jun 2016 20:16:22 +0200 >Subject: [PATCH] avfilter/vf_rotate: add >8

[FFmpeg-devel] [PATCH] avfilter/avf_showcqt: optimize draw routines

2016-02-28 Thread Muhammad Faiz
optimize draw_bar_yuv (slightly faster) optimize draw_axis (about 2x faster) Signed-off-by: Muhammad Faiz <mfc...@gmail.com> --- libavfilter/avf_showcqt.c | 212 +- 1 file changed, 115 insertions(+), 97 deletions(-) diff --git a/libav

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: optimize draw routines

2016-02-29 Thread Muhammad Faiz
On Sun, Feb 28, 2016 at 4:52 PM, Muhammad Faiz <mfc...@gmail.com> wrote: > optimize draw_bar_yuv (slightly faster) > optimize draw_axis (about 2x faster) > > Signed-off-by: Muhammad Faiz <mfc...@gmail.com> > --- > l

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: use lrint

2016-02-23 Thread Muhammad Faiz
On Tue, Feb 23, 2016 at 4:41 AM, Michael Niedermayer <mich...@niedermayer.cc> wrote: > On Tue, Feb 23, 2016 at 01:25:56AM +0700, Muhammad Faiz wrote: >> Signed-off-by: Muhammad Faiz <mfc...@gmail.com> >> --- >>

Re: [FFmpeg-devel] [PATCH] avfilter: add firequalizer filter

2016-02-22 Thread Muhammad Faiz
On Fri, Feb 19, 2016 at 11:52 PM, Muhammad Faiz <mfc...@gmail.com> wrote: > On Fri, Feb 19, 2016 at 3:52 AM, Paul B Mahol <one...@gmail.com> wrote: >>> +center = s->fir_len / 2; >>> + >>> +for (k = 0; k <= center; k++

[FFmpeg-devel] [PATCH] avfilter/avf_showcqt: use lrint

2016-02-22 Thread Muhammad Faiz
Signed-off-by: Muhammad Faiz <mfc...@gmail.com> --- libavfilter/avf_showcqt.c | 90 +++ 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/libavfilter/avf_showcqt.c b/libavfilter/avf_showcqt.c index d4c6a74..023924f 100644 --- a/libav

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: improve pts handling

2016-02-15 Thread Muhammad Faiz
On Sat, Feb 13, 2016 at 12:20 AM, Paul B Mahol wrote: >-ret = plot_cqt(ctx); >+ret = plot_cqt(ctx, AV_NOPTS_VALUE); it should not be set to AV_NOPTS_VALUE, but to previous pts + something >-ret = plot_cqt(ctx); >+ret =

[FFmpeg-devel] [PATCH] avfilter: add firequalizer filter

2016-02-16 Thread Muhammad Faiz
patch attached thank's From 5ec5d798e974f690d881787b7272ed23b7d4bdbc Mon Sep 17 00:00:00 2001 From: Muhammad Faiz <mfc...@gmail.com> Date: Tue, 16 Feb 2016 17:03:08 +0700 Subject: [PATCH] avfilter: add firequalizer filter --- Changelog | 1 + MAINT

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: improve pts handling

2016-02-16 Thread Muhammad Faiz
On Mon, Feb 15, 2016 at 4:49 PM, Muhammad Faiz <mfc...@gmail.com> wrote: > On Sat, Feb 13, 2016 at 12:20 AM, Paul B Mahol <one...@gmail.com> wrote: >>-ret = plot_cqt(ctx); >>+ret = plot_cqt(ctx, AV_NOPTS_VALUE); > it should not be set to AV_NO

  1   2   3   4   5   >