aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2009-01-07Initialize DXA buffers to 0 when they're allocatedFilippos Karapetis
svn-id: r35775
2009-01-07Move videoPalette inside setPalette(), as it's only used thereFilippos Karapetis
svn-id: r35774
2009-01-07Further merging of the SMK and DXA players (the FLIC player is not done yet):Filippos Karapetis
- Added a new class, VideoPlayer(), from which both the SMK and the DXA player inherit. This class provides generic functions and public methods for the inherited video classes. Default implementations have been made for these public methods, and the virtual ones can be overriden in inherited classes - There is now a default implementation of the function that sets the video palette - A basic video player for inherited classes has been added with method playVideo(). This is able to play a fullscreen non-interactive video, which can be skipped with events set by the caller. Postprocessing methods, which draw upon each frame (e.g. subtitles) can be done by implementing performPostProcessing() - The FTA2 movie player now uses the new playVideo() method - The new video player code is compatible with the old one (i.e. no changes to the existing engine code are necessary), but it's now possible to reduce engine code for video playing considerably svn-id: r35772
2009-01-06An attempt to unify the different video players (FLIC player is not finished ↵Filippos Karapetis
yet) - step 1 svn-id: r35757
2009-01-06Specify that implementations of setPalette() should use an RGB paletteFilippos Karapetis
svn-id: r35755
2009-01-05Workaround issue in Graphics::Surface code on HaikuMax Horn
svn-id: r35745
2009-01-05Added a copyFrameToBuffer() method to the FLIC player too, like in the other ↵Filippos Karapetis
players svn-id: r35742
2009-01-05Added Doxygen-like comments to the FLIC player, and changed it a bit to have ↵Filippos Karapetis
similar method names as the DXA and Smacker players. Also, removed the convenience method hasFrames(), as it's the same as getFrameCount() > 0 svn-id: r35741
2009-01-05Removed unused reference to OSystemFilippos Karapetis
svn-id: r35740
2009-01-03Proper lag calculation even if the SMK has no audioSven Hesse
svn-id: r35698
2009-01-01Cleanup.Johannes Schickel
svn-id: r35657
2009-01-01Fingolfin says: If an #ifdef __SYMBIAN32__ is needed here, the Symbian folks ↵Max Horn
should add it. In the meantime, this FIXME comment serves no purpose :) svn-id: r35652
2008-12-31Removed Graphics::ImageMan. Nothing uses itMax Horn
svn-id: r35638
2008-12-31Clarified some ImageMan doxygen commentsMax Horn
svn-id: r35629
2008-12-27Adding support for specifying an index that will be ignored when building ↵Sven Hesse
the PaletteLUT (for transparent values that should never be found) svn-id: r35584
2008-12-27Adding a magic id and a version number to the PaletteLUT cacheSven Hesse
svn-id: r35582
2008-12-27Initializing the lookahead values, too. No more valgrind warnings anymore :)Sven Hesse
svn-id: r35581
2008-12-27Fixing the invalid read (BitStream having a 2 byte lookahead and all :P)Sven Hesse
svn-id: r35579
2008-12-27Turned FSNode into a ArchiveMember subclass; removed the now obsolete ↵Max Horn
FSDirectoryMember; moved FSDirectory from common/archive.h to common/fs.h svn-id: r35578
2008-12-27The BitStream class has a 2 byte lookahead. Hopefully, this will fix the ↵Filippos Karapetis
invalid reads in the audio stream svn-id: r35577
2008-12-26Fix for the SliderWidget glitch when showing very small values (and ↵Jordi Vilalta Prat
potentially for other small widgets) svn-id: r35557
2008-12-24Silenced signed/unsigned warningFilippos Karapetis
svn-id: r35531
2008-12-24Documenting the dither code a bit more and removing SierraLight's not needed ↵Sven Hesse
height argument svn-id: r35530
2008-12-24Moving the dither code to graphics/Sven Hesse
svn-id: r35526
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-12-22Fix the rendering of stroked tabsJordi Vilalta Prat
svn-id: r35479
2008-12-21Move all video players to separate directoryEugene Sandulenko
svn-id: r35470
2008-12-21Fix warnings.Travis Howell
svn-id: r35462
2008-12-21Fixed compilationFilippos Karapetis
svn-id: r35461
2008-12-21Return exact frame rate in Smacker player, and minor cleanup.Travis Howell
svn-id: r35458
2008-12-21Add initial Smacker support for The Feeble Files.Travis Howell
svn-id: r35457
2008-12-19Hopefully fixed invalid buffer readsFilippos Karapetis
svn-id: r35446
2008-12-19memset()ing the output image with 0 at the startSven Hesse
svn-id: r35438
2008-12-19Some slight cleanupFilippos Karapetis
svn-id: r35435
2008-12-19Making curPos an uint32, so that it won't overflow anymoreSven Hesse
svn-id: r35433
2008-12-19Fixing 16bit audioSven Hesse
svn-id: r35432
2008-12-19Adding convenience functions to get the time to wait for the next frame, ↵Sven Hesse
while keeping A/V sync svn-id: r35431
2008-12-18Fixing 8bit audioSven Hesse
svn-id: r35430
2008-12-18Oops, base values are read in the correct order nowFilippos Karapetis
svn-id: r35426
2008-12-18Audio support for Smacker videos. Audio doesn't sound right yet, thoughFilippos Karapetis
svn-id: r35425
2008-12-18Fixed warnings. Hopefully without breaking anything.Torbjörn Andersson
svn-id: r35420
2008-12-17Some more Smacker audio code (still non-functional)Filippos Karapetis
svn-id: r35415
2008-12-17- Added some disabled code for Smacker audio support (still incomplete, not ↵Filippos Karapetis
working yet) - Made the _image buffer protected instead of private (in case it's coped directly to the screen and not an intermediate buffer) svn-id: r35411
2008-12-16- Some more commentsFilippos Karapetis
- The audio header is now decoded properly (still no audio support) svn-id: r35392
2008-12-16- Added some commentsFilippos Karapetis
- Removed _paletteDidChange, as the virtual setPalette() function is called back on every palette change - Some cleanup - Removed unused/unneeded functions and variables - Changed _frameTypes to hold bytes instead of 32-bit integers (since frame types are held within a byte) svn-id: r35391
2008-12-16Synced Smacker player with ffmpeg revision #16143Filippos Karapetis
svn-id: r35390
2008-12-15Initialize palette when loading a new Smacker file - all palette colors ↵Filippos Karapetis
should show correctly now svn-id: r35387
2008-12-15- Removed the blockRuns arrayFilippos Karapetis
- Added some comments svn-id: r35386
2008-12-15Mirror last Smacker changes.Travis Howell
svn-id: r35383
2008-12-15SMK player: do not include headers that are not needed, do not expose ↵Max Horn
internal _fileStream for no apparent reason svn-id: r35382