aboutsummaryrefslogtreecommitdiff
path: root/image
AgeCommit message (Collapse)Author
2019-05-09IMAGE: Fix MSVC warningsSupSuper
Fixes warning C4067: unexpected tokens following preprocessor directive due to non-standard "and" "or" operators
2019-04-28IMAGE: Fix build when not using libjpeg-turboBastien Bouclet
2019-04-28IMAGE: Remove decoding JPEG directly to RGB565Bastien Bouclet
It's not supported by ancient versions of libjpeg-turbo, and there is no way to detect if support is available without doing a compilation test...
2019-04-28IMAGE: Don't perform color conversion when decoding PNGsBastien Bouclet
2019-04-28IMAGE: Allow setting the output pixel format to the JPEG decoderBastien Bouclet
2019-04-13COMMON: Use a prefix table to speed up the Huffman decoderBastien Bouclet
Symbols for codes shorter than the prefix table index width are stored in the table. All the entries in the table with an index starting with the code are set to the symbol value. That way, when decoding it is possible to get the number of bits corresponding to the table width from the bitstream and directly find the symbol value. Longer code still need to be searched for in the codes list.
2019-03-31GRAPHICS: Add support for PICT opcode $90 BitsRectsluicebox
Add limited support for unpacked PICT bits which FPFP Mac requires. SCI games use packed PICT bits unless an image is less than 8 bytes per row in which case they can't be packed, like FPFP's shovel icon. Fixes bug #7059 which prevents the game from being completed.
2019-03-02IMAGE: Fix taking screenshots on big endian systemsCameron Cawley
2019-03-02IMAGE: Move bitmap writing code out of OpenGLGraphicsManagerCameron Cawley
2018-11-04IMAGE: Honor nb_fields when calculating frame durationTorbjörn Andersson
From what I understand, this has something to do with the image being either made up from two or three parts. When it's made from three parts, the frame should be displayed for half again as long as normal. This makes the speed of the Zork: Grand Inquisitor video look about right to me. It's still out of sync, but it doesn't seem to get *more* out of sync as the video progresses.
2018-11-04VIDEO: Use liba52 to decode audio. This is still laughably brokenTorbjörn Andersson
At the moment, this produces nothing but misery in the form of Valgrind warnings and horrible noise.
2018-09-14IMAGE: Check the output surface bounds when writing QT encoded PICT imagesBastien Bouclet
2018-04-15IMAGE: INDEO: Use the system pixel format for non-8bpp screen modesCameron Cawley
2018-04-07IMAGE: Explicitly initialize CinePak codebooksTorbjörn Andersson
Starship Titanic produces lots of "uninitialized value" warnings at the very beginning of the game, when turning right. This is because in the very first movie frame it uses codebooks that have not been loaded. Explicitly set their data to 0 to guarantee consistent behavior.
2018-03-25JANITORIAL: Remove useless commentAdrian Frühwirth
2018-01-20IMAGE: Fix Indeo3 compiler warningsAdrian Frühwirth
2017-09-24IMAGE: Remove unnecessary heap allocation in BitmapRawDecoderColin Snover
2017-09-24IMAGE: Fix memory leak in BitmapRawDecoderPaul Gilbert
2017-09-21IMAGE: Remove unused end info structs from PNG codeColin Snover
Thanks to @dafioram for noticing the problem & sending an initial patch, and to @wjp for noticing further that the PNG reader did not even use the end info struct it created either. Fixes Trac#10217. Closes gh-1028.
2017-09-05IMAGE: Support rendering Indeo videos at 15bppCameron Cawley
2017-09-04IMAGE: Fix shadowing warningPaul Gilbert
2017-08-24IMAGE: Allow Indeo4 transparency decoding in scalable videosColin Snover
y459.avi in Starship Titanic uses these two modes together, and this appears to work fine.
2017-08-24IMAGE: Implement handling of key color in Indeo transparencyColin Snover
This should also improve performance by eliminating unnecessary writes to the output bitmap for opaque pixels and by simplifying the rendering loop.
2017-08-24IMAGE: Remove unnecessary extra heap allocation of Indeo surfaceColin Snover
2017-08-24IMAGE: Remove unnecessary temporary surface in Indeo4/5Colin Snover
2017-08-24IMAGE: Add support for Indeo4 transparency planeColin Snover
This is used by TITANIC for most of the furniture in the SGT stateroom and Titania's parts.
2017-08-24IMAGE: Use new BitStreamMemory class for indeoWillem Jan Palenstijn
2017-08-24IMAGE: Inline indeo getVLC2Willem Jan Palenstijn
2017-08-24COMMON: Remove BitStream base class to allow inlining callsWillem Jan Palenstijn
All users of BitStream were in fact using a specific, hardcoded variant, so we can hardcode that variant, removing the need for virtual calls, and enabling inlining.
2017-08-11JANITORIAL: Add fall through statementEugene Sandulenko
2017-08-03IMAGE: Correct 4-byte image writting pixel formatSimei Yin
2017-07-25IMAGE: Extra initialization of Indeo decoder IVIHuffTabPaul Gilbert
2017-07-13Image: extend writePng for 4-byte pixelFormatyinsimei
2017-07-13IMAGE: add flag to skip signature check in png decoderyinsimei
2017-07-11IMAGE: Inline two simple indeo functionsWillem Jan Palenstijn
2017-05-21BACKENDS: Compress screenshots using PNG if availableColin Snover
Closes gh-948.
2017-01-11IMAGE: Return correct pixel format for Indeo3Colin Snover
This gives Indeo3 the same behavior as other codecs when encapsulated in a container that provides bit depth information (e.g. AVI). Closes #888.
2017-01-09IMAGE: Fix Unused Variable Compiler Warning in Indeo 4 Codec.D G Turner
2017-01-01IMAGE: Properly load bottom origin RLE encoded TGA imagesPaul Gilbert
2016-12-26IMAGE: Fixed attribution comments for the Indeo decodersPaul Gilbert
2016-11-21IMAGE: Add hack to Indeo 4 decoder to guess transparent areasPaul Gilbert
2016-11-18IMAGE: Fix some confusion of bytes vs bits in Indeo decodersPaul Gilbert
2016-11-18IMAGE: Respect bit depth in Indeo 5 decoderPaul Gilbert
2016-11-18IMAGE: Respect specified bytesPerPixel in Indeo decodersPaul Gilbert
2016-11-14IMAGE: Fix setting frame sizes in Indeo decodersPaul Gilbert
2016-11-07IMAGE: Add support for 16-bit RLE TGA imagesColin Snover
Used by Titanic engine.
2016-10-26IMAGE: Fix incorrect warnings decoding MSRLE imagesPaul Gilbert
2016-10-09JANITORIAL: Remove more trailing spacesEugene Sandulenko
2016-09-22IMAGE: Fix compiler warning in Indeo decodersPaul Gilbert
2016-09-19IMAGE: Change PNGDecoder to never delete the input streamBastien Bouclet
The stream is owned by the caller. Fixes CID 1362842.