summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmapro/wmaprodec.h
diff options
context:
space:
mode:
authorMohamed Tarek <mt@rockbox.org>2010-07-26 22:03:20 +0000
committerMohamed Tarek <mt@rockbox.org>2010-07-26 22:03:20 +0000
commit5dd8c53b960d0b6680a0555a99e3232a5f890d07 (patch)
treee69f972fa214d6ef2587a885120b190b5577b788 /apps/codecs/libwmapro/wmaprodec.h
parent87d59ab56c30eadc4691a41ba7540cca868c9b50 (diff)
downloadrockbox-5dd8c53b960d0b6680a0555a99e3232a5f890d07.zip
rockbox-5dd8c53b960d0b6680a0555a99e3232a5f890d07.tar.gz
rockbox-5dd8c53b960d0b6680a0555a99e3232a5f890d07.tar.bz2
rockbox-5dd8c53b960d0b6680a0555a99e3232a5f890d07.tar.xz
Modify the wma pro decoder to produce non-interleaved samples, and work directly on the buffers in WMAProDecCtx instead to avoid the redundant copying of the output data. ~10% speedup (-2MHz) on pp502x and ~1.5% speedup (-3.8Mhz)
on mcf2049. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27583 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwmapro/wmaprodec.h')
-rw-r--r--apps/codecs/libwmapro/wmaprodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libwmapro/wmaprodec.h b/apps/codecs/libwmapro/wmaprodec.h
index 3203dda..2e7d01a 100644
--- a/apps/codecs/libwmapro/wmaprodec.h
+++ b/apps/codecs/libwmapro/wmaprodec.h
@@ -28,4 +28,4 @@
int decode_init(asf_waveformatex_t *wfx);
int decode_packet(asf_waveformatex_t *wfx,
- void *data, int *data_size, void* pktdata, int size);
+ int32_t *dec[2], int *data_size, void* pktdata, int size);