aboutsummaryrefslogtreecommitdiff
path: root/video/bink_decoder.cpp
AgeCommit message (Collapse)Author
2019-04-13COMMON: Use a prefix table to speed up the Huffman decoderBastien Bouclet
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-01VIDEO: Fix Bink clearing color commentBastien Bouclet
YUV 000 is a green, not black. Thanks DrMcCoy for noticing and fixing the issue.
2019-04-01VIDEO: Fix an integer overflow when dequantizing the DCT coeffsBastien Bouclet
See https://github.com/FFmpeg/FFmpeg/commit/2968bedf129558024ea87a1aabc4aa2d3a5bcb6e
2018-04-19JANITORIAL: Fix whitespaceAdrian Frühwirth
2017-10-08VIDEO: BINK: Fix plane data clobbering caused by incorrect pitch valueBastien Bouclet
When decoding blocks, the YUV planes' pitches were computed using the target video surface size instead of the block based size, resulting in decoded plane data being overwritten for some video sizes. Affected videos are LEOS-11102.bik and LEOS-11152.bik from Myst III.
2017-09-11JANITORIAL: Silence GCC 7 warningsTorbjörn Andersson
These fall throughs have to be deliberate, or they wouldn't have to check if mode equals 2 in the mode == 2 cases.
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-07-08VIDEO: Reduce BinkDecoder stack usageWillem Jan Palenstijn
See bug #6677.
2014-02-18VIDEO: Make GPL headers consistent in themselves.Johannes Schickel
2014-01-11VIDEO: Improve support for multiple Bink audio tracksMatthew Hoops
2013-01-09VIDEO: Silence C++11 narrowing warnings.Johannes Schickel
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-18GRAPHICS: Implement different luminance rangesMatthew Hoops
Bink and Theora are now much improved
2012-09-17GRAPHICS: Rework YUV->RGB code a bitMatthew Hoops
2012-09-07VIDEO: Add support for odd-sized Bink-videosEinar Johan Trøan Sømåen
2012-08-16VIDEO: Merge AdvancedVideoDecoder into VideoDecoderMatthew Hoops
2012-07-25VIDEO: Convert Bink to the new AdvancedVideoDecoder 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-02-09VIDEO: Fix the BINK decoder to play file whose width is 24pxBastien Bouclet
See https://ffmpeg.org/trac/ffmpeg/ticket/962
2012-01-09VIDEO: Small refactoring of the Bink DecoderBastien Bouclet
This allows subclassing the Bink decoder to add seeking support
2011-10-20Merge pull request #80 from DrMcCoy/newbitstreamEugene Sandulenko
COMMON: Rewrite Common::BitStream as a template
2011-09-18VIDEO: Fix Bink bundle count lenghts to be computed like ffmpeg does.Bastien Bouclet
Fixes several movies in Myst 3.
2011-08-27COMMON: Rewrite BitStream as a templateSven Hesse
This rewrites BitStream as a template, allowing for more different memory layouts of the actual bit data.
2011-08-06VIDEO: Remove incorrect TO_LE_16 calls from Bink audio code.Alyssa Milburn
2011-07-24VIDEO: Don't depend on IEEE floats for Bink audioSven Hesse
2011-07-19JANITORIAL: Fix MSVC warningsLittleboy
- Conversion from double to float - Unary minus operator applied to unsigned type - ARRAYSIZE redefinition
2011-07-19VIDEO: Use C++ versions of exp/ldexpMatthew Hoops
Should fix compilation on Mac PPC, and MinGW32 on buildbot
2011-07-19BINK decoder: Fixed compilation with MSVCFilippos Karapetis
2011-07-19COMMON: Renamed Integer Log2 function from log2 to intLog2.D G Turner
This avoids naming collisions with system libraries on some platforms i.e. DS, DC where the log2 is realised by macro.
2011-07-02VIDEO: Remember to call reset() from BinkDecoder::close()Matthew Hoops
2011-07-02VIDEO: Fix mismatched new[]/freeMatthew Hoops
2011-07-02VIDEO: Cleanup Bink a bitMatthew Hoops
- Fix playing videos back-to-back - Silence a cast warning
2011-07-02VIDEO: Fix Bink RDFT stereoMatthew Hoops
Thanks to DrMcCoy
2011-07-02VIDEO: Add Bink video decoderMatthew Hoops
Based on eos' code which is in turn based on FFmpeg's code