Skip to content

Speed up estimate_inter_costs #2889

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

Merged
merged 1 commit into from
Jan 30, 2022
Merged

Conversation

redzic
Copy link
Collaborator

@redzic redzic commented Jan 30, 2022

This reuses very expensive allocations of FrameMEStats instead of allocating for every time estimate_inter_costs is called.

Speed difference for estimate_inter_costs for 1080p yuv420p:

Before:

image

After:

image

@redzic redzic force-pushed the reuse-alloc-cost-sc branch from d773fa3 to 986e177 Compare January 30, 2022 08:06
@shssoichiro shssoichiro merged commit 2773552 into xiph:master Jan 30, 2022
@redzic redzic deleted the reuse-alloc-cost-sc branch January 30, 2022 22:19
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