Hello everyone
I've built libaom with config CONFIG_REALTIME_ONLY,and tried to enable SCC(Screen content code) in scenario of screensharing through the code as below:
if (codec_settings->mode == VideoCodecMode::kScreensharing) {
SET_ENCODER_PARAM_OR_RETURN_ERROR(AV1E_SET_TUNE_CONTENT,
AOM_CONTENT_SCREEN);
SET_ENCODER_PARAM_OR_RETURN_ERROR(AV1E_SET_ENABLE_PALETTE, 1);
} else {
SET_ENCODER_PARAM_OR_RETURN_ERROR(AV1E_SET_ENABLE_PALETTE, 0);
}
However,there's no much quality improved with or without SCC enabled.
I've also noticed that the unit test "${AOM_ROOT}/test/screen_content_test.cc"
is removed out from the test.cmake,if CONFIG_REALTIME_ONLY was set.
At the mean while ,I've noticed that SCC will be enalbed in scenario of screensharing in the AV1 encoder within WebRTC either. BTW:code above is the same as that in WebRTC.which makes me more confused.
So this is my question:
Can SCC(Screen content code) be enabled in CONFIG_REALTIME_ONLY building ?
- best regards