Johannes Schickel
e9bb9ddcf5
GRAPHICS: Be more robust with broken/unsupported thumbnail headers.
...
This fixes future issues like bug #3614654 :
"ALL: ScummVM 1.5.0 can't read newer saved games".
There are a few behavior changes introduced with this commit:
- checkThumbnailHeader will now also report the presence of
unsupported/broken (but skippable) headers.
- skipThumbnail will also try to skip the data for broken/unsupported
thumbnail data.
- loadThumbnail will skip over broken/unsupported thumbnail data but still
return 0 in this case.
2013-07-12 22:54:53 +02:00
Eugene Sandulenko
49210a803a
Merge pull request #331 from sev-/gsoc2012-eventsrecorder
...
GSoC2012: Event Recorder (reworked)
2013-07-04 04:58:54 -07:00
Matthew Hoops
7445459c9d
GRAPHICS: Cleanup the YUV to RGB usage documentation
2013-06-30 17:56:36 -04:00
Eugene Sandulenko
f59512c47e
RECORDER: Implement Events Recorder
2013-05-17 00:18:09 +03:00
Matthew Hoops
2d6b66ef41
GRAPHICS: Fix quantization table id check
2013-04-16 12:00:39 -04:00
Einar Johan Trøan Sømåen
0db8a0b3b1
GRAPHICS: Let JPEGs pixelformat state 0 alpha bits.
2013-02-01 01:54:39 +01:00
Johannes Schickel
b4d0a8ba66
JANITORIAL: Enforce "} // End of namespace" with a single space after }.
2013-01-26 19:38:02 +01:00
Matthew Hoops
6ae97cdfbe
GRAPHICS: Modify the JFIF version warning
...
v1.02 images should only differ with the thumbnail from v1.01, and should be handled correctly by our decoder.
2013-01-26 11:56:13 -05:00
Johannes Schickel
2ef500ce81
Merge pull request #256 from lordhoto/thumbnail-pixelformat
...
GRAPHICS: Serialize PixelFormat for thumbnails and allow 4Bpp surfaces.
2013-01-26 05:37:32 -08:00
Einar Johan Trøan Sømåen
5d4d65d6d9
JANITORIAL: Fix ){ -> ) {
2013-01-24 20:15:13 +01:00
Einar Johan Trøan Sømåen
58777682fe
GRAPHICS: Fix leak in PNG-decoder.
2013-01-24 17:39:16 +01:00
Tomas Jakobsson
befa207bfa
GRAPHICS: Delete iff.cpp and iff.h since all ILBM and PBM decoding is handled by IFFDecoder now
2013-01-06 20:04:50 +01:00
Tomas Jakobsson
fe2b4b39f7
GRAPHICS: New IFFDecoder that decodes ILBM and PBM images
2013-01-06 20:04:42 +01:00
D G Turner
0b72bd2dea
GRAPHICS: Add ability to override outputPitch to ILBM decoder.
...
This allows loading an image into a buffer of a larger width.
Thanks to Tomaz^ for this patch.
2012-12-26 02:54:18 +00:00
D G Turner
5fecf5bcb5
GRAPHICS: Allow ILBM bitmap loading for images with 6 planes.
...
Thanks to Tomaz^ for this.
2012-12-26 02:09:33 +00:00
D G Turner
0eb68f6c97
GRAPHICS: Add support for ILBM files containing uncompressed data.
...
Thanks to Tomaz^ for this patch.
2012-12-26 00:52:30 +00:00
Einar Johan Trøan Sømåen
1ef63578bb
GRAPHICS: Mark decoders used by Wintermute as such.
2012-10-23 21:48:27 +02:00
David-John Willis
e7921438cd
GRAPHICS: Rename NEON_ASPECT_CORRECTOR to USE_ARM_NEON_ASPECT_CORRECTOR
...
* This better matches other ARM codepaths.
* Also remove #ifdef OPENPANDORA as moved to configure.
2012-10-21 18:43:07 +01:00
Matthew Hoops
c645f7dc93
GRAPHICS: Make failing to find the PICT header return false from loadStream
2012-10-16 22:15:09 -04:00
Johannes Schickel
a5bce74635
GRAPHICS: Fix compilation of conversion.cpp on motomagx.
...
Using plain "inline" instead of "FORCEINLINE" allows the compiler to continue
even when it fails to inline crossBlitLogic/crossBlitLogic3BppSource. The
impact of other systems now not inlining the functions anymore is hopefully
small enough to not cause any problems.
2012-10-09 23:32:51 +02:00
Johannes Schickel
c2971374cd
Merge pull request #257 from lordhoto/graphics-conversion
...
Extend crossBlit for abitrary (in-place) conversions and add a in-place conversion to Surface
2012-10-08 14:18:33 -07:00
Johannes Schickel
89abab97e3
JANITORIAL: Remove trailing whitespaces.
...
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Johannes Schickel
dc6b98f64c
GRAPHICS: Slight formatting fixes in aspect.cpp.
2012-09-25 15:16:54 +02:00
clone2727
2e4ee0b2d0
Merge pull request #275 from clone2727/pegasus
...
Pegasus engine (The Journeyman Project: Pegasus Prime)
2012-09-20 13:17:39 -07:00
Matthew Hoops
0677871ea9
GRAPHICS: Update YUV410 conversion docs
2012-09-19 16:00:27 -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
Bertrand Augereau
4c02e19742
SCALER: Neon code for aspect correction for OpenPandora
...
It gains 35% on the first function of the profiling on Indy IV
It is now nearly memory-bound (~10%) so it might not be needed to schedule the code better than this
2012-09-17 22:13:34 +02:00
Matthew Hoops
7759f47607
GRAPHICS: Fix BMP palette color count with bpp != 8
2012-09-17 12:35:17 -04:00
Filippos Karapetis
c0babb010a
Merge pull request #278 from bluegr/pcxdecoder
...
GRAPHICS: Add a PCX decoder
2012-09-16 14:06:42 -07:00
Einar Johan Trøan Sømåen
25aa19b272
GRAPHICS: Reinsert attributeBits as a comment to the TGA-decoder
2012-09-15 18:08:34 +02:00
Einar Johan Trøan Sømåen
cffda7710c
GRAPHICS: Force alphaBits to 8 for 32bpp TGAs for now
2012-09-15 17:57:08 +02:00
Matthew Hoops
d5ed8b1901
Merge remote branch 'upstream/master' into pegasus
...
Conflicts:
AUTHORS
2012-09-12 20:18:13 -04:00
Filippos Karapetis
ccccb392b5
GRAPHICS: Add a common PCX image decoder
2012-09-13 01:49:29 +03:00
Matthew Hoops
ed2be9d873
GRAPHICS: Fix ImageDecoder inconsistency with getPalette()
...
Per LordHoto's suggestion
2012-09-09 17:20:07 -04:00
Filippos Karapetis
1f11ce6df2
PNG: call png_set_interlace_handling() before calling png_read_update_info()
...
This matches the documentation, information from the PNG bug tracker and the
behavior of example decoders off the net. It fixes warnings thrown from the PNG
decoder
2012-09-06 01:35:58 +03:00
Matthew Hoops
f35e820e9f
Merge remote branch 'upstream/master' into pegasus
2012-09-05 11:45:25 -04:00
Bertrand Augereau
5f6a98cb5b
SCALER: No need to inline interpolate5Line, it just bloats stretch200To240 for nothing
2012-09-03 01:34:41 +02:00
Matthew Hoops
2f9b1b67b0
ALL: Mark off some things as used by Pegasus
2012-08-31 22:26:02 -04:00
Matthew Hoops
790a74ab9d
Merge remote branch 'upstream/master' into pegasus
2012-08-31 21:58:58 -04:00
Bertrand Augereau
10a947a0be
GRAPHICS: Scope reduction of the sometimes unused alpha component in TGADecoder::readHeader
2012-08-30 18:32:27 +02:00
Bertrand Augereau
3b4d713ba1
GRAPHICS: Undefined behaviour/warnings removal in the TGA decoder
2012-08-30 18:13:00 +02:00
Johannes Schickel
f87154def8
GRAPHICS: Slight formatting change for consistency.
2012-08-29 15:59:15 +02:00
Johannes Schickel
f189d8a541
GRAPHICS: Remove extra semicolon.
2012-08-29 15:58:55 +02:00
Johannes Schickel
933726a7e8
Merge pull request #263 from somaen/tgaloader
...
GRAPHICS: Add in a TGA-decoder
2012-08-29 06:58:22 -07:00
Einar Johan Trøan Sømåen
47a7df2d0f
GRAPHICS: Add in a TGA-decoder
2012-08-29 14:05:54 +02:00
Johannes Schickel
eeb3959259
GRAPHICS: Add an in-place Surface PixelFormat conversion.
2012-08-28 02:27:48 +02:00
Johannes Schickel
e8cf0adf95
GRAPHICS: Slight cleanup in crossBlit code.
2012-08-28 02:27:48 +02:00
Johannes Schickel
a92a509ac8
GRAPHICS: Allow in-place conversion with any color formats in crossBlit.
2012-08-28 02:27:48 +02:00
Johannes Schickel
0d78d46a0e
GRAPHICS: Remove crossBlit's dstBpp >= srcBpp limitation.
2012-08-28 02:27:48 +02:00