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

Fix explicit assignment slice group parsing #65

Merged
merged 2 commits into from
Feb 26, 2024

Conversation

dholroyd
Copy link
Owner

@dholroyd dholroyd commented Feb 23, 2024

Fix variable-name confusion error.

According to the spec, the two values pic_size_in_map_units_minus1 and num_slice_groups_minus1 should be used the other way around. As pointed out by @wrv.

Fixes #57

Also, fix a nearby calculation which lacked ceil(). The spec asks for Ceil( Log2( num_slice_groups_minus1 + 1 ) )

According to the spec, the two values pic_size_in_map_units_minus1 and
num_slice_groups_minus1 should be used the other way around.

Fixes #57
@dholroyd dholroyd force-pushed the explicit-assignment-slice-group-parsing branch from 628f07d to fc9c767 Compare February 25, 2024 20:05
@dholroyd dholroyd merged commit 531df43 into master Feb 26, 2024
1 check passed
@dholroyd dholroyd deleted the explicit-assignment-slice-group-parsing branch February 26, 2024 23:42
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.

Incorrect Parsing of Explicit Assignment Slice Groups
1 participant