aboutsummaryrefslogtreecommitdiff
path: root/video/smk_decoder.cpp
AgeCommit message (Collapse)Author
2017-08-24VIDEO: Use new BitStreamMemory class for SmackerDecoderWillem Jan Palenstijn
2017-08-24COMMON: Remove BitStream base class to allow inlining callsWillem Jan Palenstijn
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-07-27VIDEO: Allow setting the mixer sound type used to play audio tracksBastien Bouclet
2016-09-10COMMON: Converted Common::BitStream to use DisposeAfterUsePaul Gilbert
2014-02-18VIDEO: Make GPL headers consistent in themselves.Johannes Schickel
2014-01-11VIDEO: Add support for multiple Smacker audio tracksMatthew Hoops
2014-01-01VIDEO: Rename variables and remove pointless assertionTorbjörn Andersson
It's RGB, not BGR apparently. This seems to contradict the Multimedia Wiki, but not reality.
2014-01-01VIDEO: Fix Smacker palette upscaling to match Multimedia WikiTorbjörn Andersson
The Multimedia Wiki suggests using a lookup table, but this should produce the same result.
2013-08-03VIDEO: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03VIDEO: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-05-28VIDEO: Wrap 8-bit smacker audio properlyThomas Fach-Pedersen
The accumulator 'bases' is 16-bit but when used in 8-bit audio we need to wrap as if 'bases' is 8-bit. Clipping on output is no longer required. This fixes noise in The Neverhood's in-game "making of" videos, particularly the section called "Construction, powertools & painting", hash 0x21080009. The intro video in The Neverhood is 16-bit audio and was not affected by this bug. No other videos or games have been tested.
2013-02-18VIDEO: Fix Smacker crash, as per madmoose's suggestionTorbjörn Andersson
Apparently, in some movies the Smacker decoder would peek ahead past the end of the bitstream, even though it didn't necessarily use all of those bits later. Fix that by first checking how many bits are still available. (This was originally reported for the mg1shoot.smk cutscene in the 4 CD version of The Feeble Files.)
2012-09-16VIDEO: Indent with tab, not spaces.Torbjörn Andersson
2012-08-20VIDEO: Implement rewinding Smacker audio tracksMatthew Hoops
2012-08-16VIDEO: Merge AdvancedVideoDecoder into VideoDecoderMatthew Hoops
2012-07-23VIDEO: Rewrite SmackerDecoder to use the new APIMatthew Hoops
2012-05-28VIDEO: Add volume/balance control to VideoDecoderMatthew Hoops
2012-05-12VIDEO: Change getElapsedTime() into getTime()Matthew Hoops
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-04-13VIDEO: Fix SMK 16bit audio on BE systemsSven Hesse
2011-08-28VIDEO: Use the BitStream implementation in CommonSven Hesse
Removing/Replacing the custom implementation
2011-07-19VIDEO: Fix typo with last commitMatthew Hoops
2011-07-19VIDEO: Better handle failing loading Smacker videosMatthew Hoops
2011-07-02VIDEO: Remove Bink header check from SmackerMatthew Hoops
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17VIDEO: Prefer Surface::create taking a PixelFormat over the one taking a ↵Johannes Schickel
byte depth. Certain codecs seem to use a Surface with Bpp 2, but do not have any proper format description. Whoever is maintaining these should check this commit and fix the format properly.
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-09VIDEO: In overloaded methods, invoke correct parent implementationMax Horn
This should not cause any code behavior changes at this time, but if any of the intermediate VideoDecoder classes ever starts to overload stuff, this would become important. svn-id: r55841
2011-02-07VIDEO: Rename VideoDecoder::load() to loadStream()Max Horn
svn-id: r55810
2011-02-07VIDEO: Inline SMK paletteMax Horn
svn-id: r55805
2011-02-07VIDEO: Fix a leak in the Smacker decoder.Alyssa Milburn
If audio was not yet started when a video was closed, the audio stream would be leaked. svn-id: r55802
2011-01-23VIDEO: Move video classes to Video:: namespaceEugene Sandulenko
svn-id: r55479
2011-01-23GRAPHICS: Move graphics/video/ to video/. Step 2/2Eugene Sandulenko
svn-id: r55474
2011-01-23GRAPHICS: Move graphics/video/ to video/. Step 1/2Eugene Sandulenko
svn-id: r55473