Skip to content

Update intra modes for realtime screen content speed >= 6 - #5434

Merged
urvangjoshi merged 3 commits into
AOMediaCodec:av2-encfrom
marpan-max:rtc_hv
Sep 24, 2026
Merged

urvangjoshi merged 3 commits into
AOMediaCodec:av2-encfrom
marpan-max:rtc_hv

Conversation

@marpan-max

@marpan-max marpan-max commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Update intra mode evaluation in inter frames for realtime mode at speed >= 6 when screen content tools are enabled:

  • Remove use_only_dc_intra_interframe and use prune_intra_mode_in_interframe
  • For screen content at speed >= 6, set prune_intra_mode_in_interframe = 1: test DC, V, and H intra modes (with 0 delta angle) on blocks <= 16x16, and only DC mode on blocks > 16x16
  • For screen content at speed >= 6, set skip_intra_in_interframe = 1: gate intra mode skipping on skip_txfm using a distortion threshold rather than skipping unconditionally.

Only affects realtime mode for screen content at speed >= 6.

On rtc_screen: bdrate gain of ~7%, with ~4% slowdown.

Update intra mode evaluation in inter frames for realtime mode at speed >= 6
when screen content tools are enabled:
- Generalize use_only_dc_intra_interframe to prune_intra_mode_in_interframe
- For screen content at speed >= 6, set prune_intra_mode_in_interframe = 1:
  test DC, V, and H intra modes (with 0 delta angle) on blocks <= 16x16,
  and only DC mode on blocks > 16x16
- For screen content at speed >= 6, set skip_intra_in_interframe = 1:
  gate intra mode skipping on skip_txfm using a distortion threshold
  rather than skipping unconditionally

Only affects realtime mode for screen content at speed >= 6.

On rtc_screen: bdrate gain of ~7%, with ~4% slowdown.
@urvangjoshi
urvangjoshi merged commit 3b62a39 into AOMediaCodec:av2-enc Sep 24, 2026
107 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.

3 participants