Commit Graph

16 Commits

Author SHA1 Message Date
bnnm
c7a8e25ce8 Validate some bytes-to-samples and shadowing tweaks 2019-03-11 01:34:36 +01:00
bnnm
666d47ef84 Remove layout_interleave_byte as NGC_DSP_subint is used instead
The layout was designed to do subframe deinterleave (when
less-than-a-frame bytes of each channel are interleaved) in an array and
pass it to "mem" decoders.

In practice this only happens in a handful of formats, was only used
with DSP, and since making "mem" decoders is required it's simpler to
make normal decoders handling the byte layout directly.

In an effort to simplify vgmstream's layouts, code, and other esoteric
features I changed the old decode_ngc_dsp_mem for decode_ngc_dsp_subint;
results are byte-exact.
2017-12-06 21:12:42 +01:00
bnnm
98b4f8c5b1 Add NGC DSP subinterleave decoder
Meant to replace layout_interleave_byte
2017-12-06 21:04:04 +01:00
bnnm
272b55cb3e Add DSP hist utils 2017-08-12 18:39:56 +02:00
bnnm
d6f6798569 Add pcm/dsp/ps_bytes_to_samples helpers 2017-04-07 16:23:43 +02:00
bnnm
068284ff09 Add dsp_read_coefs_le 2017-01-25 22:20:01 +01:00
bnnm
14d2363670 Moved dsp_read_coefs_be to ngc_dsp_decoder.c 2017-01-13 23:56:48 +01:00
bnnm
86ba7a6a23 Remove some old DEBUG code 2017-01-08 02:58:52 +01:00
halleyscometsw
ec94c0d3c5 add support for Wii fsb from Metroid Prime 2, required a new layout type
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@316 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-07-14 13:30:26 +00:00
halleyscometsw
d43777fd57 ifdef, not if
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@138 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-16 22:53:46 +00:00
halleyscometsw
2a686eeea2 consolidate headers
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@89 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-05-06 03:35:37 +00:00
halleyscometsw
2d04ecf01a add Cstr (lots of checking), add company names to metadata formats, some dsp looping debugging stuff (with DEBUG defined)
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@62 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-04-02 16:11:53 +00:00
halleyscometsw
bb82bd32f8 resigned to cheating with adpcm hist at loop for std dsp and rs03
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@59 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-03-31 20:17:07 +00:00
halleyscometsw
b5c0a6a6a7 revise nibble to sample count conversion
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@55 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-03-25 07:27:14 +00:00
halleyscometsw
f2a9f60807 Add HALPST (.hps), unify blocked layouts.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@38 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-03-04 07:15:25 +00:00
halleyscometsw
8ef08e93cb Add AFC decoding and .afc file reading. Rename DSP files and fcns.
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@35 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-03-03 21:38:11 +00:00