Commit Graph

8 Commits

Author SHA1 Message Date
bnnm
46e6883d25 ahx: fix key detection in some cases 2022-12-31 18:36:11 +01:00
bnnm
c46e23fa1f cleanup: move bitstream reader 2022-12-31 18:34:26 +01:00
bnnm
514517b812 Add AHX key auto-detection and fix decryption 2022-12-31 17:31:46 +01:00
bnnm
cc4f70806f Fix CRLF<>LF for some files 2019-11-10 21:26:31 +01:00
bnnm
409a10172a Improve MPEG FSB/EA-MP3/AHX reads 2019-10-27 23:55:32 +01:00
bnnm
7d9e5a93e4 Make MPEG custom decoder use their own data buffer instead sharing one
In rare cases (ex. EALayer3) mpg123 may need several passes to feed one
stream's data buffer, and meanwhile other streams would overwrite it
2017-12-01 20:02:30 +01:00
bnnm
fadb999207 Add AHX type 0x08 decryption, with .ahxkey files (16b*3, start/mult/add) 2017-08-04 21:48:55 +02:00
bnnm
d54492cb95 Update MPEG "interleaved" decoder: now "custom", restructured, added AHX
To support future MPEGs of uncertain layout and frame variations (namely
EALayer3) the code has been restructured: mpeg_decoder does stream
procesing and decoding, while mpeg_custom_utils_x does init and parsing
(write to data buffer + update offsets), per MPEG subtype. Internals
have changed but still gives byte-exact results.
AHX has been adapted to this format as a test. Some modes
(P3D/EALayer3/LyN/AWC) are defined for later development but will fail
on init ATM.
2017-07-29 23:14:04 +02:00