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

Different loose mid side algorithm compatible with multithreading #675

Merged
merged 1 commit into from
Mar 9, 2024

Conversation

ktmf01
Copy link
Collaborator

@ktmf01 ktmf01 commented Mar 5, 2024

The current loose mid-side algorithm is not compatible with multithreading, because frames depend on the channel ordering of the last frame.

To solve this, a different loose mid-side algorithm is introduced.

very large set of tracks.pdf

From top left to bottom right presets 0, 1, 2, 3 and 4. There is quite a bit of variability in the results (flac-1.4.3.exe should have had the same results as flac-multithreading-v6.exe, and results for presets 0, 2 and 3 should have been the same for all three), but it seems as if the new algorithm is faster for preset 4 and slower for preset 1. This has probably to do with block size. Compression seems pretty much the same.

@ktmf01 ktmf01 merged commit d2b2441 into xiph:master Mar 9, 2024
14 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.

1 participant