Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(720)

Issue 2930243003: Opus implementation of the AudioEncoderFactoryTemplate API (Closed)

Created:
3 years, 6 months ago by kwiberg-webrtc
Modified:
3 years, 6 months ago
Reviewers:
the sun, ossu
CC:
webrtc-reviews_webrtc.org, AleBzk, peah-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-webrtc, the sun
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Opus implementation of the AudioEncoderFactoryTemplate API Now the templated AudioEncoderFactory can create Opus encoders! BUG=webrtc:7831 Review-Url: https://codereview.webrtc.org/2930243003 Cr-Commit-Position: refs/heads/master@{#18645} Committed: https://chromium.googlesource.com/external/webrtc/+/fe1aa82c63380c2f79c60cbe1f50ed13144a093f

Patch Set 1 #

Patch Set 2 : rename AudioEncoderOpus to *Impl and AudioEncoderOpusApi to just AudioEncoderOpus; move Opus api fi… #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Total comments: 15
Unified diffs Side-by-side diffs Delta from patch set Stats (+559 lines, -317 lines) Patch
A webrtc/api/audio_codecs/opus/BUILD.gn View 1 1 chunk +43 lines, -0 lines 0 comments Download
A webrtc/api/audio_codecs/opus/audio_encoder_opus.h View 1 1 chunk +40 lines, -0 lines 0 comments Download
A webrtc/api/audio_codecs/opus/audio_encoder_opus.cc View 1 1 chunk +52 lines, -0 lines 1 comment Download
A webrtc/api/audio_codecs/opus/audio_encoder_opus_config.h View 1 1 chunk +63 lines, -0 lines 3 comments Download
A webrtc/api/audio_codecs/opus/audio_encoder_opus_config.cc View 1 1 chunk +67 lines, -0 lines 9 comments Download
M webrtc/api/audio_codecs/test/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/api/audio_codecs/test/audio_encoder_factory_template_unittest.cc View 1 2 3 2 chunks +23 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/BUILD.gn View 1 2 3 3 chunks +2 lines, -5 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/audio_coding_module_unittest.cc View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/rent_a_codec.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/builtin_audio_encoder_factory_internal.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.h View 1 6 chunks +25 lines, -60 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc View 1 2 26 chunks +127 lines, -144 lines 2 comments Download
M webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc View 1 11 chunks +93 lines, -84 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/opus_complexity_unittest.cc View 1 3 chunks +9 lines, -8 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc View 1 2 3 4 chunks +7 lines, -9 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 42 (32 generated)
kwiberg-webrtc
3 years, 6 months ago (2017-06-12 12:24:04 UTC) #11
kwiberg-webrtc
New patch set. As solenberg@ suggsted in the G722 CL, I moved the Opus files ...
3 years, 6 months ago (2017-06-13 12:16:40 UTC) #18
ossu
I'm mostly happy with this. I have a couple of questions, though. I'm willing to ...
3 years, 6 months ago (2017-06-16 09:53:53 UTC) #22
the sun
lgtm https://codereview.webrtc.org/2930243003/diff/80001/webrtc/api/audio_codecs/opus/audio_encoder_opus.cc File webrtc/api/audio_codecs/opus/audio_encoder_opus.cc (right): https://codereview.webrtc.org/2930243003/diff/80001/webrtc/api/audio_codecs/opus/audio_encoder_opus.cc#newcode29 webrtc/api/audio_codecs/opus/audio_encoder_opus.cc:29: "opus", 48000, 2, {{"minptime", "10"}, {"useinbandfec", "1"}}}; stereo? ...
3 years, 6 months ago (2017-06-16 12:44:11 UTC) #23
kwiberg-webrtc
https://codereview.webrtc.org/2930243003/diff/80001/webrtc/api/audio_codecs/opus/audio_encoder_opus_config.cc File webrtc/api/audio_codecs/opus/audio_encoder_opus_config.cc (right): https://codereview.webrtc.org/2930243003/diff/80001/webrtc/api/audio_codecs/opus/audio_encoder_opus_config.cc#newcode18 webrtc/api/audio_codecs/opus/audio_encoder_opus_config.cc:18: // If we are on Android, iOS and/or ARM, ...
3 years, 6 months ago (2017-06-16 12:44:14 UTC) #24
ossu
Great! LGTM! https://codereview.webrtc.org/2930243003/diff/80001/webrtc/api/audio_codecs/opus/audio_encoder_opus_config.cc File webrtc/api/audio_codecs/opus/audio_encoder_opus_config.cc (right): https://codereview.webrtc.org/2930243003/diff/80001/webrtc/api/audio_codecs/opus/audio_encoder_opus_config.cc#newcode35 webrtc/api/audio_codecs/opus/audio_encoder_opus_config.cc:35: : frame_size_ms(kDefaultFrameSizeMs), On 2017/06/16 12:44:14, kwiberg-webrtc wrote: ...
3 years, 6 months ago (2017-06-16 13:18:27 UTC) #25
commit-bot: I haz the power
This CL has an open dependency (Issue 2934833002 Patch 140001). Please resolve the dependency and ...
3 years, 6 months ago (2017-06-16 19:16:42 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2930243003/80001
3 years, 6 months ago (2017-06-18 01:00:10 UTC) #38
commit-bot: I haz the power
Committed patchset #4 (id:80001) as https://chromium.googlesource.com/external/webrtc/+/fe1aa82c63380c2f79c60cbe1f50ed13144a093f
3 years, 6 months ago (2017-06-18 01:23:09 UTC) #41
charujain
3 years, 6 months ago (2017-06-18 09:38:50 UTC) #42
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:80001) has been created in
https://codereview.webrtc.org/2947563002/ by charujain@webrtc.org.

The reason for reverting is: Breaking google3 projects.

Powered by Google App Engine
This is Rietveld 408576698