Matthew Jimenez
b940265816
IMAGE: Use palette class in Cinepak decoder.
...
The Cinepak decoder had an unweighted euclidean color distance calculation for palette matching. This was moved and rewritten to a color distance method on the palette class.
2025-03-05 13:37:01 +02:00
Matthew Jimenez
4a01560a44
IMAGE: Replace palette byte arrays with Palette class
2025-02-27 00:04:00 +02:00
Matthew Jimenez
3fd3f189cf
GRAPHICS: Return early on exact color match for palette lookup
2024-12-26 10:59:48 +02:00
Matthew Jimenez
6c661eb473
GRAPHICS: Define color distance methods for palette
2024-12-26 10:59:48 +02:00
Paul Gilbert
2027813d67
GRAPHICS: Added Palette::createEGAPalette method
2024-06-01 11:26:17 -07:00
Paul Gilbert
dafc55d8b9
GRAPHICS: Add copy operator to Palette
2024-04-29 22:13:00 -07:00
Matthew Jimenez
771dc751db
GRAPHICS: Switch ManagedSurface to use Palette class
2024-03-18 21:06:04 +02:00
Matthew Jimenez
8af5e55712
GRAPHICS: Define Palette class and use in PaletteLookup
2024-03-11 01:02:15 +01:00
Cameron Cawley and coderabbitai[bot]
c6dbbe48b7
Update graphics/palette.cpp
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2023-11-11 23:01:16 +01:00
Cameron Cawley
dae8cf474c
GRAPHICS: Add a function for creating maps to PaletteLookup
2023-11-11 23:01:16 +01:00
AndywinXp
e024c5c81d
GRAPHICS: Add naive algorithm option for PaletteLookup
2022-07-17 13:17:41 +02:00
Eugene Sandulenko
c87c02c5ae
GRAPHICS: Return flag if palette was updated for the palette lookup
2022-07-04 01:36:18 +02:00
Eugene Sandulenko
5abc6bda81
GRAPHICS: Added palette lookup class
2022-07-03 12:50:06 +02:00