Commit Graph

23 Commits

Author SHA1 Message Date
bnnm
20d523055a cleanup: includes 2021-07-29 17:36:43 +02:00
bnnm
d4209c2d43 Greatly improve HCA key detection 2021-03-14 16:28:35 +01:00
bnnm
ae909de292 Improve HCA v3.0 2021-03-10 22:17:15 +01:00
bnnm
8dcc485583 Add partial support for HCA v3.0 (ongoing) [Uma Musume (Android)] 2021-03-07 23:20:21 +01:00
bnnm
579b734083 Cleanup 2020-07-26 20:15:26 +02:00
bnnm
c728301989 Cleanup 2020-07-18 00:27:53 +02:00
bnnm
27bcba48a9 Codec internal cleanup and moved out of vgmstream.h 2020-07-16 21:43:01 +02:00
bnnm
40e2099fea Fix installed TXTP loops in HCA files 2019-05-23 23:47:53 +02:00
bnnm
e4465fc117 Fix .hca key detection for newer Tales of the Rays files 2019-04-09 20:41:23 +02:00
bnnm
28ce248992 Increase blank skips for rarer Dragalia Lost songs 2018-12-23 13:35:43 +01:00
bnnm
aeaf2c0b8c Increase blank skips for rare Dragalia Lost songs 2018-12-23 01:54:50 +01:00
bnnm
87972f55eb Improve HCA key detection for small/silent HCA [Dragalia Lost (iOS)] 2018-12-22 19:44:30 +01:00
bnnm
eaa176864c Simplify debug off_t casting for easier build
Also reorder some custom opus funcs that don't depend on ffmpeg
2018-12-01 18:52:30 +01:00
bnnm
ec0043bf6b Improve HCA key testing 2018-10-13 19:50:42 +02:00
bnnm
7d91ef1432 Cast off_t to off64_t when printf'ing for future 4GB file support 2018-09-23 03:01:13 +02:00
bnnm
9c0db7cae3 Improve HCA/clHCA key detection
- Only test keys when file is encrypted
- Add clHCA_TestBlock to test a frame with the current key
- Move some key detection code to hca_decoder.c and simplify hca.c
detection
- Decrease number of test frames due to increased accuracy of
clHCA_TestBlock
2018-09-02 16:00:58 +02:00
bnnm
fd52fe0e95 Clean clHCA lib 3 (API)
- rename clHCA_DecodeSamples16 to clHCA_ReadSamples16 since it isn't
really decoding
- divide clHCA_Decode into clHCA_DecodeHeader and clHCA_DecodeBlock to
clarify usage
- unify clHCA_IsOurFile0/1 since one would need to call
clHCA_DecodeHeader right after it anyway
- add clHCA_SetKey for easier key handling
- adapt vgmstream wrapper
2018-09-01 20:28:00 +02:00
bnnm
43764d6c8d Fix HCA num samples/looping [Binary Domain (PC), Octopath Traveller]
Decoder has been modified a bit so it's easier to feed an arbitrary
number of discard samples (or at least, easier for me to understand),
since encoder delay can be >1024 (frame size) and would make some calcs
go all wobbly
2018-08-29 23:42:47 +02:00
bnnm
9a2a2e4c2e Export extra sample values in clHCA_getInfo 2018-08-29 20:48:35 +02:00
bnnm
411fa498bb Clean HCA meta/decoder for future changes 2018-08-29 20:05:31 +02:00
bnnm
3ad6261208 Add check when calling free/seek/reset codec
It's possible to set a "coding" that triggers calls to the above while
codec_data is still null, when using special layouts like AAX
2018-03-10 16:59:00 +01:00
bnnm
6cf0195d25 Move reset/seek/free code to decoders (vgmstream.c cleanup) 2017-04-29 22:37:15 +02:00
Chris Moeller
33563f4e7c Add HCA support. 2016-06-28 00:20:37 -07:00