29 Commits

Author SHA1 Message Date
Le Philousophe 598581c32b VIDEO: Don't hardcode expected channels in PSX decoder
Still allow only one channel, but the channel number doesn't matter.
Also rename track to channel to follow the specifications.

Fixes Trac#15476.
2025-11-29 11:47:27 +08:00
Eugene Sandulenko 7b4cf177c9 VIDEO: Exit gracefully from PSX video deocoder when data is corrupted
Fixes Bug #14803 "SWORD2: Error during intro cutscene (Spanish Playstation version)"
and follows suggestion of davidmorom in the bugreport
2025-11-07 00:02:39 +01:00
Cameron Cawley 1c7e5a75c2 IMAGE: Unify the default pixel format for YUV codecs 2025-07-13 20:01:28 +03:00
Filippos Karapetis 9354d6c3e3 VIDEO: Render the first frame of PSX video files after they are loaded
Tested with the BS1 PSX videos. The PSX decoder now conforms to the
same behavior as the rest of the video decoders. This fixes a bug
uncovered in PR #6297
2025-03-01 22:12:38 +02:00
Paul Gilbert 3d71d8e08c COMMON: Move huffman.h to common/compression/ 2024-07-15 02:56:12 +02:00
Cameron Cawley 475354cb4c VIDEO: Implement setOutputPixelFormat() for PSXStreamDecoder 2023-04-05 12:45:13 +02:00
Cameron Cawley 0581301b24 COMMON: Move huffman.h back out of the compression directory 2022-12-11 22:33:23 +01:00
Eugene Sandulenko fb7095f5a4 COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
Cameron Cawley 47755b4b38 COMMON: Make better use of inlining in BitStream functions 2022-08-28 00:05:31 +03:00
Donovan Watteau 5b1ec56f96 JANITORIAL: Fix some lost or outdated URLs in comments 2022-05-19 07:57:31 +03:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Cameron Cawley b76652120b AUDIO: Separate the XA ADPCM decoder from the PSX video decoder 2020-08-24 14:21:00 +02:00
Bastien Bouclet 0f57aea2df COMMON: Use a prefix table to speed up the Huffman decoder
Symbols for codes shorter than the prefix table index width are stored
in the table. All the entries in the table with an index starting with
the code are set to the symbol value. That way, when decoding it is
possible to get the number of bits corresponding to the table width from
the bitstream and directly find the symbol value. Longer code still need
to be searched for in the codes list.
2019-04-13 16:24:25 +03:00
Willem Jan Palenstijn 47539e1939 VIDEO: Use new BitStreamMemory class for PSXStreamDecoder 2017-08-24 19:46:59 +02:00
Willem Jan Palenstijn dde259f068 COMMON: Remove BitStream base class to allow inlining calls
All users of BitStream were in fact using a specific, hardcoded variant,
so we can hardcode that variant, removing the need for virtual calls,
and enabling inlining.
2017-08-24 19:46:59 +02:00
Bastien Bouclet ec49730711 VIDEO: Allow setting the mixer sound type used to play audio tracks 2017-07-27 06:40:07 +02:00
Ori Avtalion 3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Johannes Schickel 8f3a923686 VIDEO: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
Matthew Hoops 43d264cb2f VIDEO: Fix uninitialized track pointers 2013-04-16 10:40:16 -04:00
Johannes Schickel 89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Matthew Hoops 09269fce8c GRAPHICS: Implement different luminance ranges
Bink and Theora are now much improved
2012-09-18 16:50:01 -04:00
Matthew Hoops 893a2b37ff GRAPHICS: Rework YUV->RGB code a bit 2012-09-17 19:30:46 -04:00
Matthew Hoops 18823198ad VIDEO: Merge AdvancedVideoDecoder into VideoDecoder 2012-08-16 14:00:14 -04:00
Matthew Hoops 24c97b8913 VIDEO: Move PSXStreamDecoder to the new VideoDecoder API 2012-07-21 17:31:00 -04:00
Matthew Hoops 10f7e805c2 VIDEO: Add volume/balance control to VideoDecoder 2012-05-28 14:00:16 -04:00
Matthew Hoops 9e330174c8 VIDEO: Change getElapsedTime() into getTime()
This name change accompanies a slight meaning change; now it means the current time position from the beginning of the video and not from starting the video.
2012-05-12 21:28:13 -04:00
Matthew Hoops 66cd8bdd68 VIDEO: Make PSX streams calculate frame timing solely from CD speed
BS2 videos now play at the proper rate and BS1 videos have improved a/v sync.
2012-02-23 22:48:18 +01:00
Matthew Hoops ee35d32a36 VIDEO: Implement PSX stream v3 frame support 2012-02-23 22:48:18 +01:00
Matthew Hoops 307908662a VIDEO: Add a PlayStation stream decoder
To be used for sword1/sword2 PSX video playback
2012-02-23 22:48:16 +01:00