254 Commits

Author SHA1 Message Date
Sven Hesse
989ea7cb56 JANITORIAL: Remove trailing whitespace 2013-07-14 19:01:47 +02:00
clone2727
279c9f7841 Merge pull request #343 from clone2727/mpeg2-avi
Add back support for sword1/2 MPEG-2 cutscenes
2013-07-05 15:28:06 -07:00
Matthew Hoops
7da9b342aa VIDEO: Fix Indeo3 luma scale
Now black is really black
2013-06-30 23:25:46 -04:00
Matthew Hoops
b1a993ace0 VIDEO: Switch Indeo3 decoding to using the common YUV410 conversion code
It now runs much faster and looks better too. Thanks to DrMcCoy for testing.
2013-06-30 17:53:49 -04:00
Sven Hesse
4b3f5149b5 VIDEO: Add hypothetical 32bpp support 2013-06-30 19:07:04 +02:00
Sven Hesse
231586d924 VIDEO: Add hypothetical 32bpp support 2013-06-30 19:00:17 +02:00
Matthew Hoops
1ff09c581b VIDEO: Mark AVIDecoder as being used by sword1/sword2 2013-06-20 19:56:39 -04:00
Matthew Hoops
aa2d41701d VIDEO: Allow AVI frame rate to be overriden with a constant
Required for sword1/sword2 MPEG videos
2013-06-20 00:04:37 -04:00
Matthew Hoops
f39c9d58bd VIDEO: Hook up MPEG decoder to AVI 2013-06-20 00:02:50 -04:00
Matthew Hoops
0b81e59d0a VIDEO: Update AVI code for parsing sword1/sword2 MPEG-2 files 2013-06-20 00:02:32 -04:00
Matthew Hoops
36bc47df44 VIDEO: Add an MPEG 1/2 decoder 2013-06-19 23:59:04 -04:00
Thomas Fach-Pedersen
c3de517fb4 VIDEO: Wrap 8-bit smacker audio properly
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-05-28 00:58:10 +02:00
Eugene Sandulenko
0638308ef1 Merge pull request #330 from johndoe123/neverhood
NEVERHOOD: Neverhood engine
2013-05-15 09:19:34 -07:00
Willem Jan Palenstijn
1022996309 Merge branch 'master' 2013-05-08 20:47:44 +02:00
johndoe123
060287a4f8 NEVERHOOD: Improve frame-exact seeking for Scene2802
Thanks to clone2727 for his help!
2013-05-08 20:47:38 +02:00
Max Horn
814aa2e8b7 VIDEO: Remove unused CDToonsDecoder::_currentFrame member var 2013-04-18 23:50:20 +02:00
Matthew Hoops
43d264cb2f VIDEO: Fix uninitialized track pointers 2013-04-16 10:40:16 -04:00
Matthew Hoops
1d778360fe VIDEO: Fix potential memory leak when adding a stream file track 2013-04-15 18:35:11 -04:00
Matthew Hoops
ef098e2898 VIDEO: Fix potential memory leak when buffering a QuickTime frame 2013-04-15 18:33:54 -04:00
Sven Hesse
fad5cf7243 VIDEO: Fix a typo (minus vs. plus) in the VMD decoder 2013-04-13 15:22:06 +02:00
Torbjörn Andersson
21ed47ce13 VIDEO: Fix Smacker crash, as per madmoose's suggestion
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.)
2013-02-18 20:12:35 +01:00
Johannes Schickel
59dde54519 Merge pull request #301 from lordhoto/c++11-playground
RFC: Allow use of override and nullptr. Also allow C++11 compilation.
2013-01-26 05:25:14 -08:00
Filippos Karapetis
866961bde9 VIDEO: Hook some more of our ADPCM decoder variants to our AVI video decoder
Information for the AVI audio track format IDs has been taken from libav.
Thanks to clone2727 for his great help on this.
2013-01-26 03:43:15 +02:00
Einar Johan Trøan Sømåen
5d4d65d6d9 JANITORIAL: Fix ){ -> ) { 2013-01-24 20:15:13 +01:00
Johannes Schickel
0e3f8d68c4 VIDEO: Silence C++11 narrowing warnings. 2013-01-09 07:24:37 +01:00
D G Turner
b65b196e56 VIDEO: Add support for missing copyFrame type in FLIC decoder.
Thanks to Tomaz^ for this patch.
2012-12-26 02:41:31 +00:00
Matthew Hoops
ce1268b73d VIDEO: Allow for QuickTime movies to be played backwards
Still doesn't handle videos with multiple edits
2012-12-15 20:43:43 -05:00
Matthew Hoops
9ae56146bb VIDEO: Add API changes to allow videos to be played backwards 2012-12-15 20:41:41 -05:00
clone2727
91317c3630 Merge pull request #293 from clone2727/qtmidi
Add support for QuickTime Music playback
2012-12-13 15:49:40 -08:00
Matthew Hoops
0bcd441405 VIDEO: Fix seeking when playing with a custom rate 2012-12-13 17:46:02 -05:00
Matthew Hoops
81ea69cd33 VIDEO: Fix setRate when _lastTimeChange is less than a frame
Thanks to bgK for noticing
2012-12-09 13:56:06 -05:00
Matthew Hoops
1f233be2e4 VIDEO: Add some documentation to Codec and its derivatives 2012-12-04 21:15:44 -05:00
Matthew Hoops
285e1be135 VIDEO: Improve performance of the Cinepak decoder 2012-12-04 20:19:00 -05:00
Matthew Hoops
3b581a3b68 VIDEO: Rework the way the next video track is selected
Fixes missing the last frame in some decoders
2012-12-02 22:15:11 -05:00
Einar Johan Trøan Sømåen
cf87fcba85 VIDEO: Include surface.h in bink_decoder.h 2012-11-27 01:54:59 +01:00
Matthew Hoops
121faeaa94 VIDEO: Add preliminary API functions for seeking to a frame 2012-11-26 17:44:36 -05:00
Matthew Hoops
db908fcdc4 VIDEO: Add support for playing videos at a modified speed
Currently this only works for positive (forward) playback, but will eventually work for negative (backward).
2012-11-24 01:03:36 -05:00
D G Turner
46027e5303 VIDEO: Fix SVQ1 videos to error out on B Frames. 2012-11-18 21:00:07 +00:00
D G Turner
d2c2c5ec01 VIDEO: Fix compiler warning in SVQ1 codec. 2012-11-18 20:52:47 +00:00
Matthew Hoops
51b2904cc1 VIDEO: Improve a Cinepak heuristic
Brings it inline with the FFmpeg/libav version again
2012-11-14 18:30:54 -05:00
Matthew Hoops
6a1fa88b56 VIDEO: Clarify some VideoDecoder documentation 2012-11-14 13:35:16 -05:00
Einar Johan Trøan Sømåen
880ac5d494 VIDEO: Mark Theora-decoder as used by Wintermute. 2012-10-23 21:48:47 +02:00
Matthew Hoops
64389c0643 VIDEO: Fix edits with scales not divisible by the media scale
QuickTime docs aren't completely clear on this, but from samples it's clear that the value needs to be rounded
2012-10-12 13:37:32 -04:00
Matthew Hoops
075d0b4812 VIDEO: Fix choosing of the correct edit when seeking
Previously it could be off-by-one
2012-10-12 13:36:23 -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
64e1483102 VIDEO: Make sure track pause status is reset upon stop too 2012-09-23 21:04:40 -04:00
Matthew Hoops
48c70d872e VIDEO: Fix pausing audio in videos 2012-09-22 15:03:15 -04:00
Willem Jan Palenstijn
23de059262 VIDEO: Make getCurFrame declaration consistent
The declaration used int32 while the definition used int.
This should fix building on AmigaOS4 (bug #3570577).
2012-09-21 22:35:15 +02:00
clone2727
2e4ee0b2d0 Merge pull request #275 from clone2727/pegasus
Pegasus engine (The Journeyman Project: Pegasus Prime)
2012-09-20 13:17:39 -07:00
Matthew Hoops
173dace75b VIDEO: Fix SVQ1 color on right/bottom borders 2012-09-19 15:58:18 -04:00