Commit Graph

157 Commits

Author SHA1 Message Date
bnnm
a809a7c628 Add Omikron: The Nomad Soul IMA ADPCM coding and meta 2017-01-25 20:25:39 +01:00
bnnm
1d95cfc138 Normalize coding style to understand IMAs better + highlight differences
There are no functional differences, all IMAs give byte-exact results
compared to prev versions
2017-01-25 20:19:13 +01:00
Christopher Snowhill
05a33eee1e And this fixes that broken decoder in the event of starting on odd samples. 2017-01-16 22:26:08 -08:00
bnnm
2d52bc2921 Wrong func definition 2017-01-14 22:41:37 +01:00
bnnm
376b4acbb2 Minor func rename (ffmpeg_make_riff_xma2_from_fmt) 2017-01-14 22:25:15 +01:00
bnnm
14d2363670 Moved dsp_read_coefs_be to ngc_dsp_decoder.c 2017-01-13 23:56:48 +01:00
bnnm
f5750ba2cc Moved make_riff_x to ffmpeg_decoder.c (only actually used by FFmpeg)
Also added make_riff_xma2_from_fmt_be
2017-01-13 23:47:52 +01:00
bnnm
86ba7a6a23 Remove some old DEBUG code 2017-01-08 02:58:52 +01:00
bnnm
7e520162a3 FFmpeg: remove ACCURATE_LOOPING flag now it's battle-tested
It's fast enough and the older looping code would need to be redone
anyway
2017-01-08 02:54:18 +01:00
bnnm
c7c1564d9f Minor cleanups (no functionality changes)
- added comments, code alignment for clarity
- renamed some decoders for consistency (ex. eaxa > ea_xa, invert_psx >
psx_bmdx, vgm_adpcm_cfg > psx_cfg)
- removed layout_dkt_interleave (same as nolayout)
- removed skip_last_channel (not used anymore)
- removed meta_DSP_HALP (not used anymore)
2017-01-08 01:09:20 +01:00
Christopher Snowhill
8ef18d71ee Fix C99-ism that MSVC 2010 doesn't like. 2017-01-02 10:27:27 -08:00
bnnm
ee5a40224d Added PS ADPCM of configurable frame size (FF XI, Blur, Afrika)
This fuses the FF XI/BSF/Short VAG decoder variants into a single one
(FF XI alone has 4 possible frame sizes); also fixed FF XI sample rate
and some cleanup.
2016-12-29 23:34:21 +01:00
bnnm
790bb79cc9 Allow to disable mpg123 stderr output for recoverable MPEGs (FSBs) 2016-12-28 01:38:56 +01:00
bnnm
08a1a50ccb Fixed regression/segfault in multistream .mtaf [MGS3]; cleanup
Apparently some MTAF ripped with an old tool contain block data, and a
previous change attempted to support them. This broke multistream MTAF
(block header starts with 0x01, and frame header starts with 0x00, but
also 0x01 in multistreams).
Those MTAF should be re-ripped without blocks.
2016-12-27 14:35:23 +01:00
bnnm
ea7b8d2570 Added short VAG variation (SGXD type 5 found in PS3 Afrika) 2016-12-21 23:00:34 +01:00
bnnm
0b3050cf0a Added PSVita HEVAG (original algorithm by daemon1) 2016-12-21 20:44:16 +01:00
bnnm
cdfd47eb7b FFmpeg: expose block/frame size, rename totalFrames for clarity 2016-12-10 15:53:29 +01:00
bnnm
c5c97c4027 Fixed discard in edge cases 2016-12-03 18:17:37 +01:00
bnnm
0faa3286aa Don't manually check framesRead and rely on FFmpeg's EOFs
FFmpeg's duration isn't always reliable (ie. bad headers) and the
decoder detects EOFs already, extra decoding attempts should be ignored.
This way vgmstream can use other values without modifying
ffmpeg_codec_data's state.
2016-12-03 11:42:38 +01:00
bnnm
609bfb5d61 Minor fixes and cleanup 2016-12-01 23:49:00 +01:00
bnnm
f5da8281e2 Move FFmpeg reset to ffmpeg_decoder (cleanup) 2016-12-01 19:58:51 +01:00
bnnm
2754f05b11 Move FFmpeg looping to ffmpeg_decoder for further changes (cleanup) 2016-11-30 23:48:49 +01:00
bnnm
b9db20283d FFmpeg: keep block size constant (for edge loops), don't write on EOF 2016-11-29 20:22:20 +01:00
Christopher Snowhill
537dc454a5 Merge pull request #41 from bnnm/build-fixes
Build fixes: FFMPEG support in test/winamp
2016-11-20 11:36:37 -08:00
bnnm
cda61c3eeb simplify slightly discarding 2016-11-20 18:55:00 +01:00
bnnm
729658a19c fix discard samples (looping works now) + document 2016-11-20 15:39:21 +01:00
bnnm
81d1f410a1 Fix missing decode_hca 2016-11-15 23:45:02 +01:00
Christopher Snowhill
59b49aa99c Updated PS2 MTAF decoder for features in the format that had yet to be discovered. 2016-08-24 17:33:18 -07:00
Christopher Snowhill
42c00f304b Add rollback to FFmpeg loop seeking, since FFmpeg doesn't seem to institute any rollback of its own. 2016-08-14 15:18:34 -07:00
Chris Moeller
cbe9bc3d6b Added FFmpeg support, and fixed a long standing issue with broken loops locking up the decoder. 2016-07-16 23:02:27 -07:00
Chris Moeller
33563f4e7c Add HCA support. 2016-06-28 00:20:37 -07:00
Chris Moeller
4bfa73f31a Replace references to long with int32_t, fixing several sample decoders on 64 bit platforms 2015-08-02 00:20:57 -07:00
libertyernie
346d18cce4 Ensure that Ogg Vorbis output is in host endian 2015-05-13 13:11:24 -05:00
Chris Moeller
1ad884287b Added G.719 decoding support to BNSF input 2015-01-24 21:08:25 -08:00
Brandon
85325442ba Fixes compile error if VGM_USE_MP4V2 and VGM_USE_FDKAAC are not defined 2014-08-05 00:59:58 -07:00
halleyscometsw
44075c4e91 clean up some warning-causing ugliness 2014-06-26 21:12:48 -07:00
soneek
a2af756764 hcs's update for IMA decoder 2014-06-01 20:19:05 -04:00
Chris Moeller
bd85ad76e8 Fixed mono AT3 decoding, and simplified n-channel decoding 2013-06-26 11:13:44 -07:00
Chris Moeller
ae4863b0bf Clarified AT3plus as such 2013-06-26 04:36:57 -07:00
Chris Moeller
27f5a4c7fe Fixed AT3 looping 2013-06-26 03:46:31 -07:00
Chris Moeller
98e90f8a25 Implemented ATRAC3plus support 2013-06-26 02:54:15 -07:00
Chris Moeller
634845b1ce Added preprocessor blocking around MP4/AAC parts 2013-06-13 17:42:24 -07:00
Chris Moeller
b3f81260f5 Fixed MP4 handler passing the end of the stream 2012-08-30 19:33:56 -07:00
Chris Moeller
52a645d2e5 Modified to support fdk-aac sample sizes larger than 16 bits 2012-08-30 17:56:57 -07:00
Chris Moeller
460aeceb6f Implemented MP4 AAC support for iOS AKB format 2012-08-30 05:35:12 -07:00
halleyscometsw
b070e7d038 remove an extraneous free(), thanks to Lioncash for spotting it
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@995 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2012-08-28 14:00:20 +00:00
halleyscometsw
8f7faebedd support an improved form of ADX encryption
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@967 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-08-20 12:00:01 +00:00
halleyscometsw
69f4a4445f proper credits for MTAF
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@949 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-05-15 00:40:17 +00:00
halleyscometsw
d321549532 accurate MTAF decoding
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@948 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-05-14 08:00:40 +00:00
halleyscometsw
efe54a554e a few fixes for audacious
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@942 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2011-05-07 11:27:40 +00:00