Commit Graph

12 Commits

Author SHA1 Message Date
Le Philousophe
dec0427eda VIDEO: Fix HNM audio desynchronization 2022-01-12 09:10:40 +01:00
Le Philousophe
bcd0e6f354 VIDEO: Don't make use of Stream classes
This slows down everything because we do a lot of small reads.
Read the whole frame once and read in the buffer.
2022-01-09 11:53:51 +01:00
Le Philousophe
6352de724a VIDEO: Implement UBB2 (aka HNM5) decoding 2022-01-08 22:24:14 +01:00
Le Philousophe
3f01f8301c VIDEO: Fix audio stereo decoding.
The differential PCM is applied for each channel independently
2022-01-08 22:24:14 +01:00
Le Philousophe
c6383c472e VIDEO: Rework HNM decoder to make it handle different versions of format
For now nothing new: HNM4(A) format is supported and HNM5 has a
placeholder.
2022-01-08 22:24:14 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Cameron Cawley
8744e2300b VIDEO: Initial support for UBB2 videos
Currently only handles the audio track.
2021-10-04 18:37:25 +02:00
Le Philousophe
9a31a8926c VIDEO: HNM channels attribute is not channels but some kind of format
Sound is mono when this attribute is at 2
2021-04-17 21:49:33 +03:00
Le Philousophe
bf7ddf6a70 VIDEO: HNM Postprocessing simplification
Don't pass flags to various decoding blocks thay don't need it.
Unifiy frame handling in a unique procedure which handles deinterlacing.
Don't memcpy with HNM4A frames, point the surface at framebuffer
2021-04-17 21:48:47 +03:00
Cameron Cawley
46e696d417 CRYO: Use the common HNM decoder 2021-04-17 21:48:46 +03:00
Cameron Cawley
d38567bfd9 VIDEO: Support decoding older HNMv4 variants 2021-04-17 21:48:46 +03:00
Cameron Cawley
d9fe53efb2 CRYOMNI3D: Move HNMDecoder into common code 2021-04-17 21:48:45 +03:00