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
Matthew Hoops
4708a1969b
VIDEO: Fix awful thinko from 55791d5fc1
2013-11-23 13:43:20 -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
RichieSams
c73159150d
ZVISION: Re-enable Truemotion plugin guard, but add a case for ZVISION
2013-10-04 09:20:25 -05:00
RichieSams
1697a9c831
Merge branch 'master' into zvision
2013-09-04 00:35:34 -05:00
richiesams
9b02777155
VIDEO: Fix memory leak in TrueMotion1 header buffer
...
Cleanup _buf before returning, even if we don't actually decode
2013-09-03 19:24:41 -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
Matthew Hoops
254f0fcc06
VIDEO: Improve accuracy of getFrameTime() and getFrameAtTime()
2013-08-28 00:05:18 -04:00
Matthew Hoops
7a8689538a
VIDEO: Use the main isSeekable() in seekToFrame()
2013-08-28 00:05:13 -04: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
richiesams
f2477610cf
VIDEO: Add AVI LIST handling for ZVision custom types
2013-08-18 19:52:55 -05:00
Matthew Hoops
0d6f611963
VIDEO: Ignore some AVI lists with metadata
2013-08-16 21:17:51 -04:00
Filippos Karapetis
62043e949d
VIDEO: Add an over-ridable wrapper for the AVI audio track handler
...
Reimplementation of 7a49802c01b0c39be4e86335689db8f3359fde68
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
richiesams
95d1ef68ab
Merge branch 'master' into zvision
2013-08-15 14:14:02 -05:00
Einar Johan Trøan Sømåen
6454721e31
VIDEO: Set stereo as bool instead of writing channel amount directly
2013-08-12 00:12:14 +02:00
richiesams
372c55fd8b
VIDEO: Disable SCI_32 plugin guard for DUCK Truemotion
...
ZVision AVI videos use DUCK Truemotion
2013-08-11 16:43:39 -05:00
Johannes Schickel
7f8308e0eb
Merge pull request #365 from lordhoto/protected-pixels
...
Make Graphics::Surface::pixels protected.
2013-08-07 12:24:59 -07: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
043bd1b9f9
VIDEO: Clean up the AVI decoder
2013-08-05 23:29:22 -04:00
Johannes Schickel
8fc54d6d77
VIDEO: Fix regression in Urban Runner videos.
...
This is a regression from 6fce92b0ea
. Thanks to
DrMcCoy for tracking this down.
2013-08-04 01:07:34 +02:00
Johannes Schickel
0cb1504a5b
VIDEO: Do not set Surface::pixels directly anymore.
2013-08-03 04:14:08 +02:00
Johannes Schickel
e0c9c1d261
VIDEO: Take advantage of Surface::getPixels.
2013-08-03 04:02:49 +02:00
Johannes Schickel
6fce92b0ea
VIDEO: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 04:02:49 +02:00
Sven Hesse
989ea7cb56
JANITORIAL: Remove trailing whitespace
2013-07-14 19:01:47 +02:00
clone2727
279c9f7841
Merge pull request #343 from clone2727/mpeg2-avi
...
Add back support for sword1/2 MPEG-2 cutscenes
2013-07-05 15:28:06 -07:00
Matthew Hoops
7da9b342aa
VIDEO: Fix Indeo3 luma scale
...
Now black is really black
2013-06-30 23:25:46 -04:00
Matthew Hoops
b1a993ace0
VIDEO: Switch Indeo3 decoding to using the common YUV410 conversion code
...
It now runs much faster and looks better too. Thanks to DrMcCoy for testing.
2013-06-30 17:53:49 -04:00
Sven Hesse
4b3f5149b5
VIDEO: Add hypothetical 32bpp support
2013-06-30 19:07:04 +02:00
Sven Hesse
231586d924
VIDEO: Add hypothetical 32bpp support
2013-06-30 19:00:17 +02: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
f39c9d58bd
VIDEO: Hook up MPEG decoder to AVI
2013-06-20 00:02:50 -04:00
Matthew Hoops
0b81e59d0a
VIDEO: Update AVI code for parsing sword1/sword2 MPEG-2 files
2013-06-20 00:02:32 -04:00
Matthew Hoops
36bc47df44
VIDEO: Add an MPEG 1/2 decoder
2013-06-19 23:59:04 -04:00
Thomas Fach-Pedersen
c3de517fb4
VIDEO: Wrap 8-bit smacker audio properly
...
The accumulator 'bases' is 16-bit but when used in 8-bit audio we need to
wrap as if 'bases' is 8-bit. Clipping on output is no longer required.
This fixes noise in The Neverhood's in-game "making of" videos,
particularly the section called "Construction, powertools & painting",
hash 0x21080009.
The intro video in The Neverhood is 16-bit audio and was not affected by
this bug. No other videos or games have been tested.
2013-05-28 00:58:10 +02:00
Eugene Sandulenko
0638308ef1
Merge pull request #330 from johndoe123/neverhood
...
NEVERHOOD: Neverhood engine
2013-05-15 09:19:34 -07:00
Willem Jan Palenstijn
1022996309
Merge branch 'master'
2013-05-08 20:47:44 +02:00
johndoe123
060287a4f8
NEVERHOOD: Improve frame-exact seeking for Scene2802
...
Thanks to clone2727 for his help!
2013-05-08 20:47:38 +02:00
Max Horn
814aa2e8b7
VIDEO: Remove unused CDToonsDecoder::_currentFrame member var
2013-04-18 23:50:20 +02:00
Matthew Hoops
43d264cb2f
VIDEO: Fix uninitialized track pointers
2013-04-16 10:40:16 -04:00
Matthew Hoops
1d778360fe
VIDEO: Fix potential memory leak when adding a stream file track
2013-04-15 18:35:11 -04:00
Matthew Hoops
ef098e2898
VIDEO: Fix potential memory leak when buffering a QuickTime frame
2013-04-15 18:33:54 -04:00