Skip to content

Conversation

@randomPoison
Copy link
Collaborator

No description provided.

@randomPoison randomPoison requested review from kkysen and rinon March 11, 2024 16:10
@randomPoison randomPoison merged commit f7ddd24 into main Mar 11, 2024
@randomPoison randomPoison deleted the legare/Rav1dFrameContext_lf/lr_line_buf branch March 11, 2024 17:43
@kkysen kkysen changed the title Rav1dFrameContext_lf::lr_line_buf: Make into AlignedVec64 struct Rav1dFrameContext_lf::lr_line_buf: Make into AlignedVec64 Mar 11, 2024
Comment on lines 4449 to 4451
if y_stride * num_lines as isize != f.lf.lr_buf_plane_sz[0] as isize
|| uv_stride * num_lines as isize * 2 != f.lf.lr_buf_plane_sz[1] as isize
{
Copy link
Collaborator

Choose a reason for hiding this comment

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

Based @fbossen's comment here, #793 (comment), it seems this if should be removed, right?

I think we can also get rid of lr_buf_plane_sz and just calculate it from f.sr_cur.p.stride, f.sbh, seq_hdr.sb128, and c.tc.len() the one time we need it later on.

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.

3 participants