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:
parent
fbf52ae8fe
commit
e1dd10ddfb
10 changed files with 578 additions and 241 deletions
|
@ -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_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue