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

aom: Use all available CPUs for encoding by default. #1221

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

fancycode
Copy link
Member

Fixes #1212

@farindk farindk merged commit e42b01f into master Jul 4, 2024
33 of 36 checks passed
@farindk farindk deleted the aom-default-threadcount branch July 4, 2024 14:02
// Could not autodetect, use previous default value.
threads = 4;
}
p->integer.default_value = threads;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should make sure p->integer.default_value <= p->integer.maximum. A computer may have more than 64 processor cores.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, good catch. I have corrected this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! The new code looks good to me.

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.

Number of threads for AOM encoder limited
3 participants