Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMAGE: Use palette class in Cinepak decoder. #6466

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

OMGPizzaGuy
Copy link
Member

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.

Tested with Myst demo for quicktime usage and Journeyman Project 2 demo for AVI / Video for Windows dithering usage.

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.
@bluegr
Copy link
Member

bluegr commented Mar 5, 2025

Great work, thanks!

@bluegr bluegr merged commit b940265 into scummvm:master Mar 5, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants