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

Issue 2772773002: Adding cbr support for Opus (Closed)

Created:
3 years, 9 months ago by squashingskak
Modified:
3 years, 8 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, hlundin-webrtc, yujie_mao (webrtc), Andrew MacDonald, henrika_webrtc, stefan-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, qiang.lu, niklas.enbom, peah-webrtc, the sun, AleBzk, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Adding cbr support for Opus BUG=webrtc:7394 Review-Url: https://codereview.webrtc.org/2772773002 Cr-Commit-Position: refs/heads/master@{#17564} Committed: https://chromium.googlesource.com/external/webrtc/+/28dc285f2208ecbb3b79213ca8ccb608d46af654

Patch Set 1 #

Total comments: 11

Patch Set 2 : Updated after review feedback #

Total comments: 6

Patch Set 3 : Merge opus dtx and cbr testing. Other review comments adressed as well #

Total comments: 1

Patch Set 4 : Revert merge of dtx and cbr testing. Use vector #

Patch Set 5 : Reverted everything but audio_encoder_opus and opus_interface #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -0 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/opus_interface.h View 1 1 chunk +26 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/opus_interface.c View 1 chunk +16 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc View 1 2 3 3 chunks +60 lines, -0 lines 0 comments Download

Messages

Total messages: 55 (14 generated)
squashingskak
Patch for adding cbr (Constant bitrate) support for Opus
3 years, 9 months ago (2017-03-23 08:21:56 UTC) #1
the sun
Nice, great job! - One comment about the VoECodec APIs. - Adding minyue@ for checking ...
3 years, 9 months ago (2017-03-23 08:46:45 UTC) #3
tommi
Can you fix the description before landing?
3 years, 9 months ago (2017-03-23 09:02:02 UTC) #6
squashingskak
I was looking at how SetOpusDtx was done and that is why it was added ...
3 years, 9 months ago (2017-03-23 09:03:22 UTC) #7
squashingskak
@tommi (webrtc) Can you point me to what has to be changed in the description? ...
3 years, 9 months ago (2017-03-23 09:09:26 UTC) #8
minyue-webrtc
On 2017/03/23 09:09:26, squashingskak wrote > @tommi (webrtc) > > Can you point me to ...
3 years, 9 months ago (2017-03-23 09:23:22 UTC) #9
tommi
On 2017/03/23 09:09:26, squashingskak wrote: > @tommi (webrtc) > > Can you point me to ...
3 years, 9 months ago (2017-03-23 09:38:58 UTC) #11
tommi
On 2017/03/23 09:38:58, tommi (webrtc) wrote: > On 2017/03/23 09:09:26, squashingskak wrote: > > @tommi ...
3 years, 9 months ago (2017-03-23 09:39:17 UTC) #12
minyue-webrtc
On 2017/03/23 09:39:17, tommi (webrtc) wrote: > On 2017/03/23 09:38:58, tommi (webrtc) wrote: > > ...
3 years, 9 months ago (2017-03-23 10:35:29 UTC) #13
minyue-webrtc
On 2017/03/23 10:35:29, minyue-webrtc wrote: > On 2017/03/23 09:39:17, tommi (webrtc) wrote: > > On ...
3 years, 9 months ago (2017-03-23 11:46:05 UTC) #15
squashingskak
@minyue. I might need some help to do that rebasing. How do I know the ...
3 years, 9 months ago (2017-03-27 10:17:28 UTC) #16
minyue-webrtc
On 2017/03/27 10:17:28, squashingskak wrote: > @minyue. I might need some help to do that ...
3 years, 9 months ago (2017-03-27 10:50:48 UTC) #17
squashingskak
I tried running git cl patch 2695243005 -b xxx but got a conflict. Maybe I ...
3 years, 8 months ago (2017-03-28 07:55:08 UTC) #18
minyue-webrtc
On 2017/03/28 07:55:08, squashingskak wrote: > I tried running git cl patch 2695243005 -b xxx ...
3 years, 8 months ago (2017-03-28 08:01:13 UTC) #19
minyue-webrtc
The author of https://codereview.webrtc.org/2695243005/, and suggest that we don't wait. Please see my comments + ...
3 years, 8 months ago (2017-03-29 20:45:26 UTC) #20
kwiberg-webrtc
https://codereview.webrtc.org/2772773002/diff/1/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc File webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc (right): https://codereview.webrtc.org/2772773002/diff/1/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc#newcode563 webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc:563: bool use_cbr = (run & 1) ? true : ...
3 years, 8 months ago (2017-03-29 21:54:17 UTC) #21
squashingskak
https://codereview.webrtc.org/2772773002/diff/1/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc File webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc (right): https://codereview.webrtc.org/2772773002/diff/1/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc#newcode549 webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc:549: TEST(AudioEncoderOpusTest, EncodeCbr) { On 2017/03/29 20:45:26, minyue-webrtc wrote: > ...
3 years, 8 months ago (2017-03-30 08:25:54 UTC) #22
minyue-webrtc
On 2017/03/30 08:25:54, squashingskak wrote: > https://codereview.webrtc.org/2772773002/diff/1/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc > File webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc > (right): > > https://codereview.webrtc.org/2772773002/diff/1/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc#newcode549 ...
3 years, 8 months ago (2017-03-30 08:36:37 UTC) #23
squashingskak
Adding a browser test makes sense if that one can check that the packet size ...
3 years, 8 months ago (2017-03-30 08:48:37 UTC) #24
squashingskak
Im working to move the cbr testing from AudioEncoderOpusTest to OpusTest ( opus_unittest.cc ). if ...
3 years, 8 months ago (2017-03-30 12:53:35 UTC) #25
minyue-webrtc
On 2017/03/30 12:53:35, squashingskak wrote: > Im working to move the cbr testing from AudioEncoderOpusTest ...
3 years, 8 months ago (2017-03-30 13:10:48 UTC) #26
squashingskak
I have addressed most of the review comments. I havent modified the neteq_opus_quality_test what would ...
3 years, 8 months ago (2017-03-30 15:47:02 UTC) #27
minyue-webrtc
On 2017/03/30 15:47:02, squashingskak wrote: > I have addressed most of the review comments. I ...
3 years, 8 months ago (2017-03-30 20:36:05 UTC) #28
minyue-webrtc
https://codereview.webrtc.org/2772773002/diff/20001/webrtc/modules/audio_coding/codecs/audio_encoder.h File webrtc/modules/audio_coding/codecs/audio_encoder.h (right): https://codereview.webrtc.org/2772773002/diff/20001/webrtc/modules/audio_coding/codecs/audio_encoder.h#newcode138 webrtc/modules/audio_coding/codecs/audio_encoder.h:138: // Enables or disablesCBR (constant bitrate mode). Returns nit: ...
3 years, 8 months ago (2017-03-30 20:36:17 UTC) #29
minyue-webrtc
https://codereview.webrtc.org/2772773002/diff/20001/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc File webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc (right): https://codereview.webrtc.org/2772773002/diff/20001/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc#newcode179 webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc:179: // Verify that the mode is still kAudio. On ...
3 years, 8 months ago (2017-03-31 07:49:30 UTC) #30
squashingskak
Updated again based on review comments. I have merged the dtx and cbr testing. I ...
3 years, 8 months ago (2017-03-31 12:39:12 UTC) #31
squashingskak
The reason to use cbr is to hide any information about the speech signal. Maybe ...
3 years, 8 months ago (2017-03-31 12:43:01 UTC) #32
minyue-webrtc
On 2017/03/31 12:39:12, squashingskak wrote: > Updated again based on review comments. I have merged ...
3 years, 8 months ago (2017-03-31 13:35:53 UTC) #33
kwiberg-webrtc
On 2017/03/31 13:35:53, minyue-webrtc wrote: > On 2017/03/31 12:39:12, squashingskak wrote: > > Updated again ...
3 years, 8 months ago (2017-03-31 16:07:47 UTC) #34
minyue-webrtc
https://codereview.webrtc.org/2772773002/diff/40001/webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc File webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc (right): https://codereview.webrtc.org/2772773002/diff/40001/webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc#newcode41 webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc:41: void TestDtxAndCbrEffect(bool dtx, bool cbr, int block_length_ms); Merging DTX ...
3 years, 8 months ago (2017-03-31 18:37:43 UTC) #35
squashingskak
Reverted the merging of cbr and dtx testing
3 years, 8 months ago (2017-04-02 11:10:34 UTC) #36
minyue-webrtc
On 2017/04/02 11:10:34, squashingskak wrote: > Reverted the merging of cbr and dtx testing thank ...
3 years, 8 months ago (2017-04-02 11:18:44 UTC) #37
minyue-webrtc
add ossu@ since he comes back to work.
3 years, 8 months ago (2017-04-03 10:42:25 UTC) #39
ossu
This looks pretty good! However, a _lot_ of the plumbing will disappear once I land ...
3 years, 8 months ago (2017-04-04 16:38:38 UTC) #40
squashingskak
That sounds good to me. I will update accordingly within the next few days.
3 years, 8 months ago (2017-04-04 17:34:28 UTC) #41
squashingskak
Just to clearify. Should AudioEncoderOpus::SetCbr be removed ? And you will call WebRtcOpus_EnableCbr / WebRtcOpus_EnableCbr ...
3 years, 8 months ago (2017-04-05 12:45:30 UTC) #42
ossu
On 2017/04/04 17:34:28, squashingskak wrote: > That sounds good to me. I will update accordingly ...
3 years, 8 months ago (2017-04-05 12:52:46 UTC) #43
squashingskak
Updated
3 years, 8 months ago (2017-04-05 13:41:56 UTC) #44
ossu
On 2017/04/05 13:41:56, squashingskak wrote: > Updated Great! lgtm
3 years, 8 months ago (2017-04-05 13:53:02 UTC) #45
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/2772773002/80001
3 years, 8 months ago (2017-04-06 12:44:45 UTC) #52
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 12:48:42 UTC) #55
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/external/webrtc/+/28dc285f2208ecbb3b79213ca...

Powered by Google App Engine
This is Rietveld 408576698