Commit Graph

130 Commits

Author SHA1 Message Date
Paul Gilbert
7f4d93ed93 IMAGE: Respect specified bytesPerPixel in Indeo decoders 2016-11-18 20:55:37 -05:00
Paul Gilbert
ccbe07bd81 IMAGE: Fix setting frame sizes in Indeo decoders 2016-11-14 20:42:21 -05:00
Colin Snover
8eb8e7366c IMAGE: Add support for 16-bit RLE TGA images
Used by Titanic engine.
2016-11-07 19:51:53 -06:00
Paul Gilbert
7564d47e99 IMAGE: Fix incorrect warnings decoding MSRLE images 2016-10-26 22:16:23 -04:00
Eugene Sandulenko
355c4fa646 JANITORIAL: Remove more trailing spaces 2016-10-09 15:02:02 +02:00
Paul Gilbert
785696ae5d IMAGE: Fix compiler warning in Indeo decoders 2016-09-22 06:41:26 -04:00
Bastien Bouclet
702df395eb IMAGE: Change PNGDecoder to never delete the input stream
The stream is owned by the caller. Fixes CID 1362842.
2016-09-19 08:02:19 +02:00
Paul Gilbert
21979d741b IMAGE: Try and work around N64 compilation error 2016-09-11 15:25:24 -04:00
Eugene Sandulenko
a035334cbd IMAGE: Indeo: Replace memory-related functions with standard ones 2016-09-11 18:04:49 +02:00
Eugene Sandulenko
fe65d374d1 IMAGE: Reduced scope for more variables in Indeo codec 2016-09-11 17:54:11 +02:00
Paul Gilbert
71fd176f05 IMAGE: Compilation fixes for Indeo codecs 2016-09-11 11:51:16 -04:00
Eugene Sandulenko
60da6cad6b IMAGE: Reduce scope of many variables in Indeo codecs 2016-09-11 17:28:26 +02:00
Eugene Sandulenko
d39ef91d41 JANITORIAL: Whitespace fixes 2016-09-11 17:17:31 +02:00
Paul Gilbert
08143af482 IMAGE: Further formatting of Indeo decoders 2016-09-11 09:42:12 -04:00
Paul Gilbert
a5f4366387 IMAGE: Fix leading spaces into tabs in Indeo decoders 2016-09-10 22:18:05 -04:00
Paul Gilbert
2f7da2d3d9 IMAGE: Miscellaneous cleanup for Indeo decompressors 2016-09-10 21:05:49 -04:00
Paul Gilbert
23b1dbbb0e IMAGE: Refactored Indeo GetBits class to derive from Common::BitStream 2016-09-10 20:35:02 -04:00
Paul Gilbert
9c6a55a2a6 IMAGE: Cleanup of miscellaneous methods and arrays in Indeo decoders 2016-09-10 18:07:13 -04:00
Paul Gilbert
e06442afb6 IMAGE: Cleanup of method parameters and locals in Indeo decoders 2016-09-10 17:00:06 -04:00
Paul Gilbert
58ad70f351 IMAGE: Renaming structure fields for Indeo decoders 2016-09-10 16:04:22 -04:00
Paul Gilbert
fe6d624277 IMAGE: Implemented Indeo5 decoder 2016-09-10 14:31:19 -04:00
Paul Gilbert
9c7b9e1667 IMAGE: Compilation fixes for Indeo4 decoder 2016-09-10 10:43:23 -04:00
Paul Gilbert
a6ffef9e26 IMAGE: Remove green lines from Indeo4 decoder 2016-09-10 10:08:24 -04:00
Paul Gilbert
4e9933d3c9 IMAGE: Indeo4 decoder is now working 2016-09-10 10:08:22 -04:00
Paul Gilbert
0910e642a2 IMAGE: Fix decoding tile data in Indeo4 decoder 2016-09-10 10:08:20 -04:00
Paul Gilbert
3a2ee8ea23 IMAGE: Fixes for setup of Indeo4 decoder 2016-09-10 10:08:19 -04:00
Paul Gilbert
400661182e IMAGE: Indeo4 header now being successfully loaded 2016-09-10 10:08:17 -04:00
Paul Gilbert
c60a03019c IMAGE: Cleanup and warning fixes for Indeo decoder 2016-09-10 10:08:15 -04:00
Paul Gilbert
9e774af4d9 IMAGE: Further implementation of Indeo image decoding 2016-09-10 10:08:14 -04:00
Paul Gilbert
c165826316 IMAGE: Created Indeo decoder base class for shared Indeo4/5 functionality 2016-09-10 10:08:12 -04:00
Paul Gilbert
5f0962696f IMAGE: Added Indeo4Decoder decodePictureHeader, and lots of dependencies 2016-09-10 10:08:10 -04:00
Paul Gilbert
73e7903186 IMAGE: Beginning of Indeo 4 decoder, added GetBits class for reading bits 2016-09-10 10:07:53 -04:00
Eugene Sandulenko
fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Paul Gilbert
23718d14ab IMAGE: Fix decoding Starship Titanic video file z404.avi 2016-09-01 22:33:12 -04:00
Paul Gilbert
dbee76236e IMAGE: Add titanic to list of engines using TGA decoder 2016-08-05 19:19:45 -04:00
Eugene Sandulenko
521d2e299f GRAPHICS: Use better color for 1bpp BMPs 2016-06-21 21:26:40 +02:00
Eugene Sandulenko
547fcecf38 GRAPHICS: Fix 1bpp BMP drawing 2016-06-17 13:31:28 +02:00
Eugene Sandulenko
693ee5ea2b IMAGE: 1bpp BMPs are not upside down. Fixing it. 2016-06-04 00:33:21 +02:00
Eugene Sandulenko
c76dfb031e IMAGE: Added support for 1bpp BMPs 2016-06-04 00:16:35 +02:00
Eugene Sandulenko
12f10a2264 IMAGE: Fix out of bounds access 2016-05-31 17:12:18 +02:00
Eugene Sandulenko
3b5236c9de IMAGE: Init memory before usage 2016-05-31 17:12:18 +02:00
Torbjörn Andersson
85e55d0c6e JANITORIAL: Remove unnecessary semicolons 2016-05-25 05:37:07 +02:00
Eugene Sandulenko
d35cdf5009 IMAGE: Added BMP RLE4 decoder 2016-05-19 00:03:51 +02:00
Eugene Sandulenko
c18945e991 GRAPHICS: Add support for 4bpp BMPs 2016-05-18 02:23:11 +02:00
Willem Jan Palenstijn
a67e8a61dc VIDEO: Add warning for potential unaligned writes 2016-02-20 22:33:05 +01:00
Willem Jan Palenstijn
9362bde2cc VIDEO: In indeo3 codec, use unaligned read functions where necessary
This fixes bug #7039.
2016-02-20 22:33:05 +01:00
Bastien Bouclet
a12940c0a9 IMAGE: Fix a memory leak in the RPZA decoder 2016-02-14 09:58:43 +01:00
Eugene Sandulenko
691b11be64 IMAGE: Fix 16bpp MS Video1 output 2015-11-16 04:54:57 +01:00
Eugene Sandulenko
b9b8eab269 IMAGES: WIP for 16-bit MS Video1 decoder 2015-11-14 23:32:38 +01:00
Max Horn
856475067a MISC: Remove some unused private member variables 2015-07-19 17:13:18 +02:00
Matthew Hoops
bb1ebffbea IMAGE: Move a memcpy out of a loop it shouldn't be in 2015-06-04 20:26:29 -04:00
Matthew Hoops
ebc5a75ca3 IMAGE: Mark Cinepak as being used by Sherlock 2015-06-04 20:26:29 -04:00
Matthew Hoops
383c0bf3fa IMAGE: Make the createQuickTimeDitherTable function public
Needed for access by QuickTime directly
2015-04-12 20:11:47 -04:00
Matthew Hoops
94b317b0cd IMAGE: Implement QTRLE dithering 2015-04-11 14:37:13 -04:00
Matthew Hoops
7f12db95c6 IMAGE: Implement QuickTime dithering in rpza 2015-04-11 14:37:09 -04:00
Matthew Hoops
1271fbde8f IMAGE: Add support for QuickTime dithered Cinepak 2015-04-11 14:36:58 -04:00
Matthew Hoops
c402d9a959 IMAGE: Add an unknown dither type 2015-04-11 14:36:54 -04:00
Matthew Hoops
0ceb383cd3 IMAGE: Add a function for generating QuickTime dither tables
Much thanks to fuzzie for her assistance.
2015-04-11 14:36:46 -04:00
Matthew Hoops
e5048ecffe IMAGE: Rewrite a bunch of Cinepak using templates 2015-04-11 14:36:42 -04:00
Matthew Hoops
f342d63431 IMAGE: Allow for choosing dither type 2015-04-11 14:36:37 -04:00
Matthew Hoops
ad32fb5832 IMAGE: Add support for Cinepak VFW dithering 2015-04-11 14:36:31 -04:00
Matthew Hoops
f6d7c5e176 IMAGE: Add functions to allow for videos to be dithered 2015-04-11 14:36:18 -04:00
Filippos Karapetis
f2511e5a9e IMAGE: Disable unused MJPEG array
Thanks to fingolfin for pointing that out
2014-12-07 17:49:57 +02:00
Filippos Karapetis
67fec75b4e IMAGE: Remove trailing whitespace 2014-10-28 15:38:51 +02:00
Matthew Hoops
9a5b3bfdda IMAGE: Make Cinepak decode to 32bpp when in 8bpp screen mode 2014-08-17 12:24:23 -04:00
Joel Teichroeb
46c933d953 IMAGE: Fix TGA copy and paste error. 2014-07-09 22:28:43 -07: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
Matthew Hoops
8c3e8624f0 IMAGE: Ensure the truemotion surface is cleared to black before decoding 2014-05-26 17:55:39 -04:00
Matthew Hoops
9fc10d9739 IMAGE: Limit truemotion to decoding within its boundaries, not AVI's 2014-05-26 17:51:26 -04:00
Matthew Hoops
ec38016044 IMAGE: Fix compiling in truemotion 2014-05-26 11:01:59 -04:00
Matthew Hoops
0572fa5d35 IMAGE: Handle bitmaps with an image size field of 0 2014-03-01 12:05:47 -05:00
Matthew Hoops
57aa610f0c IMAGE: Update comments 2014-02-28 00:32:06 -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
0f07f85a94 IMAGE: Split raw bitmap decoding into a Codec 2014-02-28 00:31:59 -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
e6717aaf43 IMAGE: Clarify difference between ImageDecoder and Codec a bit 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