Skip to content

rtc: Enable temporal segmentation map prediction in RTC - #5618

Open
jianj-g wants to merge 1 commit into
AOMediaCodec:av2-encfrom
jianj-g:rtc-aq-mode-3-followups
Open

jianj-g wants to merge 1 commit into
AOMediaCodec:av2-encfrom
jianj-g:rtc-aq-mode-3-followups

Conversation

@jianj-g

@jianj-g jianj-g commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Track spatial vs. temporal segmentation map signaling costs (seg_tmp_pred_cost[0] and seg_tmp_pred_cost[1]) online in av2_update_state() and across worker threads in accumulate_rd_opt(), and select cm->seg.temporal_update in encode_frame_internal() when temporal prediction is cheaper than spatial prediction.

Also recompute mbmi->seg_id_predicted against cm->last_frame_seg_map in write_inter_segment_id() and allow temporal_update for the default primary reference frame in encode_with_recode_loop_and_filter().

RTC test set: neutral bdrate with 3% speed up

Track spatial vs. temporal segmentation map signaling costs
(seg_tmp_pred_cost[0] and seg_tmp_pred_cost[1]) online in
av2_update_state() and across worker threads in accumulate_rd_opt(), and
select cm->seg.temporal_update in encode_frame_internal() when temporal
prediction is cheaper than spatial prediction.

Also recompute mbmi->seg_id_predicted against cm->last_frame_seg_map in
write_inter_segment_id() and allow temporal_update for the default
primary reference frame in encode_with_recode_loop_and_filter().
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.

2 participants