aboutsummaryrefslogtreecommitdiff
path: root/graphics/video
AgeCommit message (Collapse)Author
2010-06-17Fixed a few cppcheck errors.Torbjörn Andersson
svn-id: r49919
2010-06-16Fixed QDM2 to working state.David Turner
Major issue was that the input frames are reused 16 times to produce output frames. Thanks to clone2727 for helping with this. svn-id: r49900
2010-06-15Fix spelling, cleanupMax Horn
svn-id: r49843
2010-05-31Fix our interpretation of the audio compression types to what FFmpeg ↵Matthew Hoops
currently does. Should fix bug #3009282. svn-id: r49362
2010-05-31Ignore v2 compressed audio chunks instead of treating them as Huffman DPCM. ↵Matthew Hoops
Should fix playback of at least the video portion of those videos (found in later Broken Sword releases). svn-id: r49340
2010-05-27Cleanup AVI a bit, add support for stereo audioMatthew Hoops
svn-id: r49279
2010-05-26Take any 'moov' resource from a resource fork, not just 0x80; minor cleanup.Matthew Hoops
svn-id: r49245
2010-05-26Proper fix for the MSVC warning concerning packing: reordered the members of ↵Filippos Karapetis
the ParseTable struct and removed the struct packing pragmas svn-id: r49235
2010-05-26Properly fixed MSVC warning C4121 (alignment of a member was sensitive to ↵Filippos Karapetis
packing) svn-id: r49226
2010-05-26Implement QuickTime playback for SCI1.1 Mac. The 'Halfdome' and 'KQ6Movie' ↵Matthew Hoops
videos now play. However, they require multiple edit list support to look completely correct. svn-id: r49224
2010-05-25Fix a regression with rewinding in QuickTime videos (looping works in Riven ↵Matthew Hoops
again) and some minor cleanup. svn-id: r49206
2010-05-23Add support for loading the QuickTime 'moov' atom from the file's resource ↵Matthew Hoops
fork, needed for SCI Mac. svn-id: r49172
2010-05-23Move the QDM2 code to the graphics module, removing the cyclic dependency.Matthew Hoops
svn-id: r49171
2010-05-23Hide the QDM2 implementation and only expose it via a factory method, ↵Matthew Hoops
hopefully fixing compilation on most systems at the same time. svn-id: r49170
2010-05-23FFMpeg switched to Git, so update link to original smacker decoder.Eugene Sandulenko
svn-id: r49166
2010-05-23Move Mohawk's QuickTime code to graphics/ (and QDM2 to sound, disabled when ↵Matthew Hoops
Mohawk is not enabled) so SCI can use the code. svn-id: r49165
2010-05-20Add a pause level system to VideoDecoder (blatantly ripped off from Engine) ↵Matthew Hoops
and adapt Mohawk to it. svn-id: r49120
2010-05-18Add a new class 'RewindableVideoDecoder' that allows a video to be rewound ↵Matthew Hoops
and have QTPlayer inherit from that. svn-id: r49084
2010-05-18Committing the rest of the VideoDecoder Rewrite from patch #2963496.Matthew Hoops
svn-id: r49079
2010-05-18Fix currentFrame semantics in Flic playerOri Avtalion
svn-id: r49073
2010-05-17Change VideoDecoder::getCurFrame() to mean the last frame drawn instead of ↵Matthew Hoops
the next frame to draw. This is patch 1 from patch #2963496 (VideoDecoder Rewrite). svn-id: r49063
2010-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-03-15Changing Imd::renderFrame() and Vmd::renderFrame() to properly clip the ↵Sven Hesse
drawing area to prevent overdrawing without producing garbage output svn-id: r48264
2010-03-15The frame coordinate cropping for IMDs is wrong, and should be unnecessary ↵Sven Hesse
anyway, since Imd::renderFrame() should already check for overblitting. This fixes bug #2969904 ("GOB3: Graphical Glitch in finished cutscene") svn-id: r48262
2010-03-11Removing a debug warning() and adding some commentsSven Hesse
svn-id: r48236
2010-03-11Adding support for the very primitive and simply early IMD format used in ↵Sven Hesse
Fascination svn-id: r48233
2010-03-08Remove unnecessary #includesMax Horn
svn-id: r48185
2010-02-06Revert r47944: useless debug messages, sorry for the wrong commitArnaud Boutonné
svn-id: r47946
2010-02-06Add an assert to avoid a crash when printing the character 0x00.Arnaud Boutonné
svn-id: r47944
2010-02-05Silence a valgrind warning. The sound buffer should be created with malloc ↵Matthew Hoops
and not new[]. svn-id: r47896
2010-02-05Have SCI look through the patches directory (except in KQ6 where the patches ↵Matthew Hoops
in that directory are broken) to fix some GK1 Windows problems. Add the MSRLE codec to AVI (from DrMcCoy's Dark Seed II engine, with permission). GK1 Windows now will play the credits video. svn-id: r47894
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-22Silenced some more cppcheck warnings. Some of these may seem silly, but the wayTorbjörn Andersson
I figure it the changes are harmless at worst, and making them will make it easier to find real errors in the (still quite long) list of warnings. svn-id: r47443
2010-01-19Move raw audio flags from sound/mixer.h to sound/raw.hMax Horn
svn-id: r47395
2010-01-19Get rid of Mixer::FLAG_AUTOFREE.Max Horn
Also fix several recently introduced new/delete vs. malloc/free mismatches. svn-id: r47369
2010-01-09Add Mixer::getElapsedTime() method returning a Timestamp, thus offering a ↵Max Horn
higher precision than Mixer::getSoundElapsedTime(). Convert some video code to use it. svn-id: r47213
2010-01-09Yup, not checking for stereo sound was an accident hereSven Hesse
svn-id: r47195
2010-01-08Move DisposeAfterUse::Flag from Common to global namespace, and into a new ↵Max Horn
header common/types.h svn-id: r47180
2010-01-08Rename QueuedAudioStream to QueuingAudioStreamMax Horn
svn-id: r47179
2010-01-08Switch Tinsel, MADE and some of the video players to QueuedAudioStreamMax Horn
svn-id: r47178
2009-12-30The wrapper for the VMD decoder is only used in the SCI engine for SCI32 ↵Filippos Karapetis
games, so moved it inside the engine, instead of common code. Added support for VMD video playing from the "play_video" console command svn-id: r46737
2009-12-29Fix warningEugene Sandulenko
svn-id: r46726
2009-12-29Added a thin wrapper around the VMD player class, so that it can be used ↵Filippos Karapetis
with the common VideoPlayer interface, to be used with videos from SCI32 games svn-id: r46715
2009-12-29Adding a getFrameWaitTime() method to get the frame waiting time instead of ↵Sven Hesse
directly waiting svn-id: r46712
2009-12-29Adding CoktelVideo::hasExtraData(void), for checking if /any/ extra data ↵Sven Hesse
files are embedded in the video file svn-id: r46710
2009-12-06Adding support for mono signed 16bit little-endian uncompressed PCM audio ↵Sven Hesse
(thank you, clone :)) svn-id: r46270
2009-11-30Only print sound information if there actually is sound (preventing a ↵Sven Hesse
division by 0 exception) svn-id: r46210
2009-11-30Properly clear the chunk headers again on closingSven Hesse
svn-id: r46209
2009-11-28Adding a parameter to the AviDecoder constructor to allow changing the ↵Sven Hesse
SoundType (instead of it being fixed to Plain) svn-id: r46170