Skip to content

Enable DC-block prediction at speed 4 and 5 - #5207

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

Enable DC-block prediction at speed 4 and 5#5207
leolzhao merged 1 commit into
AOMediaCodec:av2-encfrom
YixinDu1:yixin/0803_dc_blk_pred

Conversation

@YixinDu1

@YixinDu1 YixinDu1 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Enable the DC-only transform-block prediction at speed 4 and 5 to skip transform evaluation on flat blocks.

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

RA:

+------------+-------+-------+-------+-------+------+
| Class      |     Y |    Cb |    Cr |  wAvg | Enc% |
+------------+-------+-------+-------+-------+------+
| A1         |  0.04 |  0.23 |  0.48 |  0.06 | 95.9 |
| A2         | -0.05 | -0.27 | -0.27 | -0.06 | 97.1 |
+------------+-------+-------+-------+-------+------+
| Avg w/o B2 | -0.01 | -0.11 |  0.44 |  0.01 | 96.5 |
+------------+-------+-------+-------+-------+------+

STATS_CHANGED

@YixinDu1
YixinDu1 marked this pull request as ready for review August 4, 2026 16:54
@leolzhao

leolzhao commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Do you have the results for cpu-used = 1, 2, or 3? @YixinDu1

@YixinDu1

YixinDu1 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

Do you have the results for cpu-used = 1, 2, or 3? @YixinDu1

I can further test on cpu1.

@leolzhao

leolzhao commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Please resolve the conflicts. @YixinDu1

@YixinDu1

YixinDu1 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

@leolzhao Please find cpu1 results below. It cannot pass 35x ratio bar.
image

@YixinDu1
YixinDu1 force-pushed the yixin/0803_dc_blk_pred branch from 11b1139 to 6769668 Compare August 6, 2026 00:09
@YixinDu1

YixinDu1 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

Please resolve the conflicts. @YixinDu1

Done

Enable the DC-only transform-block prediction at speed 4 and 5 to skip
transform evaluation on flat blocks.

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

RA:
+------------+-------+-------+-------+-------+------+
| Class      |     Y |    Cb |    Cr |  wAvg | Enc% |
+------------+-------+-------+-------+-------+------+
| A1         |  0.04 |  0.23 |  0.48 |  0.06 | 95.9 |
| A2         | -0.05 | -0.27 | -0.27 | -0.06 | 97.1 |
+------------+-------+-------+-------+-------+------+
| Avg w/o B2 | -0.01 | -0.11 |  0.44 |  0.01 | 96.5 |
+------------+-------+-------+-------+-------+------+

STATS_CHANGED
@leolzhao
leolzhao force-pushed the yixin/0803_dc_blk_pred branch from 6769668 to c550645 Compare August 6, 2026 16:23
@leolzhao
leolzhao merged commit 40b92ef 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