Matthew Hoops
f4af4d2366
VIDEO: Switch Truemotion 1 to RGB565 for potential use with SCI CLUT tables
...
svn-id: r54231
2010-11-13 19:15:31 +00:00
Matthew Hoops
8e274749ed
VIDEO: Add support for DK3 in videos; fix sample rate location
...
svn-id: r54205
2010-11-11 17:05:33 +00:00
Matthew Hoops
7207d920bc
VIDEO: Cleanup AVI audio in preparation for DK3
...
svn-id: r54200
2010-11-11 13:23:26 +00:00
Matthew Hoops
5e8e77a814
VIDEO: Add the TrueMotion 1 codec for Phantasmagoria 2
...
Based on the FFmpeg decoder. Only the 16bpp version has been implemented (and all that should be needed). The videos I have tried work fine with the codec. The audio does not yet play in these videos, but I hope to work on DK3 IMA ADPCM soon.
svn-id: r54194
2010-11-11 04:53:52 +00:00
Sven Hesse
9c349cf78b
VIDEO: PreIMD: End frame when stream depleted
...
As happens for the last frames in the Fascination videos.
svn-id: r54144
2010-11-08 17:03:27 +00:00
Sven Hesse
016f24d16c
VIDEO: PreIMD: End frame when frameSize == 0
...
As happens for the last frame in the first video of the Fascination
intro.
svn-id: r54072
2010-11-04 20:36:28 +00:00
Florian Kagerer
ab1c54a9ee
TOON: fix some evaluation order bugs in smacker decoder
...
These bugs would cause crashs in MSVC 2008/2010 release builds.
svn-id: r53893
2010-10-27 22:41:08 +00:00
Max Horn
c975ed11a1
ALL: Fix various typos (patch #3093266 )
...
svn-id: r53762
2010-10-24 13:04:33 +00:00
Sven Hesse
ccb3506719
GRAPHICS: Fix code analysis warnings
...
See bug report #3087917
svn-id: r53493
2010-10-15 13:56:14 +00:00
David Turner
04973e85be
VIDEO : Corrections to QDM2 codec for bug #3087917 "Code Analysis Warnings"
...
The first correction was to use a temporary variable to remove the possibility of a memory leak when using realloc.
The second correction was to remove the gain variable from QDM2Stream::qdm2_calculate_fft() which has always evaluated to 1.0f and so has no effect.
svn-id: r53489
2010-10-15 13:11:34 +00:00
Jordi Vilalta Prat
8388e0dfea
JANITORAL: Clean trailing whitespaces.
...
svn-id: r53160
2010-10-12 02:18:11 +00:00
Max Horn
3dda3c073a
GRAPHICS: Turn static AviDecoder methods into local funcs
...
svn-id: r53141
2010-10-10 22:25:52 +00:00
Sylvain Dupont
0fc6572b65
VIDEO: Remove useless references in handleAudioTrack function
...
svn-id: r53091
2010-10-09 00:17:55 +00:00
Eugene Sandulenko
741e7c7f5e
VIDEO: Factor out handleAudioTrack() to be used by Toons engine
...
svn-id: r53086
2010-10-08 22:17:03 +00:00
Torbjörn Andersson
02e759aad3
GOB: Make GCC happier.
...
svn-id: r52956
2010-09-30 15:22:52 +00:00
Sven Hesse
6bbfac77af
VIDEO: Interpolate U and V values
...
svn-id: r52955
2010-09-30 15:03:51 +00:00
Sven Hesse
ce07411696
VIDEO: Allow for Indeo3'd VMDs
...
svn-id: r52954
2010-09-30 13:05:40 +00:00
Sven Hesse
3c449e19ab
VIDEO: Allow for scaled Indeo3 frames
...
svn-id: r52953
2010-09-30 13:05:12 +00:00
Torbjörn Andersson
c91a07229a
JANITORIAL: Removed most punctuation at end of warning() and error()
...
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.
svn-id: r52791
2010-09-18 10:55:16 +00:00
Matthew Hoops
bb1c8c3f51
VIDEO: Fix rounding the Smacker frame rate
...
_frameRate is now stored using Common::Rational instead of uint32.
svn-id: r52689
2010-09-12 18:31:10 +00:00
Willem Jan Palenstijn
8f1143bfdc
COMMON: Remove Rational::operator int/double
...
This prevents accidental implicit rounding
and might also fix compilation on AmigaOS4 (bug #3060981 ).
svn-id: r52616
2010-09-07 09:02:46 +00:00
Matthew Hoops
c78a63460b
VIDEO: Skip multiple tags in a QuickTime stsd entry
...
Fixes crashes when playing two videos in Riven DVD (card 262). Note that the videos still don't display properly because of a bug in QTRLE 16bpp. For the record, FFmpeg doesn't handle this properly either.
svn-id: r52603
2010-09-06 18:15:51 +00:00
Matthew Hoops
c54a97005f
VIDEO: Apply patch #3057924 with some changes
...
Patch #3057924 is "QuickTimeDecoder: Scaling x and y separately". Thanks to kreegee for the patch and fuzzie for fixing a couple bugs with it.
svn-id: r52594
2010-09-06 15:15:59 +00:00
Torbjörn Andersson
9324a80d93
JANITORIAL: Remove extra semi-colons.
...
svn-id: r52489
2010-09-02 05:12:07 +00:00
Sven Hesse
4d15e5f31c
VIDEO: Change decodeImage() around a bit, plug a leak
...
Indeo3Decoder::decoderImage() was leaking inData
svn-id: r52408
2010-08-27 10:45:19 +00:00
Torbjörn Andersson
b8b4b42577
LEGAL: Add COPYING.BSD file
...
Reword the disclaimer at the top of COPYING.LGPL, as it sounds a bit
awkward to me.
Move the BSD-like license to the top of mpeg_player.cpp (it still
points out that only parts of the file are under that license) because
that's where COPYING.BSD tells the reader to look.
svn-id: r51939
2010-08-09 14:31:59 +00:00
Sven Hesse
27f6e7106d
VIDEO: That should fix compilation with MSVC
...
svn-id: r51931
2010-08-08 17:51:50 +00:00
Matthew Hoops
27c79d51d4
VIDEO: Cinepak cleanup
...
svn-id: r51928
2010-08-08 03:33:44 +00:00
Sven Hesse
5f8947c21d
VIDEO: Use tag2str
...
svn-id: r51927
2010-08-08 02:56:11 +00:00
Sven Hesse
3016de7197
VIDEO: Fixing typos ("Unknow" -> "Unknown")
...
svn-id: r51926
2010-08-08 02:55:45 +00:00
Sven Hesse
609dc65df6
VIDEO: Remove the now obsolete CoktelVideo classes
...
svn-id: r51924
2010-08-08 01:09:45 +00:00
Sven Hesse
1151676d82
VIDEO: Use proper palettes in CoktelDecoder
...
Not just the 6 bits per color component used in VGA
svn-id: r51921
2010-08-08 01:08:17 +00:00
Sven Hesse
8186214bc9
VIDEO: Set _paletteDirty in VMDDecoder::load() when there is an initial palette
...
svn-id: r51920
2010-08-08 01:07:45 +00:00
Sven Hesse
dc3a417699
VIDEO: Change the mixer parameter from a reference to a pointer
...
To match the other VideoDecoder classes with sound support.
svn-id: r51919
2010-08-08 01:07:17 +00:00
Sven Hesse
4133ef90bc
VIDEO: Make CoktelDecoder::getFrameCoords() virtual
...
Like it should have been in the first place...
Fixes Woodruff slot-VMD positions.
svn-id: r51917
2010-08-08 01:06:15 +00:00
Sven Hesse
0be37b6b28
VIDEO: Implement VMD subtitles
...
svn-id: r51915
2010-08-08 01:05:16 +00:00
Sven Hesse
af96a0fa3b
VIDEO: Implement VMDDecoder::setXY()
...
svn-id: r51912
2010-08-08 01:03:50 +00:00
Sven Hesse
945103a43c
VIDEO/GOB: Implement and use CoktelDecoder::getFrameCoords()
...
svn-id: r51909
2010-08-08 01:02:19 +00:00
Sven Hesse
eed41aa223
VIDEO: Fix a failed assertion in VMDDecoder::readFiles()
...
svn-id: r51908
2010-08-08 01:01:45 +00:00
Sven Hesse
6d03ddef0b
VIDEO: Implement CoktelDecoder::renderBlockRLE()
...
svn-id: r51907
2010-08-08 01:01:17 +00:00
Sven Hesse
b2aba5970e
VIDEO: Fix VMD seeking
...
svn-id: r51906
2010-08-08 01:00:53 +00:00
Sven Hesse
b796c39645
VIDEO: Implement VMD frame rendering
...
svn-id: r51905
2010-08-08 01:00:23 +00:00
Sven Hesse
506c1e7d85
VIDEO: Change the CoktelDecoder::renderBlock*'s signatures
...
Change CoktelDecoder::renderBlock*() and IMDDecoder::renderFrame()
to receive a Common::Rect instead of mucking about with _dirtyRects.
svn-id: r51904
2010-08-08 00:59:58 +00:00
Sven Hesse
6d31b17685
VIDEO: Implement VMD sound
...
svn-id: r51903
2010-08-08 00:59:28 +00:00
Sven Hesse
0886f7e33c
VIDEO: Implement VMD frame decoding
...
svn-id: r51902
2010-08-08 00:58:59 +00:00
Sven Hesse
74bec1696b
VIDEO: Implement VMDDecoder::seek()
...
svn-id: r51901
2010-08-08 00:58:29 +00:00
Sven Hesse
f447ddb36a
VIDEO: Fix compilation after the VideoDecoder::load signature change in r51725
...
svn-id: r51900
2010-08-08 00:58:00 +00:00
Sven Hesse
b13afba053
VIDEO: Implement embedded file handling for VMDs
...
svn-id: r51899
2010-08-08 00:57:27 +00:00
Sven Hesse
41f5d78128
VIDEO: Implement VMD loading
...
svn-id: r51898
2010-08-08 00:56:58 +00:00
Sven Hesse
d081c2e20f
VIDEO: Move the frame calculation out of seek()
...
svn-id: r51897
2010-08-08 00:56:29 +00:00