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

Use kFilterBilinear with libyuv when allowed #1476

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

wantehchang
Copy link
Collaborator

The condition for determining whether kFilterNone or kFilterBilinear should be used was changed incorrectly in commit 95d96ea (Refactor YUV->RGB conversion with libyuv), causing AVIF_CHROMA_UPSAMPLING_AUTOMATIC to not use kFilterBilinear with libyuv. Fix the condition by reverting to the original code.

Fix #1475.

The condition for determining whether kFilterNone or kFilterBilinear
should be used was changed incorrectly in commit 95d96ea
(Refactor YUV->RGB conversion with libyuv), causing
AVIF_CHROMA_UPSAMPLING_AUTOMATIC to not use kFilterBilinear with libyuv.
Fix the condition by reverting to the original code.

Fix AOMediaCodec#1475.
Copy link
Collaborator

@vigneshvg vigneshvg left a comment

Choose a reason for hiding this comment

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

thanks for fixing this!

@wantehchang wantehchang merged commit f3eecd4 into AOMediaCodec:main Jul 26, 2023
14 checks passed
@wantehchang wantehchang deleted the fix-libyuv-bilinear-bug branch July 26, 2023 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants