Commit Graph
53 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert f73034d55b AGS: Skip videos with unsupported video tracks rather than erroring 2021-09-25 10:28:47 -07:00
Matthew Duggan a20b8781e1 VIDEO: Add support for Xan codec videos (Crusader, Wing Commander) 2021-03-14 19:16:24 +01:00
SupSuper 872a547230 AUDIO: Combine WaveFormat enums under one header 2021-02-05 21:16:11 +02:00
Andrei Prykhodko 49437e2c1a VIDEO: Update Engine Usage Comment in AVI Decoder 2020-10-07 22:51:46 +03:00
Paul Gilbert 22e24d7c0b VIDEO: Fix reverse playback in AVIDecoder 2017-09-03 17:29:09 -04:00
Bastien Bouclet ec49730711 VIDEO: Allow setting the mixer sound type used to play audio tracks 2017-07-27 06:40:07 +02:00
Paul Gilbert 2838776c4b VIDEO: Refactor AVIDecoder for better handling of transparency track
A lot of the standard VideoDecoder methods were still treating the
transparency track as part of the video, so methods like getFrameCount
would return double the amount it should be. This refactoring properly
separates the transparency track into a separate field entirely.
2017-06-30 21:31:17 -04:00
Paul Gilbert 680b668614 VIDEO: Fix transparency track seeking in AVIDecoder 2017-06-25 20:48:12 -04:00
Paul Gilbert 0c200e833e VIDEO: Add reverse playback support to AviDecoder 2016-12-05 23:15:44 -05:00
Paul Gilbert a333f3c44c VIDEO: Support rewind on AVI files with multiple video tracks 2016-10-12 20:09:36 -04:00
Paul Gilbert 83188eace9 VIDEO: Expose the bitCount of AVIVideoTrack bitmap headers 2016-10-06 20:32:25 -04:00
Paul Gilbert c676ecb258 VIDEO: Implement seeking for AVI videos with a transparency video track 2016-10-02 20:22:53 -04:00
Paul Gilbert 3d25e260f7 TITANIC: Fix AVIDecoder to properly handle transparency video tracks 2016-10-02 14:24:40 -04:00
Paul Gilbert 28b2609b92 TITANIC: Remove track select logic from AVIDecoder 2016-10-02 08:20:10 -04:00
Paul Gilbert 789760295d VIDEO: Add titanic to list of engines using AVIDecoder 2016-07-17 13:10:07 -04:00
Paul Gilbert bb2d290dca VIDEO: Handle STRN chunks in AVI file streams to set stream name 2016-07-17 13:09:20 -04:00
Paul Gilbert fa6e12aaab VIDEO: Add support for a track filtering callback function
This is needed for Starship Titanic, where videos can have a secondary
video track. It was simpler to use the callback as a means to select
one video track each across two decoders than trying to make VideoDecoder
and/or AVIDecoder support decoding from multiple video tracks simultaneously
2016-07-17 13:08:31 -04:00
Matthew Hoops 561d1a1d62 VIDEO: Switch to all packetized streams for AVI
ZVision does not currently, but that's OK
2015-08-30 21:01:39 -04:00
Matthew Hoops de2f4e6982 VIDEO: Add support for MP3 in AVI 2015-08-30 19:53:53 -04:00
Matthew Hoops cfc64157a0 VIDEO: Allow AVI tracks to be dithered via the Codec
Video for Windows made the Codec do the dithering work
2015-04-11 14:36:26 -04:00
Matthew Hoops 124ac887fd VIDEO: Make AVIAudioTrack::resetStream() virtual
In case a subclass (like Zork) needs to override it
2014-11-02 20:45:38 -05:00
Matthew Hoops dfc3bcae20 VIDEO: Separate AVI video and audio track reading
Relying on the videos to have 'initial frames' for audio tracks is not the best way to handle AVI videos. Now videos without initial frames (or broken interleaving) will buffer properly.
2014-11-02 20:15:06 -05:00
Eugene Sandulenko 8d70dd68ac AUDIO: Added stup for MP3 audiostreams in AVI
This is used in German release of Full Pipe. Unfortunately our
current MP3 decoder cannot work with streamed MP3s, and bails out
at the AVI header since there is no full MP3 header yet.
2014-06-08 22:54:07 +03:00
Matthew Hoops 5891ef4d89 VIDEO: Handle Truemotion dimensions specially
Truemotion uses its own demuxer and seems to follow its own AVI rules. Work around it by coercing the video's dimensions to use the codec's internal dimensions.
2014-05-27 00:09:11 -04:00
Matthew Hoops b568ac73b9 IMAGE: Move video codecs to image/ 2014-02-28 00:27:36 -05:00
Johannes Schickel 8f3a923686 VIDEO: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
Matthew Hoops d2e31c8d67 VIDEO: Improve support for multiple AVI audio tracks 2014-01-11 18:43:42 -05:00
Matthew Hoops 6fb6ffd77b VIDEO: Handle prematurely ending AVI videos 2013-11-25 20:32:53 -05:00
Matthew Hoops 55791d5fc1 VIDEO: Fix AVI indexes with absolute offsets 2013-11-23 10:58:01 -05:00
Matthew Hoops aea224e260 ALL: Mark off common code used by ZVision 2013-10-26 10:39:36 -04:00
Willem Jan Palenstijn 6417192584 Merge branch 'master' into zvision
Conflicts:
	video/avi_decoder.cpp
2013-09-24 13:55:54 +02:00
Matthew Hoops 74cc4aec8a VIDEO: Add support for seeking in AVI videos with an index
Rewinding will work in any AVI video
2013-08-28 21:45:30 -04:00
Filippos Karapetis 62043e949d VIDEO: Add an over-ridable wrapper for the AVI audio track handler
Reimplementation of 7a49802c01

This is based on a suggestion made by clone2727, so the original
idea belongs to him.
Engines can now override the common AVI audio track handler with a
custom one. This is needed for the Z-Engine AVI videos, since they
use a custom audio decoder that is only used in the two Z-Engine
games, and has its own fake AVI audio format (17). This clashes with
the MS IMA ADPCM format, and therefore shouldn't pollute the common
AVI video decoder code. The addition of this over-ridable method
allows the Z-Engine to add its own custom AVI decoder while avoiding
code duplication.
2013-08-15 15:09:30 -05:00
Matthew Hoops 043bd1b9f9 VIDEO: Clean up the AVI decoder 2013-08-05 23:29:22 -04:00
Matthew Hoops 1ff09c581b VIDEO: Mark AVIDecoder as being used by sword1/sword2 2013-06-20 19:56:39 -04:00
Matthew Hoops aa2d41701d VIDEO: Allow AVI frame rate to be overriden with a constant
Required for sword1/sword2 MPEG videos
2013-06-20 00:04:37 -04:00
Matthew Hoops 0b81e59d0a VIDEO: Update AVI code for parsing sword1/sword2 MPEG-2 files 2013-06-20 00:02:32 -04:00
Filippos Karapetis 866961bde9 VIDEO: Hook some more of our ADPCM decoder variants to our AVI video decoder
Information for the AVI audio track format IDs has been taken from libav.
Thanks to clone2727 for his great help on this.
2013-01-26 03:43:15 +02:00
Johannes Schickel 89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Matthew Hoops 18823198ad VIDEO: Merge AdvancedVideoDecoder into VideoDecoder 2012-08-16 14:00:14 -04:00
Matthew Hoops 0f0c6f9354 VIDEO: Rewrite the AVI code to use AdvancedVideoDecoder
In addition to using the new API, it should theoretically support multiple audio and video tracks now but that has not been tested.
2012-07-22 14:13:20 -04:00
Matthew Hoops 10f7e805c2 VIDEO: Add volume/balance control to VideoDecoder 2012-05-28 14:00:16 -04:00
Matthew Hoops 9e330174c8 VIDEO: Change getElapsedTime() into getTime()
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-05-12 21:28:13 -04:00
Christoph Mallon e578cb8976 ALL: Remove unnecessary forward declarations. 2011-11-21 15:59:19 +01:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion 9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn 0ce2ca4e00 COMMON: Replace MKID_BE by MKTAG
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
2011-04-12 16:53:15 +02:00
Max Horn 42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn 357c225f64 VIDEO: Rename VideoDecoder::load() to loadStream()
svn-id: r55810
2011-02-07 17:54:16 +00:00