forked from len0rd/rockbox
ARM targets: Making a few functions non-static allows us to get rid of -ffunction-sections, significantly decreasing binary size and making things run a bit faster because static functions are no longer long_call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12349 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5dd08e17e9
commit
471d881979
8 changed files with 56 additions and 40 deletions
|
|
@ -75,8 +75,9 @@ static uint32_t enc_size;
|
|||
static int32_t err IBSS_ATTR;
|
||||
|
||||
/* convert unsigned 32 bit value to 80-bit floating point number */
|
||||
static void uint32_h_to_ieee754_extended_be(uint8_t f[10], uint32_t l) ICODE_ATTR;
|
||||
static void uint32_h_to_ieee754_extended_be(uint8_t f[10], uint32_t l)
|
||||
STATICIRAM void uint32_h_to_ieee754_extended_be(uint8_t f[10], uint32_t l)
|
||||
ICODE_ATTR;
|
||||
STATICIRAM void uint32_h_to_ieee754_extended_be(uint8_t f[10], uint32_t l)
|
||||
{
|
||||
int32_t exp;
|
||||
|
||||
|
|
@ -192,8 +193,9 @@ static bool on_end_file(struct enc_file_event_data *data)
|
|||
return true;
|
||||
} /* on_end_file */
|
||||
|
||||
static void enc_events_callback(enum enc_events event, void *data) ICODE_ATTR;
|
||||
static void enc_events_callback(enum enc_events event, void *data)
|
||||
STATICIRAM void enc_events_callback(enum enc_events event, void *data)
|
||||
ICODE_ATTR;
|
||||
STATICIRAM void enc_events_callback(enum enc_events event, void *data)
|
||||
{
|
||||
if (event == ENC_WRITE_CHUNK)
|
||||
{
|
||||
|
|
@ -219,8 +221,8 @@ static void enc_events_callback(enum enc_events event, void *data)
|
|||
} /* enc_events_callback */
|
||||
|
||||
/* convert native pcm samples to aiff format samples */
|
||||
static void chunk_to_aiff_format(uint32_t *src, uint32_t *dst) ICODE_ATTR;
|
||||
static void chunk_to_aiff_format(uint32_t *src, uint32_t *dst)
|
||||
STATICIRAM void chunk_to_aiff_format(uint32_t *src, uint32_t *dst) ICODE_ATTR;
|
||||
STATICIRAM void chunk_to_aiff_format(uint32_t *src, uint32_t *dst)
|
||||
{
|
||||
if (num_channels == 1)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue