Skip to content

Remove stale copy of Table A.2 from timing.c and keep one copy in ann… - #5601

Merged
urvangjoshi merged 1 commit into
mainfrom
spaluri/Ticket5179
Oct 23, 2026
Merged

urvangjoshi merged 1 commit into
mainfrom
spaluri/Ticket5179

Conversation

@SMPaluri

Copy link
Copy Markdown
Contributor

The Table A.2 factors were copied into three tables across two files. CWG-G075/G078 updated the copy in level.c but not the one in timing.c, which still holds the old { 1, 2, 3 } values.

Keep a single copy in annexA.c and read it through
get_bitrate_profile_factor() and get_picture_size_profile_factor().

Fix #5179

@SMPaluri

Copy link
Copy Markdown
Contributor Author

@andrey-norkin I think you missed the second instance of Table A.2 update. I have provided a fix as I was tagged in the ticket.

@urvangjoshi urvangjoshi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @SMPaluri for refactoring ! Looks good to me.

@urvangjoshi
urvangjoshi merged commit 69201be into main Oct 23, 2026
2 checks passed
@urvangjoshi
urvangjoshi deleted the spaluri/Ticket5179 branch October 23, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Discrepancy between bitrate_profile_factor_table in level.c and bitrate_profile_factor in timing.c:

3 participants