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
Max Horn
65b5d31814
COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
...
svn-id: r40725
2009-05-19 11:42:14 +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
8d8e9d3aaa
Must include common/scummsys.h in graphics/pixelformat.h because it uses type 'byte'
...
svn-id: r40513
2009-05-12 23:28:49 +00:00
Eugene Sandulenko
8f4a2c1476
Silence warnings. Const correctness
...
svn-id: r40347
2009-05-06 09:12:58 +00:00
Kari Salminen
d85e3b72d2
Add color component bit count (rBits, gBits, bBits, aBits) and maximum value (rMax, gMax, bMax, aMax) convenience functions to PixelFormat-struct (If someone objects to adding these, holler and/or revert this commit, I can live without 'em but they'd ease some parts of Cine::Palette-code).
...
svn-id: r39711
2009-03-27 20:56:15 +00:00
Johannes Schickel
cd8eeb7e47
Oops forgot one line in last commit, now the file should compile cleanly with mingw64.
...
svn-id: r39555
2009-03-20 00:12:45 +00:00
Johannes Schickel
d806ef2769
Fix compilation on mingw64.
...
svn-id: r39554
2009-03-20 00:11:22 +00:00
Nicola Mettifogo
cbf9996abb
* Improved ILBMDecoder to also handle files with width non divisible by 8.
...
* Changed PackBitsReadStream to discard padding bytes on ditto files.
svn-id: r39410
2009-03-15 06:20:52 +00:00
Vicent Marti
9e54b1c963
Fixed bug #2619802 (Game name overwrites scroll bar).
...
svn-id: r39335
2009-03-11 20:39:31 +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
Joost Peters
2b8eba751e
Honour alpha bits in applyScreenShading() (used in "add game", "edit game" and "options" dialogs).
...
svn-id: r38478
2009-02-18 13:48:14 +00:00
Joost Peters
22340b6c3d
Use 4444 overlay on PSP (instead of 1555).
...
svn-id: r38475
2009-02-18 13:28:52 +00:00
Vicent Marti
a2c9faed29
Fixed bug #2609755 (GUI memory corruption).
...
svn-id: r38447
2009-02-17 20:50:30 +00:00
Johannes Schickel
b8d2c41cdd
Remove VECTOR_RENDERER_FORMAT check and related documentation.
...
svn-id: r38405
2009-02-17 12:20:40 +00:00
Johannes Schickel
2bb7b23748
Change formatting to match our code guidelines.
...
svn-id: r38382
2009-02-16 21:19:02 +00:00
Johannes Schickel
11862f3db3
Cleanup.
...
svn-id: r38381
2009-02-16 21:17:14 +00:00
Johannes Schickel
0d927db838
Removed obsolete FIXME.
...
svn-id: r38380
2009-02-16 21:06:28 +00:00
Lars Persson
c4fb8cf4f1
Fixed VectorRenderSpec for no fancy theme!
...
svn-id: r38377
2009-02-16 19:07:41 +00:00
Max Horn
f86403ed22
Attempt to fix compilation problems on MSVC 7 (I wonder why it compiled elsewhere, actually ;)
...
svn-id: r38314
2009-02-15 22:14:04 +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
Joost Peters
7fc7216175
add assert(g_system) for backends that call InitScalers() from their OSystem ctor (at which point g_system is still NULL)
...
svn-id: r36332
2009-02-14 18:16:21 +00:00
Max Horn
4dbbbc1358
GUI: Fixed long-standing bug in calcGradient (gradients look a bit better now)
...
svn-id: r36311
2009-02-13 19:24:32 +00:00
Max Horn
b1038f97a2
Changed DotMatrix to use pixelformat instead of bitformat/colormasks
...
svn-id: r36310
2009-02-13 19:22:52 +00:00
Max Horn
aa25651331
cleanup
...
svn-id: r36309
2009-02-13 19:00:46 +00:00
Max Horn
d13acd8daf
cleanup
...
svn-id: r36289
2009-02-13 00:11:16 +00:00
Max Horn
a351648358
Rewrote VectorRendererSpec & VectorRendererAA to use a Graphics::PixelFormat, instead of relying on color masks -> should fix bug #2537212 , possibly at a slow down on low-end systems (a regression which we certainly could resolve, though). Note: I left the PixelType template param in on purpose, in case we want one day to compile in both 16 and 32 bit pixel support simultaneously
...
svn-id: r36288
2009-02-13 00:03:13 +00:00
Max Horn
5f634212aa
GUI renderer: some cleanup; added comment on sqrt implementation (on my system, plain sqrt is 50x faster -- on highest optimization levels, otherwise it is something like 200x)
...
svn-id: r36277
2009-02-12 04:34:57 +00:00
Joost Peters
d23474fcf9
1555 is ABGR (not ARGB)
...
svn-id: r36257
2009-02-10 23:38:07 +00:00
Filippos Karapetis
f1ebbebd7b
Silenced MSVC warning (MSVC is being silly here...)
...
svn-id: r36185
2009-02-01 20:52:53 +00:00
Marcus Comstedt
f90e4545c2
Merged r36175 from branch-0-13-0:
...
Fixed alpha blending in the UI dialogs by adding alpha
computation to the blendPixelPtr() function. To minimize
impact, pre-multiplied alpha is assumed, meaning that the
blending of the R, G and B components is the same both
with and without hardware alpha.
svn-id: r36177
2009-02-01 14:56:19 +00:00
Max Horn
e354c4b4f2
Got rid of VectorRenderer::surfacePitch() & VectorRenderer::bytesPerPixel(): the latter was not used, for the former it is silly to go through a virtual method to compute that value; all in all, this code performs too many unnecessary divisions ;)
...
svn-id: r36151
2009-01-30 16:18:58 +00:00
Max Horn
f465abb75d
Removed unused area convolution code from VectorRenderer
...
svn-id: r36148
2009-01-30 15:43:45 +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
Max Horn
ac59693be2
A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
...
svn-id: r36127
2009-01-29 05:26:12 +00:00
Max Horn
1c0d2c5ab9
Fixed hq2x ASM scaler
...
svn-id: r36115
2009-01-27 21:44:24 +00:00
Max Horn
b6c17e396b
Re-enabled ASM versions of HQx scalers (oops)
...
svn-id: r36099
2009-01-27 14:48:49 +00:00
Max Horn
e338205066
Added new interpolate16_1_1_1_1 func, got rid of interpolate32_1_1_1_1
...
svn-id: r36090
2009-01-27 01:46:29 +00:00
Max Horn
379fe274df
Replaced small lookup table in 2xsai by direct computation
...
svn-id: r36089
2009-01-27 01:35:21 +00:00
Max Horn
97153f9c3b
Removed interpolate16_2 and interpolate16_3
...
svn-id: r36088
2009-01-27 01:29:22 +00:00