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

Return error if the specified qualityLevel is greater than the maximu… #128

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

krajunv
Copy link
Contributor

@krajunv krajunv commented Mar 11, 2025

The number of quality levels supported by the implementation can vary for each codec and may also depend on other parameters.

Therefore, if a client specifies a qualityLevel that is not supported by the implementation, this change fails encode initialization.

Even if the client attempts to use out-of-range values by disabling this check, the validation layer must catch this error if it is enabled. The implementation may either clamp the value to a valid range or return an error.

…m supported quality level

Signed-off-by: Raju Konda <kraju@nvidia.com>
@krajunv krajunv force-pushed the qualityLevelCheck branch from 28fe1d1 to 070a13a Compare March 12, 2025 04:45
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