OSDN Git Service

sbc: Use of -funroll-loops option to improve SBC encoder performance
authorSiarhei Siamashka <siarhei.siamashka@nokia.com>
Wed, 21 Jan 2009 19:08:34 +0000 (21:08 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 30 Jul 2012 02:48:28 +0000 (19:48 -0700)
commit81261e138ec8cb36b08b3a4ff123dc405be086dc
treefad75a9f9e4c705bf2d4b6af465d1154a5ea23af
parentbec3d3989ba299c747f71d8fb26ef86de7eadefa
sbc: Use of -funroll-loops option to improve SBC encoder performance

Added the use of -funroll-loops gcc option for SBC. Also in
order to gain better effect, 'sbc_pack_frame' function
body moved to an inline function, which gets instantiated
for 4 different subbands/channels combinations. So that
'frame_subbands' and 'frame_channels' arguments become compile
time constants and can be better optimized by the compiler.
sbc/sbc.c
sbc/sbc_primitives.h