MCPcopy Create free account
hub / github.com/BabitMF/bmf / StopAlgorithm

Method StopAlgorithm

bmf_lite/ohos/entry/src/main/cpp/render/render_thread.cpp:130–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void RenderThread::StopAlgorithm() {
131 OH_LOG_Print(LOG_APP, LOG_DEBUG, LOG_PRINT_DOMAIN, "RenderThread",
132 "StopAlgorithm.");
133 PostTask([this](EglRenderContext &renderContext) {
134 algorithm_running_ = false;
135 algorithm_.reset();
136 });
137}
138
139void RenderThread::UpdateSplitRatio(float ratio) {
140 OH_LOG_Print(LOG_APP, LOG_DEBUG, LOG_PRINT_DOMAIN, "RenderThread",

Callers 1

stopAlgorithmMethod · 0.80

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected