Skip to content

Conversation

@rinon
Copy link
Collaborator

@rinon rinon commented Feb 12, 2024

Removes excess mutability and replaces pointers to struct Rav1dFrameContext with references wherever possible, i.e. function arguments.

@rinon rinon assigned kkysen and randomPoison and unassigned randomPoison and kkysen Feb 12, 2024
@rinon rinon requested review from kkysen and randomPoison February 13, 2024 00:34
@rinon
Copy link
Collaborator Author

rinon commented Feb 13, 2024

This is a lot of changes to avoid doing them in more complicated PRs. This PR should have no functional changes.

Copy link
Collaborator

@kkysen kkysen left a comment

Choose a reason for hiding this comment

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

I think one of the dbg hoistings isn't the same since t.b{x,y} change in that function. I think we can split fn DEBUG_BLOCK_INFO into two methods on each arg so that they can be done separately.

@rinon rinon force-pushed the sjc/rav1dframecontext/frame_thread_mutability branch from 0f682a3 to 174af54 Compare February 15, 2024 22:18
@rinon rinon changed the base branch from main to sjc/debug_block_info_macro February 15, 2024 22:21
@rinon rinon requested a review from kkysen February 15, 2024 22:22
@rinon rinon force-pushed the sjc/debug_block_info_macro branch 2 times, most recently from f3eae29 to 6df0fbc Compare February 15, 2024 23:07
@rinon rinon force-pushed the sjc/rav1dframecontext/frame_thread_mutability branch from 174af54 to fe02a74 Compare February 15, 2024 23:23
Base automatically changed from sjc/debug_block_info_macro to main February 15, 2024 23:24
@rinon rinon merged commit 4f994a6 into main Feb 16, 2024
@rinon rinon deleted the sjc/rav1dframecontext/frame_thread_mutability branch February 16, 2024 01:25
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.

4 participants