Commit Graph

194 Commits

Author SHA1 Message Date
Matthew Hoops
058b9b9aca VIDEO: Restrict setEndTime()'s affects to videos that are playing 2012-09-05 11:27:01 -04:00
Bertrand Augereau
341c3abad5 VIDEO: Constified a temporary 2012-09-01 18:57:29 +02:00
Matthew Hoops
ddffd74094 VIDEO: Improve setEndTime()
endOfVideo() and needsUpdate() are now more accurate
2012-08-31 21:47:52 -04:00
Matthew Hoops
4b05031042 Revert "VIDEO: Rework SVQ1 codebooks so they're endian-safe"
This reverts commit 1ca81ee6ec.

I was wrong about them not being endian-safe before. Don't stone me.

Conflicts:

	video/codecs/svq1.cpp
2012-08-27 13:25:28 -04:00
Matthew Hoops
6f105e6230 VIDEO: Fix "empty" AVI frames 2012-08-27 11:10:05 -04:00
Matthew Hoops
3e2ff0a443 VIDEO: Fix compilation with some compilers 2012-08-26 20:30:32 -04:00
Matthew Hoops
6f9d84665f COMMON: Add MKTAG16 for 16-bit multi-character constants 2012-08-26 12:38:35 -04:00
Matthew Hoops
c7222ed5a4 VIDEO: Remove obsolete FIXME in the FLIC code 2012-08-25 12:30:28 -04:00
Matthew Hoops
dcdb40f79e VIDEO: Adjust start time after calling rewind() in start()
This wasn't an actual bug, but it makes more sense this way
2012-08-23 23:11:09 -04:00
Matthew Hoops
829c836e0b VIDEO: Update the isPlaying() comment 2012-08-23 22:45:48 -04:00
Matthew Hoops
6c155b6b36 VIDEO: Implement rewinding Smacker audio tracks 2012-08-20 17:06:58 -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
7294a1cbcf VIDEO: Remove the Coktel video code from using the VideoDecoder API
After discussing with DrMcCoy, we felt this the best way to proceed. A wrapper class that implements AdvancedVideoDecoder is still around for use in SCI.
2012-08-16 12:17:23 -04:00
Matthew Hoops
92432a136b VIDEO: Convert TheoraDecoder to the new AdvancedVideoDecoder API 2012-08-13 16:25:03 -04:00
Matthew Hoops
7831225b28 VIDEO: Move TheoraDecoder to video/ 2012-08-12 08:58:00 -04:00
Matthew Hoops
5db42076b8 VIDEO: Convert FlicDecoder to the new AdvancedVideoDecoder API
The video no longer automatically loops (unused in-tree) and must have rewind() called manually
2012-08-12 08:43:32 -04:00
Matthew Hoops
48c591a233 VIDEO: Don't allow adding external stream files to unopened videos 2012-08-12 08:33:45 -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
991710d0a1 VIDEO: Adapt QuickTimeDecoder to the AdvancedVideoDecoder API 2012-07-27 11:32:51 -04:00
Matthew Hoops
21d3fa71af VIDEO: Add functions for getting TrackList iterators internally 2012-07-27 11:14:46 -04:00
Matthew Hoops
90b72e31e4 VIDEO: Cleanup AdvancedVideoDecoder 2012-07-27 11:01:42 -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
Matthew Hoops
2eeee33bd8 VIDEO: Move findNextVideoTrack() to protected 2012-07-26 23:24:54 -04:00
Matthew Hoops
af6e98ba01 VIDEO: Ignore finished video tracks in findNextVideoTrack() 2012-07-26 23:20:25 -04:00
Matthew Hoops
57a06e383b VIDEO: Convert Bink to the new AdvancedVideoDecoder API 2012-07-25 11:22:28 -04:00
Matthew Hoops
c0cece8d13 VIDEO: Add functions for default high color PixelFormat
To be used by video that converts from YUV to RGB
2012-07-25 11:19:36 -04:00
Matthew Hoops
714c6ae119 VIDEO: Add internal helper function for checking on video track end status 2012-07-25 00:44:22 -04:00
Matthew Hoops
09f1519d6d VIDEO: Stop and restart tracks when seeking/rewinding 2012-07-25 00:39:21 -04:00
Matthew Hoops
3117e4a8ff VIDEO: Convert DXADecoder to the AdvancedVideoDecoder API 2012-07-24 13:24:01 -04:00
Matthew Hoops
84e0b3a167 VIDEO: Add helper functions to easily add an external audio track 2012-07-24 13:23:45 -04:00
Matthew Hoops
a652f6669e VIDEO: Rewrite SmackerDecoder to use the new API 2012-07-23 21:04:51 -04:00
Matthew Hoops
3a780a63db VIDEO: Set _startTime when rewinding and seeking 2012-07-23 21:03:49 -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
7654b20362 VIDEO: Merge the three Fixed* VideoTrack classes
Avoids diamond inheritance, which makes it impossible to downcast without rtti
2012-07-22 14:11:11 -04:00
Matthew Hoops
29541dc5f4 VIDEO: Hold tracks in an Array instead of a List
Decoders such as AVI will need to access them by index
2012-07-22 12:17:54 -04:00
Matthew Hoops
9bf17934d3 VIDEO: Take audio start time into account when syncing to audio 2012-07-22 00:58:38 -04:00
Matthew Hoops
4c9c22b374 VIDEO: Make seek/rewind functions in AdvancedVideoDecoder virtual
This is to allow for seeking in videos where not everything is indexed
2012-07-22 00:39:10 -04:00
Matthew Hoops
067e02e90b VIDEO: Add StreamFileAudioTrack wrapper 2012-07-21 17:52:16 -04:00
Matthew Hoops
144b9ce918 VIDEO: Don't try to sync video off of finished audio tracks 2012-07-21 17:38:24 -04:00
Matthew Hoops
24c97b8913 VIDEO: Move PSXStreamDecoder to the new VideoDecoder API 2012-07-21 17:31:00 -04:00