Commit Graph

76 Commits

Author SHA1 Message Date
Sven Hesse
21163f5ae1 Add some more drawing constraints, so prevent overflowing the video memory
svn-id: r43902
2009-09-01 21:53:00 +00:00
Matthew Hoops
0cd8599082 Rename the WAVE_* constants to AVI_WAVE_* to fix compile on WinCE.
svn-id: r43839
2009-08-30 21:04:20 +00:00
Filippos Karapetis
32ff93bdc7 Named some unnamed enums. Hopefully, this will fix compilation under WinCE.
svn-id: r43836
2009-08-30 20:41:17 +00:00
Matthew Hoops
d8e93836c5 Add an AVI player and MSVideo1 codec for use with some SCI Windows game (such as kq6).
svn-id: r43833
2009-08-30 19:47:14 +00:00
Eugene Sandulenko
5f8fafcc13 Patch #2836424: "Optional compilation of CoktelVideo and Indeo3"
svn-id: r43807
2009-08-29 19:48:01 +00:00
Sven Hesse
e673bd5b95 Fixing some problems when calling the player with muted output
svn-id: r43643
2009-08-22 13:11:55 +00:00
Sven Hesse
1471f0e3dd When ESCing videos, seek to the last frame that was meant to be played. Fixes graphical glitches (bug #2830985) and crashes (bug #2830988)
svn-id: r42995
2009-08-02 10:40:27 +00:00
Sven Hesse
5213cf9aa2 Adding a SoundType parameter to SmackerDecoder, defaulting to kSFXSoundType
svn-id: r42887
2009-07-29 10:17:44 +00:00
Sven Hesse
f5e9aa67c4 Changing stuff around a bit so alignment requirements won't increase
svn-id: r42857
2009-07-28 15:19:55 +00:00
Sven Hesse
14114bf397 Abstracting off the block types from Imd::renderFrame() and Vmd::renderFrame()
svn-id: r42851
2009-07-27 19:01:17 +00:00
Sven Hesse
997f7b9a3b Reverting my fix for bug #2037158 ("In-Game animation shifted(?)"), because it breaks Woodruff's intro
svn-id: r42809
2009-07-26 13:50:18 +00:00
Sven Hesse
32d74a2247 Adding more sanity checks to Vmd::renderFrame()
svn-id: r42783
2009-07-25 18:44:24 +00:00
Sven Hesse
8d9e3de37c Adding support for (new-style) stereo in DPCM audio
svn-id: r42782
2009-07-25 18:44:06 +00:00
Sven Hesse
6de1975b65 Fixing Woodruff videos again after enabling block type 2 transparency
svn-id: r42768
2009-07-25 16:09:19 +00:00
Sven Hesse
3668895abc CoktelVideo cleanup: Splitting up some IMD methods and removing the obsolete notifyPaused()
svn-id: r42715
2009-07-24 21:36:42 +00:00
Sven Hesse
54b63ac239 Moving all implementations into the cpp
svn-id: r42714
2009-07-24 21:36:16 +00:00
Sven Hesse
c4baedc6db Renaming getAnchor() to getFrameCoords()
svn-id: r42713
2009-07-24 21:35:57 +00:00
Sven Hesse
8396e20713 Fixing bytes per pixel detection
svn-id: r42712
2009-07-24 21:35:06 +00:00
Sven Hesse
b2154f612d Adding stubs for newer VMDs found in Addy 5
svn-id: r42710
2009-07-24 21:34:17 +00:00
Sven Hesse
6e79ba66c9 Properly reading the video codec fourcc, in case we need other codecs in the future
svn-id: r42708
2009-07-24 21:33:22 +00:00
Sven Hesse
bf768ecfb7 Calculating the number of data bytes per initial sound slice, because relying on the standard amount doesn't work for some videos
svn-id: r42707
2009-07-24 21:32:45 +00:00
Sven Hesse
adc537161a Adding subtitle support to Woodruff
svn-id: r42705
2009-07-24 21:31:00 +00:00
Sven Hesse
44fb798a3a Adding support for ADPCM sound data (yet another IMA ADPCM variant). What we've called ADPCM before is more like DPCM
svn-id: r42704
2009-07-24 21:29:41 +00:00
Sven Hesse
c78ed9e423 Adding transparency for VMD video block type 2, fixing bug #2037158 ("n-Game animation shifted(?)"). The problem was that the animation in question has an one pixel wide transparent bar on the left
svn-id: r42690
2009-07-24 10:45:25 +00:00
Torbjörn Andersson
aa50dd61e9 Got rid of ioFailed(). I haven't actually tested it, but we don't use the MPEG
decoder at the moment, and it was only used in the BACKEND_8BIT case anyway.

svn-id: r42484
2009-07-14 16:45:18 +00:00
Sven Hesse
aac58c80cc Removing ioFailed() usage and fixing a leak in case of error
svn-id: r42469
2009-07-14 08:57:55 +00:00
Sven Hesse
8a7a81ed30 Warn instead of crash when a video frame part was found although the header says there's no video
svn-id: r42286
2009-07-09 09:39:51 +00:00
Filippos Karapetis
ec38b77b00 Changed the bitstream buffer used to initialize the big Huffman trees to be a normal byte array, instead of a Common::Array
svn-id: r41356
2009-06-07 22:34:03 +00:00
Filippos Karapetis
6dd009c153 Formatting
svn-id: r41354
2009-06-07 22:17:44 +00:00
Filippos Karapetis
0c5dd48395 Applied madmoose's patch from bug report #2794216 - "Loading large Smacker movies is slow"
svn-id: r41353
2009-06-07 22:15:28 +00:00
Filippos Karapetis
5e94e688e9 Reserve some space in the Huffman tree arrays before starting to decode the Huffman trees. Hopefully, this will speed up the tree constructing phase somewhat
svn-id: r40900
2009-05-26 07:25:12 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Johannes Schickel
6e93825b2e Move Indeo3 static data from indeo3data.h to indeo3.cpp.
svn-id: r40762
2009-05-21 13:38:52 +00:00
Torbjörn Andersson
2e04f52638 I'm no longer sure I've really seen case 12 happen, so don't mention it.
svn-id: r40761
2009-05-21 13:28:32 +00:00
Filippos Karapetis
b7f8990ba8 Renamed the DXA, SMK and FLIC video decoders to reflect the fact that they're decoders, not players
svn-id: r40759
2009-05-21 13:02:56 +00:00
Filippos Karapetis
11251cf296 Moved the Coktel video player into its own subdirectory
svn-id: r40755
2009-05-21 10:48:03 +00:00
Torbjörn Andersson
50b77d876d Added comment and warning message about possibly missing cases.
svn-id: r40752
2009-05-21 09:58:12 +00:00
Torbjörn Andersson
f3f0be30fd Fixed indentation. (Don't worry, it's just a small change, and it matches the
original FFmpeg code, as far as I can tell.)

svn-id: r40749
2009-05-21 07:23:48 +00:00
Sven Hesse
43f58b2869 Moving CoktelVideo (IMD/VMD) and the Indeo3 code (needed for Urban Runner's VMDs) to graphics/video/
svn-id: r40744
2009-05-20 20:41:10 +00:00
Filippos Karapetis
6ec870303f - Reverted commit #40730, as it introduced rounding errors
- Properly fixed the FLIC player
- The sound chunk tag of DXA files is now read by the DXADecoder's loadFile() method

svn-id: r40736
2009-05-20 10:43:18 +00:00
Filippos Karapetis
e358b13ef9 Changed calculations based on frame delay to be based on the scale of 1ms, not 1/100. This fixes the FLIC player and also makes the overall code a bit clearer and easier to understand
svn-id: r40730
2009-05-19 19:56:53 +00:00
Filippos Karapetis
4f6bc50615 Some fixes to the video decoders, thanks to salty-horse's comments
svn-id: r40729
2009-05-19 17:39:03 +00:00
Torbjörn Andersson
da9b2868e0 The 'frameSize' variable isn't used at the moment.
svn-id: r40640
2009-05-17 08:57:35 +00:00
Filippos Karapetis
6f0b6b5aed Changed the FLIC player to the common VideoDecoder interface. Note that currently the double animation in Bud Tucker's intro credits is broken, as the second background animation is not played
svn-id: r40638
2009-05-17 08:44:20 +00:00
Travis Howell
bce47e7eb6 Add initial support for DOS non-interactive demos of The Feeble Files.
svn-id: r40619
2009-05-16 05:34:16 +00:00
Max Horn
e080a59337 Renamed SMKPlayer -> SmackerDecoder and DXAPlayer -> DXADecoder, as well as some other tweaks
svn-id: r39255
2009-03-09 03:45:23 +00:00
Eugene Sandulenko
ef1e3ebc3c Patch #2658710: "Add comments to specify which engines use which decoders"
svn-id: r39236
2009-03-08 15:57:59 +00:00
Johannes Schickel
5417f6bacb - Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.

svn-id: r38304
2009-02-15 21:20:21 +00:00
Filippos Karapetis
781d7da6b1 Applied my patch for the BS1/2 video player
- Support for the MPEG2 videos in BS1/2 has been dropped. The MPEG2 videos were lossy, and support for them complicated the code a lot.
- Support for the non-existing enhanced MPEG cutscene packs for BS1 has been dropped. As a consequence, the credits player and the splitted audio stream players used for these packs has been removed
- The original Smacker videos for both games are now supported, using our Smacker player (which is based off publically available specs and FFMPEG)
- The animations now use the common video player code. Both the Smacker videos and our DXA video packs are supported

svn-id: r38236
2009-02-15 13:29:48 +00:00
Max Horn
341bc64aaf do not include common/debug.h from common/util.h
svn-id: r36143
2009-01-30 05:25:17 +00:00