78 Commits

Author SHA1 Message Date
anotherguest
44c24f8dc8 SYMBIAN OS:Use defaults for data types also for Symbian OS! 2013-11-26 12:17:59 +01: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
richiesams
95d1ef68ab Merge branch 'master' into zvision 2013-08-15 14:14:02 -05: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
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
231586d924 VIDEO: Add hypothetical 32bpp support 2013-06-30 19:00:17 +02:00
Matthew Hoops
36bc47df44 VIDEO: Add an MPEG 1/2 decoder 2013-06-19 23:59:04 -04:00
Max Horn
814aa2e8b7 VIDEO: Remove unused CDToonsDecoder::_currentFrame member var 2013-04-18 23:50:20 +02:00
Einar Johan Trøan Sømåen
5d4d65d6d9 JANITORIAL: Fix ){ -> ) { 2013-01-24 20:15:13 +01:00
Matthew Hoops
1f233be2e4 VIDEO: Add some documentation to Codec and its derivatives 2012-12-04 21:15:44 -05:00
Matthew Hoops
285e1be135 VIDEO: Improve performance of the Cinepak decoder 2012-12-04 20:19:00 -05:00
D G Turner
46027e5303 VIDEO: Fix SVQ1 videos to error out on B Frames. 2012-11-18 21:00:07 +00:00
D G Turner
d2c2c5ec01 VIDEO: Fix compiler warning in SVQ1 codec. 2012-11-18 20:52:47 +00:00
Matthew Hoops
51b2904cc1 VIDEO: Improve a Cinepak heuristic
Brings it inline with the FFmpeg/libav version again
2012-11-14 18:30:54 -05:00
Matthew Hoops
173dace75b VIDEO: Fix SVQ1 color on right/bottom borders 2012-09-19 15:58:18 -04:00
Matthew Hoops
09269fce8c GRAPHICS: Implement different luminance ranges
Bink and Theora are now much improved
2012-09-18 16:50:01 -04:00
Matthew Hoops
893a2b37ff GRAPHICS: Rework YUV->RGB code a bit 2012-09-17 19:30:46 -04:00
Matthew Hoops
4b05031042 Revert "VIDEO: Rework SVQ1 codebooks so they're endian-safe"
This reverts commit 1ca81ee6ecff15c843c04a51c8757be5a685edc2.

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
2a1193a6b1 VIDEO: Make rpza decode to its own pixel format 2012-06-12 09:34:24 -04:00
Matthew Hoops
e16ad39e53 VIDEO: Cleanup QTRLE
In particular, the colors are not converted to the screen format upon decoding. The code should also now work with 32bpp screen formats.
2012-06-11 23:16:30 -04:00
Matthew Hoops
473a09786d GRAPHICS: Make YUV410 conversion code use bilinear interpolation
SVQ1 no longer looks blocky and now looks a lot closer to what QuickTime outputs
2012-04-14 17:06:31 -04:00
Ori Avtalion
870ab35f5b VIDEO: Change 'class' to 'struct' to match declaration 2012-04-14 15:32:26 +03:00
Matthew Hoops
744528cb18 VIDEO: Clean up the SVQ1 code 2012-04-08 03:29:56 +01:00
D G Turner
7b6c4bb8e1 VIDEO: Minor update to SVQ1 decoder, reversing sense of return flags.
This changes the decoder function return flag meaning from "result
error" to "resultValid". This makes it more consistent with normal
C standard of returning 0 on success.
2012-04-08 03:29:50 +01:00
Matthew Hoops
8bf8a08048 VIDEO: Fix SVQ1 plane pitch
All the Myst intro videos now decode correctly
2012-04-08 03:29:48 +01:00
D G Turner
95d7c012d6 VIDEO: Minor updates to SVQ1 decoder, mainly return flags to bool.
Since the returned int values from the decoding functions are just
0 for good or -1 for error, have changed these into an errorFlag
bool. This improves readability and cleans up some of the error
checking code. In addition, have fixed some oversights in formatting
spacing for readability.
2012-04-08 03:29:45 +01:00
D G Turner
c917db0754 VIDEO: Change SVQ1 decoder to skip rather than decode embedded string.
This string field is not used and this avoids having to include a
xor table.
2012-04-08 03:29:42 +01:00
Matthew Hoops
b0646529d1 VIDEO: Fix segfaults on different sized SVQ1 frames 2012-04-08 03:29:40 +01:00
Matthew Hoops
7e05107256 VIDEO: Fix endian issue with SVQ1 2012-04-08 03:29:37 +01:00
D G Turner
2043403207 VIDEO: Add Missing Half-Pel Motion Compensation Code to SVQ1 Codec.
Graphics output is now _almost_ correct.
2012-04-08 03:29:35 +01:00
Matthew Hoops
1ca81ee6ec VIDEO: Rework SVQ1 codebooks so they're endian-safe 2012-04-08 03:29:32 +01:00
D G Turner
7109e26d04 VIDEO: Workaround for out of buffer accesses in SVQ1 codec.
This is a temporary workaround during development.
Keyframe (I) decoding is now working correctly, but Deltaframe (P) is
still giving corrupted output...
2012-04-08 03:29:29 +01:00
D G Turner
d15ff5a03e VIDEO: Correct delete type in SVQ1 decoder. 2012-04-08 03:29:27 +01:00
D G Turner
97746e2281 VIDEO: Correct SVQ1 Header Decoding and Last Frame Buffering.
Header was incorrectly documnented in reference documents.
Corrected with reference to FFMPEG.
Also, added missing buffering of last frame for P frame decoding.
2012-04-08 03:29:24 +01:00
Matthew Hoops
c9bbe5793c VIDEO: Rewrite the SVQ1 VLC code to use Common::Huffman 2012-04-08 03:29:22 +01:00
D G Turner
32ff1f8478 VIDEO: SVQ1 - Add table_size default setting for VLC Table setup. 2012-04-08 03:29:19 +01:00
D G Turner
a3fb8867d0 VIDEO: Fix remaining missing code (getVlc2()) in SVQ1 Codec. 2012-04-08 03:29:17 +01:00
D G Turner
b99565d701 VIDEO: Add remaining SVQ1 code derived from FFMPEG.
This still requires some work to make it usuable, mainly changing the
Variable Length Code reader to work with Common::BitStream input.
2012-04-08 03:29:14 +01:00
D G Turner
9330a7c54d VIDEO: Corrected minor mistake in SVQ1 decoder. 2012-04-08 03:29:11 +01:00
D G Turner
69e76182cb VIDEO: Update SVQ1 WIP with minor corrections.
This mainly fixes the Bitstream to Big Endian, MSB to LSB.
2012-04-08 03:29:09 +01:00
D G Turner
da35b9f5f6 VIDEO: Migrate SVQ1 codec WIP to Common::BitStream. 2012-04-08 03:29:06 +01:00
D G Turner
c9c16cd1ee VIDEO: Add initial framework and data tables for Sorenson SVQ1 decoder.
This is based on the SVQ1 decoder from FFMPEG.
2012-04-08 03:29:01 +01:00
Matthew Hoops
765a870445 GRAPHICS: Convert JPEG to the ImageDecoder API 2012-03-20 01:06:48 +01:00