Commit Graph

82 Commits

Author SHA1 Message Date
Le Philousophe
85952c72bf VIDEO: Move API to Path 2023-12-24 13:19:25 +01:00
Harishankar Kumar
a2d4b152f3 VIDEO: Implement non 0/1 rate with audio
Uses Mixer's setRate() function implemented in pr #4965 to set
video playback rates of movies that are not 0 or 1.

`undome` of 'mediaband' required this feature where the video can
have playback rates other than 0 or 1.
2023-06-25 00:23:46 +03:00
Cameron Cawley
af282b79fb VIDEO: Generic support for DXA videos with embedded audio 2023-04-09 13:03:33 +02:00
Cameron Cawley
5956fa4757 VIDEO: Remove VideoDecoder::setDefaultHighColorFormat() 2023-04-05 12:45:13 +02:00
Cameron Cawley
8a4a5bdc55 VIDEO: Add setOutputPixelFormat() to the VideoDecoder interface 2023-04-05 12:45:13 +02:00
Donovan Watteau
18ab6803d6 JANITORIAL: Fix various "an" typos in comments 2023-03-16 14:47:28 +01:00
Matthew Duggan
a2a7b3d2d9 VIDEO: Enhance comments for getRate/setRate 2023-02-23 13:43:29 +09:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
djsrv
2eca1126c5 VIDEO: Use Path type in VideoDecoder functions 2021-08-07 10:44:37 +02:00
SupSuper
9ab9c38f7a Revert "VIDEO: Allow endOfVideo() to be overriden"
This reverts commit ba007cfd2b.
2021-06-07 23:45:49 +01:00
SupSuper
8f8666b6cd VIDEO: Allow decoder subclasses to use internal functions 2021-06-07 04:22:44 +01:00
SupSuper
6e042dba1b VIDEO: Allow setting _lastTimeChange in overridden classes 2021-05-29 21:24:23 +01:00
Filippos Karapetis
ba007cfd2b VIDEO: Allow endOfVideo() to be overriden
This is useful for Nightlong, which uses frame count to check for the
end of an animation
2021-05-29 21:24:15 +01:00
Filippos Karapetis
16eefa672d VIDEO: Allow setting _startTime in overriden classes
Used by Nightlong when seeking inside Smacker videos
2021-05-29 21:23:34 +01:00
SupSuper
a7f47d5c81 VIDEO: Allow setting the mixer sound type per audio track 2021-01-31 18:51:10 +00: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
a897ad9e72 VIDEO: Add method to VideoDecoder to erase a track 2017-06-30 20:34:28 -04:00
Paul Gilbert
c676ecb258 VIDEO: Implement seeking for AVI videos with a transparency video track 2016-10-02 20:22:53 -04:00
Matthew Hoops
f6d7c5e176 IMAGE: Add functions to allow for videos to be dithered 2015-04-11 14:36:18 -04:00
Matthew Hoops
422922fec2 VIDEO: Add wrapper around setEndTime() to specify an end frame 2014-08-17 12:24:28 -04:00
Johannes Schickel
8f3a923686 VIDEO: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
Matthew Hoops
da604b530b VIDEO: Allow for audio track selection in video types that support it 2014-01-11 18:43:41 -05:00
Matthew Hoops
85614b0de4 VIDEO: Separate external and internal tracks
Prevents subclasses from having access to any audio track added from another file
2013-08-28 00:05:05 -04:00
Matthew Hoops
2d8d80177e VIDEO: Make getFrameAtTime() public 2013-08-28 00:04:57 -04:00
Matthew Hoops
6e9390feb8 VIDEO: Don't allow VideoDecoder::seek() to be overridden
A new seekIntern() that performs the actual seeking is to be overriden instead. Having the caller override seek() and then call VideoDecoder::seek() kind of defeated the purpose of stopping/starting the audio.
2013-08-06 22:26:15 -04:00
Matthew Hoops
9ae56146bb VIDEO: Add API changes to allow videos to be played backwards 2012-12-15 20:41:41 -05:00
Matthew Hoops
3b581a3b68 VIDEO: Rework the way the next video track is selected
Fixes missing the last frame in some decoders
2012-12-02 22:15:11 -05:00
Matthew Hoops
121faeaa94 VIDEO: Add preliminary API functions for seeking to a frame 2012-11-26 17:44:36 -05:00
Matthew Hoops
db908fcdc4 VIDEO: Add support for playing videos at a modified speed
Currently this only works for positive (forward) playback, but will eventually work for negative (backward).
2012-11-24 01:03:36 -05:00
Matthew Hoops
6a1fa88b56 VIDEO: Clarify some VideoDecoder documentation 2012-11-14 13:35:16 -05:00
Matthew Hoops
48c70d872e VIDEO: Fix pausing audio in videos 2012-09-22 15:03:15 -04:00
Willem Jan Palenstijn
23de059262 VIDEO: Make getCurFrame declaration consistent
The declaration used int32 while the definition used int.
This should fix building on AmigaOS4 (bug #3570577).
2012-09-21 22:35:15 +02:00
Matthew Hoops
8808393b3a VIDEO: Do not close/rewind videos after a stop()
It makes more sense to do this more like a hard "pause" and let the caller stop()/rewind() if they want
2012-09-11 17:38:33 -04:00
Matthew Hoops
058b9b9aca VIDEO: Restrict setEndTime()'s affects to videos that are playing 2012-09-05 11:27:01 -04:00
Matthew Hoops
ddffd74094 VIDEO: Improve setEndTime()
endOfVideo() and needsUpdate() are now more accurate
2012-08-31 21:47:52 -04:00
Matthew Hoops
829c836e0b VIDEO: Update the isPlaying() comment 2012-08-23 22:45:48 -04:00
Matthew Hoops
e24fd2ffe6 VIDEO: Cleanup VideoDecoder a bit
Functions and their comments now line up better
2012-08-16 22:49:22 -04:00
Matthew Hoops
18823198ad VIDEO: Merge AdvancedVideoDecoder into VideoDecoder 2012-08-16 14:00:14 -04:00
Matthew Hoops
7569ec7dc0 VIDEO: Rename setStopTime() to setEndTime()
To better differentiate with stop()
2012-08-16 13:34:28 -04:00
Matthew Hoops
fb35c7f46f VIDEO: Remove setSystemPalette() 2012-08-16 13:30:32 -04:00
Matthew Hoops
9e7f0e4753 VIDEO: Begin removing some of the deprecated functions from VideoDecoder 2012-08-16 12:27:05 -04:00
Matthew Hoops
a458b91e7e VIDEO: Add set/getStopTime functions to AdvancedVideoDecoder
A video can now be stopped at a requested time
2012-08-12 00:09:23 -04:00
Matthew Hoops
220ca52f43 VIDEO: Fix getTime() when a video is not playing 2012-08-07 14:24:32 -04:00
Matthew Hoops
dd10e7191e VIDEO: Move Track's start()/stop() functions to AudioTrack 2012-07-29 12:38:51 -04:00
Matthew Hoops
9cca8ac9f2 VIDEO: Remove now unused Rewindable and Seekable classes 2012-07-27 11:47:49 -04:00
Matthew Hoops
21d3fa71af VIDEO: Add functions for getting TrackList iterators internally 2012-07-27 11:14:46 -04:00
Matthew Hoops
a364ef8f0f VIDEO: Remove Track::getStartTime()
That should be handled internally instead
2012-07-27 11:01:21 -04:00
Matthew Hoops
1f67c9dbbe VIDEO: Reset pause time when seeking/rewinding 2012-07-26 23:45:05 -04:00
Matthew Hoops
df5d6f7d08 VIDEO: Force an update after a seek 2012-07-26 23:42:35 -04:00
Matthew Hoops
84462fa088 VIDEO: Document more of AdvancedVideoDecoder 2012-07-26 23:36:21 -04:00