1
0
Fork 0
forked from len0rd/rockbox

SWCODEC: Get rid of extra swap buffer and get back 512K of RAM or 100K if the players RAM is <= 1MB. Make any needed changes to things to stabilize and facilitate this including removing flattening out initialization. Comment some things heavily. Fix a few logfs I didn't want to see the compiler complaining about.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12843 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2007-03-19 22:04:17 +00:00
parent fbf52ae8fe
commit e1dd10ddfb
10 changed files with 578 additions and 241 deletions

View file

@ -24,4 +24,15 @@
void memset16(void *dst, int val, size_t len);
/**
* memswap128
*
* Exchanges the contents of two buffers.
* For maximum efficiency, this function performs no aligning of addresses
* and buf1, buf2 and len should be 16 byte (128 bit) aligned. Not being at
* least longword aligned will fail on some architechtures. Any len mod 16
* at the end is not swapped.
*/
void memswap128(void *buf1, void *buf2, size_t len);
#endif /* _MEMORY_H_ */