Commit Graph

921 Commits

Author SHA1 Message Date
Sven Hesse
679a8d6ad6 VIDEO: Recreate the audiostream if necessary
svn-id: r55324
2011-01-19 09:03:09 +00:00
Sven Hesse
2e30eca6d0 VIDEO: Don't segfault when no audiostream is present
svn-id: r55322
2011-01-19 09:02:07 +00:00
Sven Hesse
22c3e7b1de VIDEO: Don't assert() when a needed codec isn't compiled in
svn-id: r55317
2011-01-19 00:16:13 +00:00
Matthew Hoops
503fdb6147 GRAPHICS: Add a getSurface() function to JPEG to automatically convert to RGB
svn-id: r55301
2011-01-18 16:18:10 +00:00
Sven Hesse
94f5bec0f6 GOB: Fix Woodruff video offsets
svn-id: r55288
2011-01-18 07:03:12 +00:00
Sven Hesse
d509941eca VIDEO: Clip render rect to the surface's dimension
...And not to the video's. Oops :P

svn-id: r55285
2011-01-18 05:09:43 +00:00
Sven Hesse
da65a3cbf3 GOB: Fix the flow rate gauge in Urban Runner
svn-id: r55275
2011-01-17 09:48:42 +00:00
Sven Hesse
84cda62d1f VIDEO: Implement internal-codec 24bpp VMDs
svn-id: r55265
2011-01-16 16:41:27 +00:00
Sven Hesse
32b94cc236 VIDEO: Implement internal-codec 16bit VMDs
svn-id: r55263
2011-01-16 16:29:43 +00:00
Sven Hesse
faa66fc01a VIDEO: Add color mode methods
To query the video's color mode and notifying the decoder that
the system's color mode changed.

svn-id: r55259
2011-01-16 16:27:52 +00:00
Sven Hesse
afd101c526 VIDEO: Add range checks to deLZ77()
svn-id: r55258
2011-01-16 16:27:22 +00:00
Sven Hesse
23c1184d80 VIDEO: Simplying the video buffers
svn-id: r55257
2011-01-16 16:26:52 +00:00
Matthew Hoops
8ce55fbcde VIDEO: Reset the pause start time when seeking while paused
svn-id: r55239
2011-01-14 13:01:57 +00:00
Matthew Hoops
4e56df4dbd GRAPHICS: Begin to parse Win1 fonts based on our sole Hugo1 sample (still WIP)
svn-id: r55227
2011-01-13 16:06:35 +00:00
Matthew Hoops
095384b90f GRAPHICS: Use the pixel height instead of the ascent as the WinFont height
svn-id: r55224
2011-01-13 14:45:14 +00:00
Matthew Hoops
0f04b4609c VIDEO: Fix QuickTime timing when seeking without audio (thanks bgK)
svn-id: r55211
2011-01-11 21:33:23 +00:00
Matthew Hoops
3cb7224c10 VIDEO: Add seeking capability to QuickTimeDecoder
svn-id: r55203
2011-01-11 17:27:37 +00:00
Matthew Hoops
3bb5a9fe71 VIDEO: Add a SeekableVideoDecoder class
svn-id: r55202
2011-01-11 17:27:31 +00:00
Sven Hesse
3ac598624d BUILD: Include scummsys.h to force rebuild after reconfigure
svn-id: r55157
2011-01-08 03:36:21 +00:00
Willem Jan Palenstijn
6a28d05676 BUILD: Include scummsys.h to force rebuild after reconfigure (thanks LordHoto)
svn-id: r55156
2011-01-08 03:27:13 +00:00
Johannes Schickel
f9ebeb330b GRAPHICS: Some basic documentation for Font.
svn-id: r55143
2011-01-07 12:43:00 +00:00
Johannes Schickel
2817f80db8 GRAPHICS: Add some doxygen comments to Surface.
svn-id: r55142
2011-01-07 12:26:01 +00:00
Matthew Hoops
4e05e450c3 VIDEO: Mirror QuickTime's mishandling of its own mdat atoms
While the specs say that the 'mdat' ("media data") atom is required in all QuickTime files, QuickTime makes no check if the atom is actually present. This allows for some videos with typos in the atom tag in them to play in QuickTime anyway. The offsets in the 'stco' atom are only used instead.

This will fix a video in DS2 Mac and a music file in IHNM Mac (although this is not needed for either just yet).

svn-id: r55125
2011-01-05 18:06:46 +00:00
Matthew Hoops
bee912ff54 GRAPHICS: Add support for Windows FON/FNT fonts
As required by Hugo and Mohawk.

svn-id: r55120
2011-01-04 20:39:27 +00:00
Alyssa Milburn
7e0744aa4a VIDEO: Stop leaking surface data in several codecs.
svn-id: r55095
2011-01-02 14:57:49 +00:00
Filippos Karapetis
cc0b2b210f GRAPHICS: Fixed code analysis warnings (bug #3087917)
svn-id: r54964
2010-12-19 16:16:25 +00:00
Alyssa Milburn
eac4a64143 VIDEO: Add CDToons decoder
svn-id: r54936
2010-12-16 17:01:09 +00:00
Matthew Hoops
ebf2dd8d38 VIDEO: Extend Codec to support internal palettes
svn-id: r54932
2010-12-16 13:25:29 +00:00
Matthew Hoops
9285986e62 VIDEO: Make Codec::decodeImage() return a const Surface pointer
svn-id: r54930
2010-12-16 02:02:53 +00:00
Matthew Hoops
98a2bc8a9a VIDEO: Remove the need to call updateAudioBuffer() externally for QuickTime
svn-id: r54929
2010-12-16 01:49:29 +00:00
Matthew Hoops
1ead0d8436 VIDEO: Make VideoDecoder::getPalette() return a const byte pointer
svn-id: r54928
2010-12-16 01:41:11 +00:00
Matthew Hoops
375f32fbe9 VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointer
svn-id: r54927
2010-12-16 01:35:13 +00:00
Matthew Hoops
cf65709c45 VIDEO: Fix QuickTimeDecoder::hasDirtyPalette() by allocating the palette only for 8bpp videos
svn-id: r54849
2010-12-10 02:09:48 +00:00
Matthew Hoops
09abe6f151 VIDEO: Allow for 8bpp Cinepak videos
svn-id: r54841
2010-12-09 20:48:08 +00:00
Matthew Hoops
680b0d3172 VIDEO: Implement multiple video codec support for QuickTime
svn-id: r54840
2010-12-09 19:59:26 +00:00
Matthew Hoops
cf86141ca3 VIDEO: Fix a truncation in the SMC decoder (thanks, fuzzie)
svn-id: r54839
2010-12-09 13:36:23 +00:00
Max Horn
2180b2d6b5 COMMON: Split common/stream.h into several headers
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
a0df86955f ALL: Push down deps on stream.h from .h to .cpp files
svn-id: r54358
2010-11-19 01:37:04 +00:00
Max Horn
dbddd758d1 GRAPHICS: colour -> color
svn-id: r54287
2010-11-17 12:21:37 +00:00
Max Horn
abe1959d36 COMMON: Simplify DECLARE_SINGLETON macro
This makes it possible to write
  DECLARE_SINGLETON(foo);
instead of
  DECLARE_SINGLETON(foo)
without causing a warning about an extra semicolon.
The extra semicolon helps some editors at parsing the C++ code.

svn-id: r54258
2010-11-16 08:23:13 +00:00
Matthew Hoops
f4af4d2366 VIDEO: Switch Truemotion 1 to RGB565 for potential use with SCI CLUT tables
svn-id: r54231
2010-11-13 19:15:31 +00:00
Matthew Hoops
8e274749ed VIDEO: Add support for DK3 in videos; fix sample rate location
svn-id: r54205
2010-11-11 17:05:33 +00:00
Matthew Hoops
7207d920bc VIDEO: Cleanup AVI audio in preparation for DK3
svn-id: r54200
2010-11-11 13:23:26 +00:00
Matthew Hoops
5e8e77a814 VIDEO: Add the TrueMotion 1 codec for Phantasmagoria 2
Based on the FFmpeg decoder. Only the 16bpp version has been implemented (and all that should be needed). The videos I have tried work fine with the codec. The audio does not yet play in these videos, but I hope to work on DK3 IMA ADPCM soon.

svn-id: r54194
2010-11-11 04:53:52 +00:00
Matthew Hoops
d1bd2497a5 GRAPHICS: Enforce alphabetical order on the codec objects
svn-id: r54191
2010-11-10 19:18:39 +00:00
Sven Hesse
9c349cf78b VIDEO: PreIMD: End frame when stream depleted
As happens for the last frames in the Fascination videos.

svn-id: r54144
2010-11-08 17:03:27 +00:00
Max Horn
7e7ad149c2 GRAPHICS: Cleanup advmame scaler code; don't include assert.h
svn-id: r54104
2010-11-07 00:37:04 +00:00
Florian Kagerer
e4da5e3af4 GRAPHICS/SJIS: cleanup
svn-id: r54099
2010-11-05 20:36:13 +00:00
Florian Kagerer
4457d10f84 GRAPHICS/SJIS: fix out of bounds shadow mode text drawing
svn-id: r54080
2010-11-05 01:11:05 +00:00
Florian Kagerer
206971d16b SCUMM/FM-TOWNS JAPANESE: fix out of bounds text drawing
(could cause invalid memory access in MI1)

svn-id: r54079
2010-11-05 00:36:23 +00:00