-
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
struct Rav1dContext
: Make frame contexts a Box<[_]>
#1000
Conversation
b66f230
to
6a9559a
Compare
0d6cbc5
to
6ff6d35
Compare
Rav1dContext
: Make frame contexts a boxed slicestruct Rav1dContext
: Make frame contexts a Box<[_]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally LGMT. Only little things are that we should just use %
instead of .wrapping_rem
. .wrapping_rem
is only there since other operations have .wrapping_*
versions, but this one does nothing extra. Also, for the place where you did .fc_iter
and .nth
, I think we should do %
and indexing like is done for the other places, and is done in C.
934c8d1
to
7928da5
Compare
6ff6d35
to
da70a54
Compare
7928da5
to
5a07699
Compare
da70a54
to
7793631
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you might've missed a few of the changes. The .wrapping_rem
s are still there.
5a07699
to
e2b4317
Compare
3626706
to
7d53b2f
Compare
e2b4317
to
5ac674d
Compare
7d53b2f
to
16e15d6
Compare
Replaces the C allocation and `fc` array pointer of `Rav1dFrameContext` structures with a Rust boxed slice.
5ac674d
to
32bc8ba
Compare
16e15d6
to
b83c712
Compare
Replaces the C allocation and
fc
array pointer ofRav1dFrameContext
structures with a Rust boxed slice.