aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2009-06-03Revert last change, better to wait for 16bit backend support.Travis Howell
svn-id: r41131
2009-06-03Update thumbnail code to capture RGB565 screen.Travis Howell
svn-id: r41130
2009-05-28Tweak the hq2x/hq3x a little bit (interpolation code is little bit shorter, ↵Max Horn
faster and easier to read... but 70+% of the time is spent on computing diffYUV etc. anyway, so I guess this a bit pointless... whatever... ;) svn-id: r40964
2009-05-26Reserve some space in the Huffman tree arrays before starting to decode the ↵Filippos Karapetis
Huffman trees. Hopefully, this will speed up the tree constructing phase somewhat svn-id: r40900
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-21Move Indeo3 static data from indeo3data.h to indeo3.cpp.Johannes Schickel
svn-id: r40762
2009-05-21I'm no longer sure I've really seen case 12 happen, so don't mention it.Torbjörn Andersson
svn-id: r40761
2009-05-21Renamed the DXA, SMK and FLIC video decoders to reflect the fact that ↵Filippos Karapetis
they're decoders, not players svn-id: r40759
2009-05-21Moved the Coktel video player into its own subdirectoryFilippos Karapetis
svn-id: r40755
2009-05-21Added comment and warning message about possibly missing cases.Torbjörn Andersson
svn-id: r40752
2009-05-21Fixed indentation. (Don't worry, it's just a small change, and it matches theTorbjörn Andersson
original FFmpeg code, as far as I can tell.) svn-id: r40749
2009-05-20Moving CoktelVideo (IMD/VMD) and the Indeo3 code (needed for Urban Runner's ↵Sven Hesse
VMDs) to graphics/video/ svn-id: r40744
2009-05-20- Reverted commit #40730, as it introduced rounding errorsFilippos Karapetis
- 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-19Changed calculations based on frame delay to be based on the scale of 1ms, ↵Filippos Karapetis
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-19Some fixes to the video decoders, thanks to salty-horse's commentsFilippos Karapetis
svn-id: r40729
2009-05-19COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are ↵Max Horn
deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses) svn-id: r40725
2009-05-17The 'frameSize' variable isn't used at the moment.Torbjörn Andersson
svn-id: r40640
2009-05-17Changed the FLIC player to the common VideoDecoder interface. Note that ↵Filippos Karapetis
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-16Add initial support for DOS non-interactive demos of The Feeble Files.Travis Howell
svn-id: r40619
2009-05-12Must include common/scummsys.h in graphics/pixelformat.h because it uses ↵Max Horn
type 'byte' svn-id: r40513
2009-05-06Silence warnings. Const correctnessEugene Sandulenko
svn-id: r40347
2009-03-27Add color component bit count (rBits, gBits, bBits, aBits) and maximum value ↵Kari Salminen
(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-20Oops forgot one line in last commit, now the file should compile cleanly ↵Johannes Schickel
with mingw64. svn-id: r39555
2009-03-20Fix compilation on mingw64.Johannes Schickel
svn-id: r39554
2009-03-15* Improved ILBMDecoder to also handle files with width non divisible by 8.Nicola Mettifogo
* Changed PackBitsReadStream to discard padding bytes on ditto files. svn-id: r39410
2009-03-11Fixed bug #2619802 (Game name overwrites scroll bar).Vicent Marti
svn-id: r39335
2009-03-09Renamed SMKPlayer -> SmackerDecoder and DXAPlayer -> DXADecoder, as well as ↵Max Horn
some other tweaks svn-id: r39255
2009-03-08Patch #2658710: "Add comments to specify which engines use which decoders"Eugene Sandulenko
svn-id: r39236
2009-02-18Honour alpha bits in applyScreenShading() (used in "add game", "edit game" ↵Joost Peters
and "options" dialogs). svn-id: r38478
2009-02-18Use 4444 overlay on PSP (instead of 1555).Joost Peters
svn-id: r38475
2009-02-17Fixed bug #2609755 (GUI memory corruption).Vicent Marti
svn-id: r38447
2009-02-17Remove VECTOR_RENDERER_FORMAT check and related documentation.Johannes Schickel
svn-id: r38405
2009-02-16Change formatting to match our code guidelines.Johannes Schickel
svn-id: r38382
2009-02-16Cleanup.Johannes Schickel
svn-id: r38381
2009-02-16Removed obsolete FIXME.Johannes Schickel
svn-id: r38380
2009-02-16Fixed VectorRenderSpec for no fancy theme!Lars Persson
svn-id: r38377
2009-02-15Attempt to fix compilation problems on MSVC 7 (I wonder why it compiled ↵Max Horn
elsewhere, actually ;) svn-id: r38314
2009-02-15- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.Johannes Schickel
- 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-15Applied my patch for the BS1/2 video playerFilippos Karapetis
- 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-14add assert(g_system) for backends that call InitScalers() from their OSystem ↵Joost Peters
ctor (at which point g_system is still NULL) svn-id: r36332
2009-02-13GUI: Fixed long-standing bug in calcGradient (gradients look a bit better now)Max Horn
svn-id: r36311
2009-02-13Changed DotMatrix to use pixelformat instead of bitformat/colormasksMax Horn
svn-id: r36310
2009-02-13cleanupMax Horn
svn-id: r36309
2009-02-13cleanupMax Horn
svn-id: r36289
2009-02-13Rewrote VectorRendererSpec & VectorRendererAA to use a ↵Max Horn
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-12GUI renderer: some cleanup; added comment on sqrt implementation (on my ↵Max Horn
system, plain sqrt is 50x faster -- on highest optimization levels, otherwise it is something like 200x) svn-id: r36277
2009-02-101555 is ABGR (not ARGB)Joost Peters
svn-id: r36257
2009-02-01Silenced MSVC warning (MSVC is being silly here...)Filippos Karapetis
svn-id: r36185
2009-02-01Merged r36175 from branch-0-13-0:Marcus Comstedt
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-01-30Got rid of VectorRenderer::surfacePitch() & ↵Max Horn
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