aboutsummaryrefslogtreecommitdiff
path: root/graphics/video
AgeCommit message (Collapse)Author
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-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-01-30do not include common/debug.h from common/util.hMax Horn
svn-id: r36143
2009-01-29A ton of code formatting fixes; also fixed warnings about single line loops ↵Max Horn
like 'while(cond);' by inserting newlines svn-id: r36127
2009-01-25TUCKER: modified flic playback to make use of dirtyrectsGregory Montoir
svn-id: r36060
2009-01-23Renamed Archive::openFile to createReadStreamForMemberMax Horn
svn-id: r36021
2009-01-22Got rid of several occurrences of gBitFormatMax Horn
svn-id: r35995
2009-01-22Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. ↵Max Horn
into methods, and added an operator== svn-id: r35993
2009-01-11Stop recalculating the x and y coordinates for every frame in playVideo()Filippos Karapetis
svn-id: r35819
2009-01-11Oops... *really* fixed compilationFilippos Karapetis
svn-id: r35818
2009-01-11Fixed compilationFilippos Karapetis
svn-id: r35817
2009-01-11Committed a modified version of wjp's patch for the video player:Filippos Karapetis
- Split the video player from the video decoders. It's now possible to have one video player for multiple decoders - Added the palette weight calculation from the BS1 engine into VideoPlayer::setPalette. It's now possible to find the values of the white and black colors via getWhite() and getBlack() (useful for subtitle overlays) - Adapted FTA2's movie playing code to the new changes to video player - Fixed a slight bug in the DXA decoder (_videoinfo.startTime was not initialized) svn-id: r35816
2009-01-07Reduced header depsMax Horn
svn-id: r35781
2009-01-07videoIsLoaded() -> isVideoLoaded()Filippos Karapetis
svn-id: r35777
2009-01-07Clear the screen to black before showing a video with playVideo() (it's ↵Filippos Karapetis
meant to play full screen videos) svn-id: r35776
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-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
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-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-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-12-21Move all video players to separate directoryEugene Sandulenko
svn-id: r35470