Skip to content

Disable deblocking in partition search for speed >= 3 - #5219

Merged
leolzhao merged 1 commit into
AOMediaCodec:av2-encfrom
YixinDu1:yixin/0805_no_deblock_part
Aug 6, 2026
Merged

Disable deblocking in partition search for speed >= 3#5219
leolzhao merged 1 commit into
AOMediaCodec:av2-encfrom
YixinDu1:yixin/0805_no_deblock_part

Conversation

@YixinDu1

@YixinDu1 YixinDu1 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

The in-partition-search deblock filter improves RD at speed 1-2 but degrades it at speed 3-4, so disable it for speed >= 3 (speed 5-6 were already disabled).

Anchor: 7837c40
Test condition: CTC, RA, 33 frames

Effect of disabling, by speed (wAvg BD-rate):

+-------+-------+-------+-------+------+
| Speed |    A1 |    A2 |  wAvg | Enc% |
+-------+-------+-------+-------+------+
|     1 |  0.54 |  0.38 |  0.28 | 98.9 |
|     2 |  0.36 |  0.35 |  0.23 | 98.9 |
|     3 |  0.00 | -0.07 | -0.08 | 99.6 |
|     4 | -0.05 | -0.19 | -0.21 |100.6 |
+-------+-------+-------+-------+------+

STATS_CHANGED

@YixinDu1
YixinDu1 marked this pull request as ready for review August 6, 2026 00:28
@YixinDu1
YixinDu1 requested a review from jianle973 August 6, 2026 00:28
@YixinDu1

YixinDu1 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

Hi @jianle973, could you help review this patch?

@jianle973 jianle973 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM for now.

I will investigate the reason. Should not have loss.

The in-partition-search deblock filter improves RD at speed 1-2 but
degrades it at speed 3-4, so disable it for speed >= 3 (speed 5-6 were
already disabled).

Anchor: 7837c40
Test condition: CTC, RA, 33 frames

Effect of disabling, by speed (wAvg BD-rate):
+-------+-------+-------+-------+------+
| Speed |    A1 |    A2 |  wAvg | Enc% |
+-------+-------+-------+-------+------+
|     1 |  0.54 |  0.38 |  0.28 | 98.9 |
|     2 |  0.36 |  0.35 |  0.23 | 98.9 |
|     3 |  0.00 | -0.07 | -0.08 | 99.6 |
|     4 | -0.05 | -0.19 | -0.21 |100.6 |
+-------+-------+-------+-------+------+

STATS_CHANGED
@leolzhao
leolzhao force-pushed the yixin/0805_no_deblock_part branch from 2e2fbf7 to 0baa88d Compare August 6, 2026 16:49
@leolzhao
leolzhao merged commit 6ba08b2 into AOMediaCodec:av2-enc Aug 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants