This repository was archived by the owner on Oct 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 182
Enable IC background blur feature #564
Open
zhibo1-wang
wants to merge
30
commits into
open-webrtc-toolkit:main
Choose a base branch
from
zhibo1-wang:dev-owt-ic
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 16 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
dea547b
Enable IC background blur feature
zhibo1-wang 6b305e9
Fixups
zhibo1-wang 07e161c
Update thirdpartylicense.txt
zhibo1-wang 091f187
Fixups
zhibo1-wang ec24bbf
Fixups
zhibo1-wang 09530e6
Fixups
zhibo1-wang 96ab951
Fixups
zhibo1-wang 572b0f4
Fixups
zhibo1-wang 65ee09d
Fixups
zhibo1-wang 8e12bed
Fixups
zhibo1-wang 51311bc
Fixups
zhibo1-wang 09d1d4d
Fixups
zhibo1-wang 59891e2
Fixups
zhibo1-wang 9c7a7ce
Fixups
zhibo1-wang 6ef5289
Fix FreeLibrary deadlocks
zhibo1-wang f9c7381
Fixups
zhibo1-wang a474a59
Naming fixups and etc.
zhibo1-wang 13d8027
Fixups
zhibo1-wang 4db6116
Update README.md
zhibo1-wang 2f91956
Fixups (bugs)
zhibo1-wang e8c02e5
Update docs
zhibo1-wang 7980fcf
Fix debug build
zhibo1-wang 705860c
Fixups
zhibo1-wang ab80773
Update windows.jenkinsfile
zhibo1-wang 6287a53
Fixups
zhibo1-wang f23c70c
Fixup
zhibo1-wang 3e5dd15
Update windows.jenkinsfile
zhibo1-wang 16de4f9
Update windows.jenkinsfile
zhibo1-wang d00bb7e
Update windows.jenkinsfile
zhibo1-wang 32a61d7
Update windows.jenkinsfile
zhibo1-wang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Copyright (C) <2021> Intel Corporation | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
declare_args() { | ||
owt_msdk_lib_root = "" | ||
owt_msdk_header_root = "" | ||
owt_build_ic = false | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright (C) <2021> Intel Corporation | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
#include "talk/owt/sdk/include/cpp/owt/ic/intelligentcollaborationparameters.h" | ||
|
||
namespace owt { | ||
namespace ic { | ||
|
||
std::vector<std::shared_ptr<owt::base::VideoFramePostProcessor>>& | ||
IntelligentCollaborationParameters::PostProcessors() { | ||
return post_processors_; | ||
} | ||
|
||
const std::vector<std::shared_ptr<owt::base::VideoFramePostProcessor>>& | ||
IntelligentCollaborationParameters::PostProcessors() const { | ||
return post_processors_; | ||
} | ||
|
||
} // namespace base | ||
} // namespace owt | ||
zhibo1-wang marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Copyright (C) <2021> Intel Corporation | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
#include "talk/owt/sdk/base/sharedobjectloader.h" | ||
|
||
#include <dlfcn.h> | ||
|
||
namespace owt { | ||
namespace base { | ||
|
||
SharedObjectLoader::SharedObjectLoader(const char* path) | ||
: shared_object(dlopen(path, RTLD_NOW), dlclose) {} | ||
|
||
SharedObjectLoader::~SharedObjectLoader() {} | ||
|
||
bool SharedObjectLoader::IsLoaded() const { | ||
return shared_object_.get(); | ||
} | ||
|
||
void* SharedObjectLoader::get_symbol(const char* name) const { | ||
return shared_object_ ? dlsym(shared_object.get(), name) : nullptr; | ||
} | ||
|
||
} // namespace base | ||
} // namespace owt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Copyright (C) <2021> Intel Corporation | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
#include "talk/owt/sdk/include/cpp/owt/base/pluginmanager.h" | ||
|
||
#include "talk/owt/sdk/base/sharedobjectpointer.h" | ||
|
||
#if defined(WEBRTC_WIN) | ||
#define DLL_SUFFIX ".dll" | ||
#elif defined(WEBRTC_LINUX) | ||
#define DLL_SUFFIX ".so" | ||
#endif | ||
|
||
namespace owt { | ||
namespace base { | ||
|
||
#if defined(WEBRTC_WIN) || defined(WEBRTC_LINUX) | ||
template <> | ||
struct SOTrait<owt::ic::ICManagerInterface> { | ||
static constexpr auto name = "ICManager"; | ||
}; | ||
|
||
owt::ic::ICManagerInterface* PluginManager::ICPlugin() { | ||
static owt::base::SharedObjectPointer<owt::ic::ICManagerInterface> ic_plugin( | ||
"owt_ic" DLL_SUFFIX); | ||
return ic_plugin.Get(); | ||
} | ||
#endif | ||
|
||
} // namespace base | ||
} // namespace owt |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.