Repository navigation
Skip partition revisits that cannot fit in the rd budget - #5578
Open
chengchen-google wants to merge 1 commit into
Open
chengchen-google wants to merge 1 commit into
chengchen-google wants to merge 1 commit into
Conversation
yeqing-wu
reviewed
Oct 22, 2026
chengchen-google
force-pushed
the
s18-skip-revisit-2c5c26
branch
2 times, most recently
from
October 23, 2026 18:52
26a5bbf to
1bfe1de
Compare
Contributor
|
@chengchen-google : there is a conflict. Pls rebase to fix it. |
In one superblock pass, the partition search can reach the same block (same position, size and region type) from different parent partitions. Each search of such a block now keeps an rd bound in the SimpleMotionData entry of the block: the best rd cost if the search found a valid partition, or else the largest rd budget under which it found none. A later search of the block in the same pass is skipped when this bound is not smaller than its rd budget. It applies only to inter frames, SHARED_PART trees and mixed inter-intra regions. It does not apply to the superblock, to blocks that must find a valid partition, or to blocks that use a template or an implied partition. The bounds are cleared at the start of each superblock. New speed feature part_sf.skip_revisit_by_rd_bound, on at speed >= 1. Performance on RA CTC. Anchor:ec49095221d4cd1710662bb35609ca79a894f923 ``` Speed Class PSNR-Y PSNR-YUV VMAF-NEG SpeedUp 1 A1 +0.08% +0.08% -0.11% -3.97% 1 A2 +0.09% +0.11% +0.03% -5.06% 1 All +0.09% +0.10% -0.01% -4.74% 2 A1 +0.01% +0.01% -0.01% -0.89% 2 A2 +0.05% +0.05% +0.23% -3.98% 2 All +0.04% +0.03% +0.16% -3.07% 3 A1 +0.08% +0.04% +0.03% -2.19% 3 A2 -0.01% -0.01% -0.11% -2.48% 3 All +0.01% +0.01% -0.07% -2.39% 4 A1 -0.03% -0.02% +0.03% -2.37% 4 A2 +0.02% +0.02% -0.00% -2.23% 4 All +0.00% +0.01% +0.01% -2.27% 5 A1 +0.04% +0.04% +0.16% -0.59% 5 A2 +0.02% +0.03% +0.09% -1.36% 5 All +0.03% +0.03% +0.11% -1.13% 6 A1 -0.02% -0.03% -0.11% -0.61% 6 A2 +0.03% +0.04% +0.03% -0.89% 6 All +0.01% +0.02% -0.01% -0.80% ``` STATS_CHANGED Change-Id: I99a944e12d5981471b150c37cf8ee533251288ac
chengchen-google
force-pushed
the
s18-skip-revisit-2c5c26
branch
from
October 23, 2026 23:12
1bfe1de to
724a595
Compare
Contributor
Author
Done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In one superblock pass, the partition search can reach the same block (same position, size and region type) from different parent partitions. Each search of such a block now keeps an rd bound in the SimpleMotionData entry of the block: the best rd cost if the search found a valid partition, or else the largest rd budget under which it found none. A later search of the block in the same pass is skipped when this bound is not smaller than its rd budget.
It applies only to inter frames, SHARED_PART trees and mixed inter-intra regions. It does not apply to the superblock, to blocks that must find a valid partition, or to blocks that use a template or an implied partition. The bounds are cleared at the start of each superblock.
New speed feature part_sf.skip_revisit_by_rd_bound, on at speed >= 1.
Performance on RA CTC.
Anchor:ec49095221d4cd1710662bb35609ca79a894f923
STATS_CHANGED