aboutsummaryrefslogtreecommitdiff
path: root/video/qt_decoder.cpp
AgeCommit message (Collapse)Author
2017-09-21VIDEO: Change QT edit list to a Common::ArrayBastien Bouclet
And fix an out of bounds acces when seeking to the end of a video. Skipping samples is needed even when seeking through silent edits because a silent stream is queued for those. Fixes #10219.
2017-07-27VIDEO: Allow setting the mixer sound type used to play audio tracksBastien Bouclet
2016-02-13VIDEO: Stay on the first edit when playing QT videos backwardsBastien Bouclet
We don't support playing videos with multiple edits backwards. Taking the code path to move to the next edit when playing backwards sets the current edit index to an invalid value with the video still trying to play. Which results in out of bounds reads, and ultimately a crash. This fixes multiple crashes in Myst. Using the key without the chest on Stoneship, resetting the clock tower puzzle, and using the switch in the trees in Channelwood. This was a regression introduced in a59f5db505ffce9567c3bc8adf30d2f843910d65.
2015-04-12VIDEO: Implement fallback dithering for QuickTime videosMatthew Hoops
Used for any codec without direct dithering support
2015-04-11VIDEO: Add support for dithering in QuickTime videosMatthew Hoops
2015-01-20VIDEO: Make the QuickTime code error out again if the frame data can't be foundMatthew Hoops
The case shouldn't actually ever happen; the off-by-one bug when seeking to the last frame of the media (in an edit) caused this originally
2015-01-20VIDEO: Remove the "-1" edit hackMatthew Hoops
With the previous commits' fixes, it's no longer needed
2015-01-20VIDEO: Fix potential off-by-one frame time after seekMatthew Hoops
If seeking to the final frame of an edit, _nextFrameStartTime wouldn't be adjust properly and would wrongly say that it's at the end of the edit. This never affected anything because of the edit "-1" hack.
2015-01-20VIDEO: Fix edit frame calculationMatthew Hoops
An edit that seeks to the last frame of the media would not show
2015-01-20VIDEO: Round the edit time offset instead of truncating itMatthew Hoops
Allows for the KQ6 Mac intro to play without the edit "-1" hack
2015-01-20VIDEO: Fix timing with frames going past the edit boundaryMatthew Hoops
2014-02-28IMAGE: Share the same pool of codecs between PICT and QuickTimeMatthew Hoops
2014-02-28IMAGE: Make Codec take a stream reference; change function name to decodeFrameMatthew Hoops
2014-02-28IMAGE: Merge the JPEG codec into the ImageDecoderMatthew Hoops
2014-02-28IMAGE: Move video codecs to image/Matthew Hoops
2014-02-18VIDEO: Make GPL headers consistent in themselves.Johannes Schickel
2014-01-17VIDEO: Rename the Motion JPEG decoder to JPEG to better reflect its purposeMatthew Hoops
This JPEG is separate from the modified JPEG format used in MJPEG
2013-04-15VIDEO: Fix potential memory leak when buffering a QuickTime frameMatthew Hoops
2012-12-15VIDEO: Allow for QuickTime movies to be played backwardsMatthew Hoops
Still doesn't handle videos with multiple edits
2012-12-13Merge pull request #293 from clone2727/qtmidiclone2727
Add support for QuickTime Music playback
2012-10-12VIDEO: Fix edits with scales not divisible by the media scaleMatthew Hoops
QuickTime docs aren't completely clear on this, but from samples it's clear that the value needs to be rounded
2012-10-12VIDEO: Fix choosing of the correct edit when seekingMatthew Hoops
Previously it could be off-by-one
2012-09-09COMMON: Make QuickTimeParser::readSampleDesc take the desc sizeMatthew Hoops
2012-09-01VIDEO: Constified a temporaryBertrand Augereau
2012-08-16VIDEO: Merge AdvancedVideoDecoder into VideoDecoderMatthew Hoops
2012-07-27VIDEO: Adapt QuickTimeDecoder to the AdvancedVideoDecoder APIMatthew Hoops
2012-05-28VIDEO: Add volume/balance control to VideoDecoderMatthew Hoops
2012-05-12VIDEO: Make seekToTime() take a const Timestamp referenceMatthew Hoops
2012-05-12VIDEO: Change getElapsedTime() into getTime()Matthew Hoops
This name change accompanies a slight meaning change; now it means the current time position from the beginning of the video and not from starting the video.
2012-04-15VIDEO: Create the QuickTime scaled surface after reading in a frameMatthew Hoops
Fixes issues where the codec hasn't been initialized
2012-04-08VIDEO: Clean up the SVQ1 codeMatthew Hoops
2012-04-08VIDEO: Hookup SVQ1 codec to build system and QT Decoder.D G Turner
2012-03-19AUDIO: Add support for multiple QuickTime audio tracksMatthew Hoops
This also cleans up the QuickTime audio code to make it a bit more manageable too
2012-02-11VIDEO: Remove unused variableWillem Jan Palenstijn
2011-12-12VIDEO: Add support for QuickTime video track edit listsMatthew Hoops
2011-12-12VIDEO: Fix QuickTime audio track endsMatthew Hoops
Fixes videos where the audio track length is smaller than the video track length.
2011-10-07VIDEO: Ensure the sample to chunk index remains validMatthew Hoops
2011-10-07VIDEO: Fix getNextFramePacket() to actually be efficientMatthew Hoops
2011-10-07VIDEO: Ensure audio paused status remains after a QuickTime seekMatthew Hoops
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-03COMMON: Cleanup QuickTime variable and struct namingMatthew Hoops
2011-06-02COMMON: Begin objectifying QuickTimeParser::SampleDesc furtherMatthew Hoops
This is preparation for multiple video and audio tracks
2011-05-31Merge remote branch 'upstream/master' into t7g-iosMatthew Hoops
Conflicts: engines/groovie/script.cpp
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-11Merge remote branch 'upstream/master' into t7g-iosMatthew Hoops
Conflicts: audio/decoders/qdm2.h common/util.cpp engines/groovie/music.cpp engines/groovie/resource.h video/qt_decoder.cpp video/qt_decoder.h
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17VIDEO: Prefer Surface::format over Surface::bytesPerPixel.Johannes Schickel
2011-04-17VIDEO: Prefer Surface::create taking a PixelFormat over the one taking a ↵Johannes Schickel
byte depth. Certain codecs seem to use a Surface with Bpp 2, but do not have any proper format description. Whoever is maintaining these should check this commit and fix the format properly.
2011-04-14VIDEO: Fix QuickTime videos without a video streamMatthew Hoops
Just in case anyone uses just that instead of Audio::makeQuickTimeStream()...