Re: [FFmpeg-devel] [PATCH] aacenc: optimize cost cache.

2016-03-06 Thread Reimar Döffinger
On Wed, Mar 02, 2016 at 07:19:08PM +, Rostislav Pehlivanov wrote: > > -entry->cb = cb; > > -entry->rtz = rtz; > > + cb, 1.0f, INFINITY, &entry->bits, > > &entry->energy, 0); > > +*cache_state = cb; > > } > > -if (bits) > > -

Re: [FFmpeg-devel] [PATCH] aacenc: optimize cost cache.

2016-03-02 Thread Rostislav Pehlivanov
On 1 March 2016 at 23:34, Reimar Döffinger wrote: > Avoids trashing the CPU cache each time the > cost cache is cleared. > --- > libavcodec/aaccoder_twoloop.h | 20 > libavcodec/aacenc.c | 7 +-- > libavcodec/aacenc.h | 4 +--

Re: [FFmpeg-devel] [PATCH] aacenc: optimize cost cache.

2016-03-01 Thread Reimar Döffinger
On 02.03.2016, at 04:34, Ganesh Ajjanagadde wrote: > On Tue, Mar 1, 2016 at 6:34 PM, Reimar Döffinger > wrote: >> Avoids trashing the CPU cache each time the >> cost cache is cleared. > > Just curious as to roughly the magnitude of perf improvement? No > comments on the patch itself. Didn't me

Re: [FFmpeg-devel] [PATCH] aacenc: optimize cost cache.

2016-03-01 Thread Ganesh Ajjanagadde
On Tue, Mar 1, 2016 at 6:34 PM, Reimar Döffinger wrote: > Avoids trashing the CPU cache each time the > cost cache is cleared. Just curious as to roughly the magnitude of perf improvement? No comments on the patch itself. [...] ___ ffmpeg-devel mailing