-
Notifications
You must be signed in to change notification settings - Fork 22
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
fn *intra_pred_dsp_init*
: Cleanup and make safe
#584
Conversation
I think it would be wise to delete all uses of
This of course makes the code twice as long but more than twice as readable. I don't have to read the |
I respectfully disagree, and I feel like we've (including @randomPoison) discussed it before. The |
Yes, we struck a reasonable compromise in PR #322 . Since then, it seems We should not spend our time compactifying the code by wrapping macros in other macros. Readers that aren't you are not going to find it as readable as you do; I'm among them. That said, I acknowledge your point that the C code uses macros here. I'll let @randomPoison decide what is the best way forward. |
662f110
to
1d210ad
Compare
4a60b90
to
eccc29a
Compare
ca53d47
to
f2c5e8f
Compare
eccc29a
to
86d472d
Compare
f2c5e8f
to
7d0c2ce
Compare
86d472d
to
91c1922
Compare
We've discussed the macros and function pointer wrapping. While there may have been other ways to do this with less complexity or effort, I think that what we have now is usable (now that it's documented) and I don't think we should spend any more time here in either refining or removing the current implementation. This PR LGTM, the discussion here is not actually relevant for this PR itself, more of a meta-discussion. I would suggest we merge this and the previous changes and move on with what we have here. |
7d0c2ce
to
4609590
Compare
91c1922
to
dab1eef
Compare
No description provided.