Re: [FFmpeg-devel] [PATCH 1/3] avutil: add staticpool

2018-01-21 Thread Muhammad Faiz
On Sun, Jan 21, 2018 at 7:11 PM, wm4 wrote: > On Sun, 21 Jan 2018 10:24:21 +0700 > Muhammad Faiz wrote: > >> > I don't trust the atomics use >> > either, I'm don't want to have to debug that ever. >> >> Of course, using atomics is more complicated that usi

Re: [FFmpeg-devel] [PATCH 1/3] avutil: add staticpool

2018-01-21 Thread wm4
On Sun, 21 Jan 2018 10:24:21 +0700 Muhammad Faiz wrote: > > I don't trust the atomics use > > either, I'm don't want to have to debug that ever. > > Of course, using atomics is more complicated that using mutex (with > benefits that it will be faster wh

Re: [FFmpeg-devel] [PATCH 1/3] avutil: add staticpool

2018-01-20 Thread Muhammad Faiz
On Sat, Jan 20, 2018 at 5:22 PM, wm4 wrote: > On Sat, 20 Jan 2018 11:29:13 +0700 > Muhammad Faiz wrote: > >> Help avoiding malloc-free cycles when allocating-freeing common >> structures. >> >> Signed-off-by: Muhammad Faiz >> --- >> libavutil/staticpool.h | 117 >> +

Re: [FFmpeg-devel] [PATCH 1/3] avutil: add staticpool

2018-01-20 Thread Muhammad Faiz
On Sat, Jan 20, 2018 at 5:18 PM, wm4 wrote: > On Sat, 20 Jan 2018 12:52:46 +0700 > Muhammad Faiz wrote: > >> On Sat, Jan 20, 2018 at 11:49 AM, James Almer wrote: >> > On 1/20/2018 1:29 AM, Muhammad Faiz wrote: >> >> Help avoiding malloc-free cycles when allocating-freeing common >> >> structures

Re: [FFmpeg-devel] [PATCH 1/3] avutil: add staticpool

2018-01-20 Thread Muhammad Faiz
On Sat, Jan 20, 2018 at 6:32 PM, Rostislav Pehlivanov wrote: > On 20 January 2018 at 11:13, Rostislav Pehlivanov > wrote: > >> >> >> On 20 January 2018 at 10:22, wm4 wrote: >> >>> On Sat, 20 Jan 2018 11:29:13 +0700 >>> Muhammad Faiz wrote: >>> >>> > Help avoiding malloc-free cycles when allocat

Re: [FFmpeg-devel] [PATCH 1/3] avutil: add staticpool

2018-01-20 Thread Rostislav Pehlivanov
On 20 January 2018 at 11:13, Rostislav Pehlivanov wrote: > > > On 20 January 2018 at 10:22, wm4 wrote: > >> On Sat, 20 Jan 2018 11:29:13 +0700 >> Muhammad Faiz wrote: >> >> > Help avoiding malloc-free cycles when allocating-freeing common >> > structures. >> > >> > Signed-off-by: Muhammad Faiz

Re: [FFmpeg-devel] [PATCH 1/3] avutil: add staticpool

2018-01-20 Thread Rostislav Pehlivanov
On 20 January 2018 at 10:22, wm4 wrote: > On Sat, 20 Jan 2018 11:29:13 +0700 > Muhammad Faiz wrote: > > > Help avoiding malloc-free cycles when allocating-freeing common > > structures. > > > > Signed-off-by: Muhammad Faiz > > --- > > libavutil/staticpool.h | 117 ++

Re: [FFmpeg-devel] [PATCH 1/3] avutil: add staticpool

2018-01-20 Thread Hendrik Leppkes
On Sat, Jan 20, 2018 at 11:22 AM, wm4 wrote: > On Sat, 20 Jan 2018 11:29:13 +0700 > Muhammad Faiz wrote: > >> Help avoiding malloc-free cycles when allocating-freeing common >> structures. >> >> Signed-off-by: Muhammad Faiz >> --- >> libavutil/staticpool.h | 117 >>

Re: [FFmpeg-devel] [PATCH 1/3] avutil: add staticpool

2018-01-20 Thread wm4
On Sat, 20 Jan 2018 11:29:13 +0700 Muhammad Faiz wrote: > Help avoiding malloc-free cycles when allocating-freeing common > structures. > > Signed-off-by: Muhammad Faiz > --- > libavutil/staticpool.h | 117 > + > 1 file changed, 117 insertions(+

Re: [FFmpeg-devel] [PATCH 1/3] avutil: add staticpool

2018-01-20 Thread wm4
On Sat, 20 Jan 2018 12:52:46 +0700 Muhammad Faiz wrote: > On Sat, Jan 20, 2018 at 11:49 AM, James Almer wrote: > > On 1/20/2018 1:29 AM, Muhammad Faiz wrote: > >> Help avoiding malloc-free cycles when allocating-freeing common > >> structures. > >> > >> Signed-off-by: Muhammad Faiz > >> --- >

Re: [FFmpeg-devel] [PATCH 1/3] avutil: add staticpool

2018-01-19 Thread Muhammad Faiz
On Sat, Jan 20, 2018 at 11:49 AM, James Almer wrote: > On 1/20/2018 1:29 AM, Muhammad Faiz wrote: >> Help avoiding malloc-free cycles when allocating-freeing common >> structures. >> >> Signed-off-by: Muhammad Faiz >> --- >> libavutil/staticpool.h | 117 >> ++

Re: [FFmpeg-devel] [PATCH 1/3] avutil: add staticpool

2018-01-19 Thread James Almer
On 1/20/2018 1:29 AM, Muhammad Faiz wrote: > Help avoiding malloc-free cycles when allocating-freeing common > structures. > > Signed-off-by: Muhammad Faiz > --- > libavutil/staticpool.h | 117 > + > 1 file changed, 117 insertions(+) > create mod

[FFmpeg-devel] [PATCH 1/3] avutil: add staticpool

2018-01-19 Thread Muhammad Faiz
Help avoiding malloc-free cycles when allocating-freeing common structures. Signed-off-by: Muhammad Faiz --- libavutil/staticpool.h | 117 + 1 file changed, 117 insertions(+) create mode 100644 libavutil/staticpool.h diff --git a/libavutil/static