depp / skelly64

Tools for creating Nintendo 64 games
Mozilla Public License 2.0
13 stars 0 forks source link

VADPCM + SIMD #4

Open depp opened 2 years ago

depp commented 2 years ago

Speed up the VADPCM decoder and (when it exists) encoder. See #2.

Currently this is committed to the sse2 branch, which is a temporary branch that will be squashed or rebased out of existence. It won't be merged until it is more production-ready.

Note that frame scale values > 12 will overflow this implementation. This could be fixed, but it may also be worth considering that scale values > 12 are even valid, and whether we could just consider it ill-formed data.