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

[Help Wanted] Add support for dynamic frame pyramid sizes #3158

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shssoichiro
Copy link
Collaborator

Currently rav1e (assuming no low latency mode) will always code a mini-GOP with 4 input frames with a constant pyramid structure. This changeset adds support to rav1e for variable width and depth frame pyramids, whose size is selected based on frame heuristics; i.e. segments with less motion may have both wider and taller pyramids without losing quality, segments with more motion must have shallower pyramids to preserve quality.

Currently the framework for this changeset is setup, but I have been stuck for some time on figuring out the proper way to code the reference frame values, see src/encoder.rs:1040-1080. Any amount of help on this from rav1e knowers would be appreciated.

The ref frame code that has slot_idx math I don't understand
is at src/encoder.rs:1040-1080
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.

1 participant