Use background segmentation mask with ROI
authorJerome Jiang <jianj@google.com>
Tue, 28 Sep 2021 23:59:21 +0000 (16:59 -0700)
committerJerome Jiang <jianj@google.com>
Thu, 27 Jan 2022 21:12:29 +0000 (13:12 -0800)
commit8a0af65f34bdf43fc63b4ce4ac9393aceab0abbf
tree979b3be617ece8ed83081b4fd86f1ac86836ca26
parentc56ab7d0c6f3fb215d571db3dacc0cc908c1b53c
Use background segmentation mask with ROI

RTC sample encoder vpx_temporal_svc_encoder can take mask files as input
when ROI_MAP is set to 1.

Uses ROI and segmentation of vp9 to skip background encoding when
source_sad is low and the correspond block in previous frame is also
skipped.

Change-Id: I8590e6f9a88cecfa1d7f375d4cc480f0f2af87b6
examples/vpx_temporal_svc_encoder.c
test/test-data.mk
test/test-data.sha1
test/test.mk
test/vp9_roi_test.cc [new file with mode: 0644]
vp9/common/vp9_seg_common.h
vp9/encoder/vp9_aq_cyclicrefresh.c
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_encoder.c