Re: [FFmpeg-devel] [PATCH] aacenc_utils: Use temporary variable.

2016-03-08 Thread Reimar Döffinger
On Tue, Mar 08, 2016 at 10:45:41PM +, Rostislav Pehlivanov wrote: > On 6 March 2016 at 20:26, Reimar Döffinger wrote: > > > This ensures gcc does not create unnecessary > > loads or stores and possibly even does not vectorize > > the negation. > > Speeds up mp3 to aac transcoding with default

Re: [FFmpeg-devel] [PATCH] aacenc_utils: Use temporary variable.

2016-03-08 Thread Rostislav Pehlivanov
On 6 March 2016 at 20:26, Reimar Döffinger wrote: > This ensures gcc does not create unnecessary > loads or stores and possibly even does not vectorize > the negation. > Speeds up mp3 to aac transcoding with default settings > by 10% when using "gcc (Debian 5.3.1-10) 5.3.1 20160224". > > Signed-o

[FFmpeg-devel] [PATCH] aacenc_utils: Use temporary variable.

2016-03-06 Thread Reimar Döffinger
This ensures gcc does not create unnecessary loads or stores and possibly even does not vectorize the negation. Speeds up mp3 to aac transcoding with default settings by 10% when using "gcc (Debian 5.3.1-10) 5.3.1 20160224". Signed-off-by: Reimar Döffinger --- libavcodec/aacenc_utils.h | 5 +++--