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

Don't update sps if they are only repeated #372

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 13, 2023

  1. Don't update sps if they are only repeated

    This is an attempt to improve the mitigations from strukturag#365 and strukturag#366 and picks up an idea I described at strukturag#345:
    
    > One way would be just to look at the pointers of the SPS (fast and easy, but
    > may reject more than required), or investigate if the SPS used for the image
    > generations are "compatible".
    
    This changes do exactly this: It (very conservativly) checks if the old and new sps have
    identical information -- except the reference picture set, which I believe is supposed
    to be updated by new sps'). If they are basically identical, the old sps will be
    used instead of the new one, (of course, reference image set is updated from the new one)
    
    I'm using standalone operator== and helper functions to avoid changing ABI of the library;
    if an ABI bump would be done, of course this should go to the respective classes.
    Tobias Frost committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    51f07f1 View commit details
    Browse the repository at this point in the history