Commit Graph

329 Commits

Author SHA1 Message Date
Matthew Hoops
49885d686e VIDEO: Implement fallback dithering for QuickTime videos
Used for any codec without direct dithering support
2015-04-12 20:12:38 -04:00
Matthew Hoops
b170b08822 VIDEO: Add support for dithering in QuickTime videos 2015-04-11 14:37:04 -04:00
Matthew Hoops
f342d63431 IMAGE: Allow for choosing dither type 2015-04-11 14:36:37 -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
f6d7c5e176 IMAGE: Add functions to allow for videos to be dithered 2015-04-11 14:36:18 -04:00
Matthew Hoops
cb25b7b5ee VIDEO: Make the QuickTime code error out again if the frame data can't be found
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-20 20:10:59 -05:00
Matthew Hoops
7d1ee5563a VIDEO: Remove the "-1" edit hack
With the previous commits' fixes, it's no longer needed
2015-01-20 20:10:59 -05:00
Matthew Hoops
1a0f104acf VIDEO: Fix potential off-by-one frame time after seek
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-20 20:10:59 -05:00
Matthew Hoops
8e2a438dd9 VIDEO: Fix edit frame calculation
An edit that seeks to the last frame of the media would not show
2015-01-20 20:10:59 -05:00
Matthew Hoops
aaf4d38a56 VIDEO: Round the edit time offset instead of truncating it
Allows for the KQ6 Mac intro to play without the edit "-1" hack
2015-01-20 20:10:58 -05:00
Matthew Hoops
a59f5db505 VIDEO: Fix timing with frames going past the edit boundary 2015-01-20 20:10:58 -05:00
Eugene Sandulenko
8e0d7d7255 Merge pull request #559 from fedor4ever/master
VIDEO: Add Theora support to systems which use libtremor
2015-01-11 21:12:01 +01:00
Matthew Hoops
7054bcd9c5 VIDEO: Add MPEG-PS demuxer
For use with ZVision and later MADE
2015-01-08 00:45:13 -05:00
Fedor Strizhnev
7225101e62 Add Theora support to systems which use libtremor 2015-01-05 16:53:35 +03:00
Matthew Hoops
bed532587b VIDEO: Fix check to see if the frame rate is a whole number
Thanks to Marisa-Chan for spotting
2014-12-24 10:38:28 -05:00
Fedor
b0250e72d8 VIDEO: Mark TheoraDecoder as used by pegasus 2014-12-22 12:14:18 -05: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
Filippos Karapetis
b845d41d16 VIDEO: Remove trailing whitespace 2014-10-28 15:38:51 +02:00
Matthew Hoops
b2676c412d VIDEO: Fix seeking in AVI videos with no initial audio frames 2014-09-28 15:29:42 -04:00
Matthew Hoops
422922fec2 VIDEO: Add wrapper around setEndTime() to specify an end frame 2014-08-17 12:24:28 -04:00
Willem Jan Palenstijn
a22f9bccf3 VIDEO: Reduce BinkDecoder stack usage
See bug #6677.
2014-07-08 21:18:12 +02: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
1ea4b36c3b VIDEO: Document PRMI as being Premiere metadata 2014-05-27 23:57:39 -04: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
Joel Teichroeb
32e85a957d VIDEO: Use || instead of the currently incorrect &&
The code currenly has 4 logically dead lines. Instead of requiring
both newWidth and newHeight to be non zero, just make sure one of
them is non zero and set the other one to the current size.
2014-04-11 19:53:03 -07:00
Matthew Hoops
5e715f244b VIDEO: Handle the raw AVI video chunk the same as the others 2014-03-02 20:59:00 -05:00
Matthew Hoops
acec700c11 IMAGE: Share the same pool of codecs between PICT and QuickTime 2014-02-28 00:32:06 -05:00
Matthew Hoops
05e9ff136a IMAGE: Share the same pool of codecs between bitmap and AVI 2014-02-28 00:32:06 -05:00
Matthew Hoops
231a02c759 VIDEO: Use the bitmap header compression field for AVI codecs 2014-02-28 00:32:06 -05:00
Matthew Hoops
08ea14a8d0 IMAGE: Make Codec take a stream reference; change function name to decodeFrame 2014-02-28 00:27:37 -05:00
Matthew Hoops
c432b96cf6 IMAGE: Merge the JPEG codec into the ImageDecoder 2014-02-28 00:27:36 -05:00
Matthew Hoops
b568ac73b9 IMAGE: Move video codecs to image/ 2014-02-28 00:27:36 -05:00
Matthew Hoops
740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Johannes Schickel
8f3a923686 VIDEO: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
Eugene Sandulenko
9b8e6f54fc VIDEO: Add additional FourCC appearing in some Zvision engine game versions 2014-02-07 09:42:58 +02:00
Matthew Hoops
c9b2c16680 VIDEO: Fix a typo in the include guard 2014-01-17 21:06:13 -05:00
Matthew Hoops
d73df0d28c VIDEO: Add MJPEG support 2014-01-17 21:02:11 -05:00
Matthew Hoops
b23f764028 VIDEO: Rename the Motion JPEG decoder to JPEG to better reflect its purpose
This JPEG is separate from the modified JPEG format used in MJPEG
2014-01-17 19:17:29 -05:00
Matthew Hoops
1e95a49892 VIDEO: Add support for multiple Smacker audio tracks 2014-01-11 18:43:42 -05:00
Matthew Hoops
ce82977ea1 VIDEO: Improve support for multiple Bink audio tracks 2014-01-11 18:43:42 -05:00
Matthew Hoops
d2e31c8d67 VIDEO: Improve support for multiple AVI audio tracks 2014-01-11 18:43:42 -05:00
Matthew Hoops
da604b530b VIDEO: Allow for audio track selection in video types that support it 2014-01-11 18:43:41 -05:00
Filippos Karapetis
1632d5f39a VIDEO: Handle the AVI 'JUNQ' and 'dmlh' chunk headers
These are used by Full Pipe's intro videos
2014-01-05 15:34:33 +02:00
Torbjörn Andersson
84d4e97d08 VIDEO: Rename variables and remove pointless assertion
It's RGB, not BGR apparently. This seems to contradict the
Multimedia Wiki, but not reality.
2014-01-01 19:55:04 +01:00
Torbjörn Andersson
75806cd73c VIDEO: Fix Smacker palette upscaling to match Multimedia Wiki
The Multimedia Wiki suggests using a lookup table, but this should
produce the same result.
2014-01-01 19:48:17 +01:00
anotherguest
44c24f8dc8 SYMBIAN OS:Use defaults for data types also for Symbian OS! 2013-11-26 12:17:59 +01:00
Matthew Hoops
e28544d6d1 VIDEO: Ensure debug output of the first AVI index 2013-11-25 20:33:14 -05:00
Matthew Hoops
6fb6ffd77b VIDEO: Handle prematurely ending AVI videos 2013-11-25 20:32:53 -05:00
Matthew Hoops
fa350f9c1f VIDEO: Ignore AVI strn metadata 2013-11-25 20:21:18 -05:00