Skip to content
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

Reuse me stats for lookahead #2956

Merged
merged 1 commit into from
Jun 2, 2022

Commits on Jun 2, 2022

  1. Reuse me stats for lookahead

    This partially addresses the comments in xiph#2934 by removing the
    unnecessary field `coded_data.lookahead_me_stats`. This data is never
    modified between the time it is created in
    `compute_lookahead_motion_vectors` and the time it is used in
    `compute_block_importances`, so there is no need to keep a separate copy
    of it. Instead, we can use the main copy of the data in
    `fs.frame_me_stats`.
    
    Results in ~1% peak memory usage reduction.
    shssoichiro committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    fe13f87 View commit details
    Browse the repository at this point in the history