28 Commits

Author SHA1 Message Date
antoniou79 8bd0a2b660 IMAGE: Fix inclusion of MJPEG codec when JPEG support is enabled 2026-02-08 22:19:49 +02:00
Cameron Cawley a06885758c IMAGE: Make more codecs into optional components 2026-02-01 17:12:07 +02:00
Cameron Cawley 1c7e5a75c2 IMAGE: Unify the default pixel format for YUV codecs 2025-07-13 20:01:28 +03:00
Cameron Cawley 9bbb019950 IMAGE: Split the generic QuickTime dithering into a separate class 2025-04-30 19:20:29 +08:00
Cameron Cawley 77523c844c CONFIGURE: Make SVQ1 and QDM2 optional components 2025-03-03 07:31:41 +02:00
Eugene Sandulenko 847c714e68 CONFIGURE: Split indeo into indeo3 and indeo45 components
Also, add indeo3 as a dependency to bbvs and add all codect to testbed
2024-12-27 12:40:26 +01:00
Eugene Sandulenko a6e3feed61 CONFIGURE: Turned Indeo codecs into 'indeo' component
For Director engine it is marked as optional, since so far onnly
one game is using it.

This could lead to regressions since we were not tracking which
games use Indeo codecs since we added them in 2016 (Indeo 4&5) and
2010 (Indeo 3). So, there could be an AVI video which is now stops
playing and produces a warning. In this case, the 'indeo' component
must be added to the respective engine.
2024-12-26 01:10:14 +01:00
Scott Percival 91857fecb4 IMAGES: Add Indeo 3 to QuickTime codec list 2024-04-25 00:54:17 +02:00
grisenti aa52aafe81 IMAGES: force alpha decoding for BMP images 2022-12-23 14:03:35 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 7a4e5612de JANITORIAL: Replace new[]/memset with new[]()
Mostly done using the following Ruby script:

(Dir.glob('**/*.cpp') + Dir.glob('**/*.h')).each do |file|
  s = File.read(file, encoding: 'iso8859-1')
  t = s.gsub(/(([\w_.\[\]]+)\s*=\s*new\s+\S+?\[[^\]]+?\](?!\())([^\{\}]*?)\n\s+memset\(\s*\2\s*,\s*0\s*,[^;]*;/m, '\1()\3')
  if t != s
    File.open(file, 'w') { |io| io.write(t) }
  end
end
2021-11-10 19:53:15 +01:00
lb_ii 5d093e725f IMAGE: Extend raw decoder to support BMP with alpha channel 2021-11-01 16:25:43 +02:00
ysj1173886760 adfa11e684 IMAGE: flip 8bpp images when we are decoding QuickTimeVideo 2021-08-05 15:06:14 +08:00
Matthew Duggan 017a801c96 IMAGE: Add support for Xan codec videos (Crusader, Wing Commander) 2021-03-14 19:16:24 +01:00
Eugene Sandulenko 2999977154 IMAGE: CODECS: Plug QT RAW decoder 2020-08-10 12:46:38 +02:00
Matthew Duggan 818e681746 IMAGE: Add support for Crusader: No Remorse movie decoding
The movies for Crusader: No Remorse have a unique decoder which is not too hard
to implement.  Unfortunately, they don't properly implement the "compression"
FourCC, and instead put their ID in the "Stream Handler".  Since supporting
them requires a change to the existing Image API, I thought I should make a
pull request for comments.

With this change, the movies in Crusader can all be played nicely.
2020-05-11 07:54:24 +02:00
Colin Snover 7b90f0693a IMAGE: Return correct pixel format for Indeo3
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-11 10:59:55 -06:00
Paul Gilbert 91d61b2cdb IMAGE: Respect bit depth in Indeo 5 decoder 2016-11-18 20:58:39 -05:00
Paul Gilbert 7f4d93ed93 IMAGE: Respect specified bytesPerPixel in Indeo decoders 2016-11-18 20:55:37 -05:00
Paul Gilbert fe6d624277 IMAGE: Implemented Indeo5 decoder 2016-09-10 14:31:19 -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
Eugene Sandulenko d35cdf5009 IMAGE: Added BMP RLE4 decoder 2016-05-19 00:03:51 +02: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 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 ec38016044 IMAGE: Fix compiling in truemotion 2014-05-26 11:01:59 -04: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