-
Notifications
You must be signed in to change notification settings - Fork 46
Revise alphacc_config: Added optional fields #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
- Revise config parser to include default and optional values
c5e137b to
3843c59
Compare
Closed
Pterosaur
reviewed
Nov 17, 2020
Closed
Pterosaur
requested changes
Nov 17, 2020
Contributor
Pterosaur
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove useless initialization.
Pterosaur
approved these changes
Nov 17, 2020
XIAZY
pushed a commit
to XIAZY/AlphaRTC
that referenced
this pull request
Dec 23, 2020
This reverts commit 76d3e7a. Reason for revert: Causes multiple Chromium WPT tests to crash, preventing rolls. Sample failed run: https://ci.chromium.org/p/chromium/builders/try/win10_chromium_x64_rel_ng/685757? Sample stack trace: #0 0x7ff8623fbde9 base::debug::CollectStackTrace() STDERR: #1 0x7ff862311ca3 [2665012:17:1009/162250.249660:WARNING:timestamp_aligner.cc(131)] too short translated timestamp interval: system time (us) = 3042652370324, interval (us) = 834 STDERR: base::debug::StackTrace::StackTrace() STDERR: #2 0x7ff8623fb93b base::debug::(anonymous namespace)::StackDumpSignalHandler() STDERR: #3 0x7ff857a70140 [2665012:17:1009/162250.249947:WARNING:timestamp_aligner.cc(131)] too short translated timestamp interval: system time (us) = 3042652370634, interval (us) = 742 STDERR: (/lib/x86_64-linux-gnu/libpthread-2.31.so+0x1413f) STDERR: OpenNetLab#4 0x7ff85778edb1 gsignal STDERR: OpenNetLab#5 0x7ff857778537 abort STDERR: OpenNetLab#6 0x7ff855d5eee2 [2665012:17:1009/162250.250342:WARNING:timestamp_aligner.cc(131)] too short translated timestamp interval: system time (us) = 3042652371030, interval (us) = 706 STDERR: [2665012:17:1009/162250.250514:WARNING:timestamp_aligner.cc(131)] too short translated timestamp interval: system time (us) = 3042652371204, interval (us) = 963 STDERR: rtc::webrtc_checks_impl::FatalLog() STDERR: OpenNetLab#7 0x7ff855f14e62 webrtc::LibvpxVp8Encoder::PrepareRawImagesForEncoding() STDERR: OpenNetLab#8 0x7ff855f14412 webrtc::LibvpxVp8Encoder::Encode() STDERR: OpenNetLab#9 0x7ff855bae765 webrtc::SimulcastEncoderAdapter::Encode() STDERR: OpenNetLab#10 0x7ff85607d598 webrtc::VideoStreamEncoder::EncodeVideoFrame() STDERR: OpenNetLab#11 0x7ff85607c60d webrtc::VideoStreamEncoder::MaybeEncodeVideoFrame() STDERR: OpenNetLab#12 0x7ff8560816f5 webrtc::webrtc_new_closure_impl::ClosureTask<>::Run() STDERR: OpenNetLab#13 0x7ff855b352b5 (anonymous namespace)::WebrtcTaskQueue::RunTask() STDERR: OpenNetLab#14 0x7ff855b3531e base::internal::Invoker<>::RunOnce() STDERR: OpenNetLab#15 0x7ff86239785b base::TaskAnnotator::RunTask() STDERR: OpenNetLab#16 0x7ff8623c8557 base::internal::TaskTracker::RunSkipOnShutdown() STDERR: OpenNetLab#17 0x7ff8623c7d92 base::internal::TaskTracker::RunTask() STDERR: OpenNetLab#18 0x7ff862415a06 base::internal::TaskTrackerPosix::RunTask() STDERR: OpenNetLab#19 0x7ff8623c75e6 base::internal::TaskTracker::RunAndPopNextTask() STDERR: OpenNetLab#20 0x7ff8623d3a8d base::internal::WorkerThread::RunWorker() STDERR: OpenNetLab#21 0x7ff8623d368d base::internal::WorkerThread::RunPooledWorker() STDERR: OpenNetLab#22 0x7ff862416509 base::(anonymous namespace)::ThreadFunc() STDERR: OpenNetLab#23 0x7ff857a64ea7 start_thread Original change's description: > NV12 support for VP8 simulcast > > Tested using video_loopback with generated NV12 frames. > > Bug: webrtc:11635, webrtc:11975 > Change-Id: I14b2d663c55a83d80e48e226fcf706cb18903193 > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/186722 > Commit-Queue: Evan Shrubsole <eshr@google.com> > Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#32325} TBR=ilnik@webrtc.org,eshr@google.com # Not skipping CQ checks because original CL landed > 1 day ago. Bug: webrtc:11635 Bug: webrtc:11975 Change-Id: I61c8aed1270bc9c2f7f0577fa5ca717a325f548a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/187484 Reviewed-by: Guido Urdaneta <guidou@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Guido Urdaneta <guidou@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32369}
XIAZY
pushed a commit
to XIAZY/AlphaRTC
that referenced
this pull request
Dec 23, 2020
This reverts commit c5f7108. Reason for revert: Causes Chromium WPT Tests to fail, preventing rolls. Sample failed run: https://ci.chromium.org/p/chromium/builders/try/linux-rel/511995? Sample logs: STDERR: # Fatal error in: ../../third_party/webrtc/pc/peer_connection.cc, line 575 STDERR: # last system error: 0 STDERR: # Check failed: (signaling_thread())->IsCurrent() STDERR: # Received signal 6 STDERR: #0 0x7f81d39e3de9 base::debug::CollectStackTrace() STDERR: #1 0x7f81d38f9ca3 base::debug::StackTrace::StackTrace() STDERR: #2 0x7f81d39e393b base::debug::(anonymous namespace)::StackDumpSignalHandler() STDERR: #3 0x7f81c9054140 (/lib/x86_64-linux-gnu/libpthread-2.31.so+0x1413f) STDERR: OpenNetLab#4 0x7f81c8d72db1 gsignal STDERR: OpenNetLab#5 0x7f81c8d5c537 abort STDERR: OpenNetLab#6 0x7f81c7344032 rtc::webrtc_checks_impl::FatalLog() STDERR: OpenNetLab#7 0x7f81c722e5c0 webrtc::webrtc_function_impl::CallHelpers<>::CallInlineStorage<>() STDERR: OpenNetLab#8 0x7f81c7348d99 webrtc::robo_caller_impl::RoboCallerReceivers::Foreach() STDERR: OpenNetLab#9 0x7f81c72d6e8e webrtc::webrtc_function_impl::CallHelpers<>::CallInlineStorage<>() STDERR: OpenNetLab#10 0x7f81c7348d99 webrtc::robo_caller_impl::RoboCallerReceivers::Foreach() STDERR: OpenNetLab#11 0x7f81c71c6df3 webrtc::webrtc_function_impl::CallHelpers<>::CallInlineStorage<>() STDERR: OpenNetLab#12 0x7f81c7348d99 webrtc::robo_caller_impl::RoboCallerReceivers::Foreach() STDERR: OpenNetLab#13 0x7f81c73135bc rtc::OpenSSLStreamAdapter::ContinueSSL() STDERR: OpenNetLab#14 0x7f81c7312fd4 rtc::OpenSSLStreamAdapter::OnEvent() STDERR: OpenNetLab#15 0x7f81c71c30d9 cricket::StreamInterfaceChannel::OnPacketReceived() STDERR: OpenNetLab#16 0x7f81c71c640a cricket::DtlsTransport::OnReadPacket() STDERR: OpenNetLab#17 0x7f81c71cad61 cricket::P2PTransportChannel::OnReadPacket() STDERR: OpenNetLab#18 0x7f81c71bc90f cricket::Connection::OnReadPacket() STDERR: OpenNetLab#19 0x7f81c71e6255 cricket::UDPPort::HandleIncomingPacket() STDERR: OpenNetLab#20 0x7f81cd1f1bff blink::(anonymous namespace)::IpcPacketSocket::OnDataReceived() STDERR: OpenNetLab#21 0x7f81cd1f645d blink::P2PSocketClientImpl::DataReceived() STDERR: OpenNetLab#22 0x7f81cd50a16b network::mojom::blink::P2PSocketClientStubDispatch::Accept() STDERR: OpenNetLab#23 0x7f81d2b4f642 mojo::InterfaceEndpointClient::HandleValidatedMessage() STDERR: OpenNetLab#24 0x7f81d2b5304b mojo::MessageDispatcher::Accept() STDERR: OpenNetLab#25 0x7f81d2b50bb1 mojo::InterfaceEndpointClient::HandleIncomingMessage() STDERR: OpenNetLab#26 0x7f81d2b58a3a mojo::internal::MultiplexRouter::ProcessIncomingMessage() STDERR: OpenNetLab#27 0x7f81d2b57f7f mojo::internal::MultiplexRouter::Accept() STDERR: OpenNetLab#28 0x7f81d2b5304b mojo::MessageDispatcher::Accept() STDERR: OpenNetLab#29 0x7f81d2b48851 mojo::Connector::DispatchMessage() STDERR: OpenNetLab#30 0x7f81d2b492e7 mojo::Connector::ReadAllAvailableMessages() STDERR: OpenNetLab#31 0x7f81d2b490a3 mojo::Connector::OnHandleReadyInternal() STDERR: OpenNetLab#32 0x7f81d2b498f0 mojo::SimpleWatcher::DiscardReadyState() STDERR: OpenNetLab#33 0x7f81d2d0e67a mojo::SimpleWatcher::OnHandleReady() STDERR: OpenNetLab#34 0x7f81d2d0eb2b base::internal::Invoker<>::RunOnce() STDERR: OpenNetLab#35 0x7f81d397f85b base::TaskAnnotator::RunTask() STDERR: OpenNetLab#36 0x7f81d399a04c base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl() STDERR: OpenNetLab#37 0x7f81d3999c78 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() STDERR: OpenNetLab#38 0x7f81d391fe64 base::MessagePumpDefault::Run() STDERR: OpenNetLab#39 0x7f81d399a8dc base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run() STDERR: OpenNetLab#40 0x7f81d395ae55 base::RunLoop::Run() STDERR: OpenNetLab#41 0x7f81d39c87f2 base::Thread::Run() Original change's description: > Reland "Replace sigslot usages with robocaller library." > > This is a reland of 40261c3 > > Note: Instead of changing the type of JsepTransportController->SignalSSLHandshakeError > added a new member with a different name and used it in webrtc code. > After this change do two more follow up CLs to completely remove the old code > from google3. > > Original change's description: > > Replace sigslot usages with robocaller library. > > > > - Replace all the top level signals from jsep_transport_controller. > > - There are still sigslot usages in this file so keep the inheritance > > and that is the reason for not having a binary size gain in this CL. > > > > Bug: webrtc:11943 > > Change-Id: I249d3b9710783aef70ba273e082ceeafe3056898 > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/185540 > > Commit-Queue: Lahiru Ginnaliya Gamathige <glahiru@webrtc.org> > > Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> > > Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> > > Cr-Commit-Position: refs/heads/master@{#32321} > > Bug: webrtc:11943 > Change-Id: Ia07394ee395f94836f6b576c3a97d119a7678e1a > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/186946 > Commit-Queue: Lahiru Ginnaliya Gamathige <glahiru@webrtc.org> > Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#32359} TBR=mbonadei@webrtc.org,kwiberg@webrtc.org,glahiru@webrtc.org Change-Id: I6bce1775d10758ac4a9d05b855f473dd70bd9815 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:11943 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/187487 Reviewed-by: Guido Urdaneta <guidou@webrtc.org> Commit-Queue: Guido Urdaneta <guidou@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32372}
XIAZY
pushed a commit
to XIAZY/AlphaRTC
that referenced
this pull request
Dec 23, 2020
TL;DR this CL improves efficiency and includes several code readability improvements mainly triggered by the comments to patch set OpenNetLab#10. Highlights: - Split `FindBestPitchPeriods()` into 12 and 24 kHz versions to hard-code the input size and simplify the 24 kHz version - Loop in `ComputePitchPeriod48kHz()` (new name for `RefinePitchPeriod48kHz()`) removed since the lags for which we need to compute the auto correlation are a few - `ComputePitchGainThreshold()` was only used in unit tests; it's been moved into the anon ns and the test removed This CL makes `ComputePitchPeriod48kHz()` is about 10% faster (measured with https://webrtc-review.googlesource.com/c/src/+/191320/4/modules/audio_processing/agc2/rnn_vad/pitch_search_internal_unittest.cc). The realtime factor has improved by about +14%. Benchmarked as follows: ``` out/release/modules_unittests \ --gtest_filter=*RnnVadTest.DISABLED_RnnVadPerformance* \ --gtest_also_run_disabled_tests --logs ``` Results: | baseline | this CL ------+----------------------+------------------------ run 1 | 24.0231 +/- 0.591016 | 23.568 +/- 0.990788 | 370.06x | 377.207x ------+----------------------+------------------------ run 2 | 24.0485 +/- 0.957498 | 23.3714 +/- 0.857523 | 369.67x | 380.379x ------+----------------------+------------------------ run 2 | 25.4091 +/- 2.6123 | 23.709 +/- 1.04477 | 349.875x | 374.963x Bug: webrtc:10480 Change-Id: I9a3e9164b2442114b928de506c92a547c273882f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/191320 Reviewed-by: Per Åhgren <peah@webrtc.org> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32568}
XIAZY
pushed a commit
to XIAZY/AlphaRTC
that referenced
this pull request
Dec 23, 2020
This reverts commit 9da3e17. Reason for revert: bug in ComputePitchPeriod48kHz() Original change's description: > RNN VAD: pitch search optimizations (part 1) > > TL;DR this CL improves efficiency and includes several code > readability improvements mainly triggered by the comments to > patch set OpenNetLab#10. > > Highlights: > - Split `FindBestPitchPeriods()` into 12 and 24 kHz versions > to hard-code the input size and simplify the 24 kHz version > - Loop in `ComputePitchPeriod48kHz()` (new name for > `RefinePitchPeriod48kHz()`) removed since the lags for which > we need to compute the auto correlation are a few > - `ComputePitchGainThreshold()` was only used in unit tests; it's been > moved into the anon ns and the test removed > > This CL makes `ComputePitchPeriod48kHz()` is about 10% faster (measured > with https://webrtc-review.googlesource.com/c/src/+/191320/4/modules/audio_processing/agc2/rnn_vad/pitch_search_internal_unittest.cc). > The realtime factor has improved by about +14%. > > Benchmarked as follows: > ``` > out/release/modules_unittests \ > --gtest_filter=*RnnVadTest.DISABLED_RnnVadPerformance* \ > --gtest_also_run_disabled_tests --logs > ``` > > Results: > > | baseline | this CL > ------+----------------------+------------------------ > run 1 | 24.0231 +/- 0.591016 | 23.568 +/- 0.990788 > | 370.06x | 377.207x > ------+----------------------+------------------------ > run 2 | 24.0485 +/- 0.957498 | 23.3714 +/- 0.857523 > | 369.67x | 380.379x > ------+----------------------+------------------------ > run 2 | 25.4091 +/- 2.6123 | 23.709 +/- 1.04477 > | 349.875x | 374.963x > > Bug: webrtc:10480 > Change-Id: I9a3e9164b2442114b928de506c92a547c273882f > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/191320 > Reviewed-by: Per Åhgren <peah@webrtc.org> > Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#32568} TBR=alessiob@webrtc.org,peah@webrtc.org No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:10480 Change-Id: I2a91f4f29566f872a7dfa220b31c6c625ed075db Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/192660 Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Reviewed-by: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32581}
XIAZY
pushed a commit
to XIAZY/AlphaRTC
that referenced
this pull request
Dec 23, 2020
This reverts commit 1b6b958. Reason for revert: Bug fix Original change's description: > Revert "RNN VAD: pitch search optimizations (part 1)" > > This reverts commit 9da3e17. > > Reason for revert: bug in ComputePitchPeriod48kHz() > > Original change's description: > > RNN VAD: pitch search optimizations (part 1) > > > > TL;DR this CL improves efficiency and includes several code > > readability improvements mainly triggered by the comments to > > patch set OpenNetLab#10. > > > > Highlights: > > - Split `FindBestPitchPeriods()` into 12 and 24 kHz versions > > to hard-code the input size and simplify the 24 kHz version > > - Loop in `ComputePitchPeriod48kHz()` (new name for > > `RefinePitchPeriod48kHz()`) removed since the lags for which > > we need to compute the auto correlation are a few > > - `ComputePitchGainThreshold()` was only used in unit tests; it's been > > moved into the anon ns and the test removed > > > > This CL makes `ComputePitchPeriod48kHz()` is about 10% faster (measured > > with https://webrtc-review.googlesource.com/c/src/+/191320/4/modules/audio_processing/agc2/rnn_vad/pitch_search_internal_unittest.cc). > > The realtime factor has improved by about +14%. > > > > Benchmarked as follows: > > ``` > > out/release/modules_unittests \ > > --gtest_filter=*RnnVadTest.DISABLED_RnnVadPerformance* \ > > --gtest_also_run_disabled_tests --logs > > ``` > > > > Results: > > > > | baseline | this CL > > ------+----------------------+------------------------ > > run 1 | 24.0231 +/- 0.591016 | 23.568 +/- 0.990788 > > | 370.06x | 377.207x > > ------+----------------------+------------------------ > > run 2 | 24.0485 +/- 0.957498 | 23.3714 +/- 0.857523 > > | 369.67x | 380.379x > > ------+----------------------+------------------------ > > run 2 | 25.4091 +/- 2.6123 | 23.709 +/- 1.04477 > > | 349.875x | 374.963x > > > > Bug: webrtc:10480 > > Change-Id: I9a3e9164b2442114b928de506c92a547c273882f > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/191320 > > Reviewed-by: Per Åhgren <peah@webrtc.org> > > Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> > > Cr-Commit-Position: refs/heads/master@{#32568} > > TBR=alessiob@webrtc.org,peah@webrtc.org > > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: webrtc:10480 > Change-Id: I2a91f4f29566f872a7dfa220b31c6c625ed075db > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/192660 > Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> > Reviewed-by: Alessio Bazzica <alessiob@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#32581} TBR=alessiob@webrtc.org,peah@webrtc.org # Not skipping CQ checks because this is a reland. Bug: webrtc:10480 Change-Id: I66e3e8d73ebc04a437c01a0396cd5613c42a8cf5 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/192780 Reviewed-by: Alessio Bazzica <alessiob@webrtc.org> Reviewed-by: Per Åhgren <peah@webrtc.org> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32585}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Revise config parser to include default and optional values