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

Issue 2270063006: TimestampScaler no longer depends on NetEqDecoder to figure out scaling. (Closed)

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

Description

TimestampScaler no longer depends on NetEqDecoder to figure out scaling. This is still a tiny lie, since it checks for kCodecArbitrary to avoid scaling a codec with an external decoder, because of missing information in that case. The main point is still true, though. Once the next CL is in, removing NetEqDecoder usage completely in DecoderDatabase, another workaround will be in place for external decoders until we can fully deprecate them. BUG=webrtc:5805 Committed: https://crrev.com/09f1560f813a36f4176c1fb1068f4d7105c26175 Cr-Commit-Position: refs/heads/master@{#13952}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Make sure the diffs are calculated properly as signed. Also use auto. #

Total comments: 8

Patch Set 3 : Moved a *, turned diffs to const. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -42 lines) Patch
M webrtc/modules/audio_coding/neteq/decoder_database.h View 1 2 1 chunk +8 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/timestamp_scaler.cc View 1 2 3 chunks +13 lines, -28 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/timestamp_scaler_unittest.cc View 1 10 chunks +30 lines, -10 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 26 (11 generated)
ossu
One more CL on the way of removing NetEqDecoder usage from within NetEq.
4 years, 3 months ago (2016-08-25 16:22:13 UTC) #2
kwiberg-webrtc
https://codereview.webrtc.org/2270063006/diff/1/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc File webrtc/modules/audio_coding/neteq/timestamp_scaler.cc (right): https://codereview.webrtc.org/2270063006/diff/1/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc#newcode66 webrtc/modules/audio_coding/neteq/timestamp_scaler.cc:66: internal_ref_ += (external_diff * numerator_) / denominator_; Have you ...
4 years, 3 months ago (2016-08-26 09:07:53 UTC) #3
ossu
https://codereview.webrtc.org/2270063006/diff/1/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc File webrtc/modules/audio_coding/neteq/timestamp_scaler.cc (right): https://codereview.webrtc.org/2270063006/diff/1/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc#newcode66 webrtc/modules/audio_coding/neteq/timestamp_scaler.cc:66: internal_ref_ += (external_diff * numerator_) / denominator_; On 2016/08/26 ...
4 years, 3 months ago (2016-08-26 09:22:34 UTC) #4
ossu
https://codereview.webrtc.org/2270063006/diff/1/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc File webrtc/modules/audio_coding/neteq/timestamp_scaler.cc (right): https://codereview.webrtc.org/2270063006/diff/1/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc#newcode66 webrtc/modules/audio_coding/neteq/timestamp_scaler.cc:66: internal_ref_ += (external_diff * numerator_) / denominator_; On 2016/08/26 ...
4 years, 3 months ago (2016-08-26 09:28:16 UTC) #5
ossu
https://codereview.webrtc.org/2270063006/diff/1/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc File webrtc/modules/audio_coding/neteq/timestamp_scaler.cc (right): https://codereview.webrtc.org/2270063006/diff/1/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc#newcode66 webrtc/modules/audio_coding/neteq/timestamp_scaler.cc:66: internal_ref_ += (external_diff * numerator_) / denominator_; On 2016/08/26 ...
4 years, 3 months ago (2016-08-26 11:20:52 UTC) #7
hlundin-webrtc
LGTM with one nit. https://codereview.webrtc.org/2270063006/diff/40001/webrtc/modules/audio_coding/neteq/decoder_database.h File webrtc/modules/audio_coding/neteq/decoder_database.h (right): https://codereview.webrtc.org/2270063006/diff/40001/webrtc/modules/audio_coding/neteq/decoder_database.h#newcode62 webrtc/modules/audio_coding/neteq/decoder_database.h:62: const AudioDecoder *decoder = GetDecoder(); ...
4 years, 3 months ago (2016-08-26 11:34:46 UTC) #8
kwiberg-webrtc
lgtm https://codereview.webrtc.org/2270063006/diff/40001/webrtc/modules/audio_coding/neteq/decoder_database.h File webrtc/modules/audio_coding/neteq/decoder_database.h (right): https://codereview.webrtc.org/2270063006/diff/40001/webrtc/modules/audio_coding/neteq/decoder_database.h#newcode62 webrtc/modules/audio_coding/neteq/decoder_database.h:62: const AudioDecoder *decoder = GetDecoder(); On 2016/08/26 11:34:46, ...
4 years, 3 months ago (2016-08-26 11:40:58 UTC) #9
ossu
BOOM! https://codereview.webrtc.org/2270063006/diff/40001/webrtc/modules/audio_coding/neteq/decoder_database.h File webrtc/modules/audio_coding/neteq/decoder_database.h (right): https://codereview.webrtc.org/2270063006/diff/40001/webrtc/modules/audio_coding/neteq/decoder_database.h#newcode62 webrtc/modules/audio_coding/neteq/decoder_database.h:62: const AudioDecoder *decoder = GetDecoder(); On 2016/08/26 11:40:57, ...
4 years, 3 months ago (2016-08-26 11:47:31 UTC) #10
kwiberg-webrtc
https://codereview.webrtc.org/2270063006/diff/40001/webrtc/modules/audio_coding/neteq/decoder_database.h File webrtc/modules/audio_coding/neteq/decoder_database.h (right): https://codereview.webrtc.org/2270063006/diff/40001/webrtc/modules/audio_coding/neteq/decoder_database.h#newcode62 webrtc/modules/audio_coding/neteq/decoder_database.h:62: const AudioDecoder *decoder = GetDecoder(); On 2016/08/26 11:47:31, ossu ...
4 years, 3 months ago (2016-08-26 12:30:08 UTC) #13
hlundin-webrtc
https://codereview.webrtc.org/2270063006/diff/40001/webrtc/modules/audio_coding/neteq/decoder_database.h File webrtc/modules/audio_coding/neteq/decoder_database.h (right): https://codereview.webrtc.org/2270063006/diff/40001/webrtc/modules/audio_coding/neteq/decoder_database.h#newcode62 webrtc/modules/audio_coding/neteq/decoder_database.h:62: const AudioDecoder *decoder = GetDecoder(); On 2016/08/26 12:30:07, kwiberg-webrtc ...
4 years, 3 months ago (2016-08-26 12:41:50 UTC) #14
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/2270063006/60001
4 years, 3 months ago (2016-08-29 08:14:39 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/16047)
4 years, 3 months ago (2016-08-29 08:26:15 UTC) #21
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/2270063006/60001
4 years, 3 months ago (2016-08-29 10:20:38 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 3 months ago (2016-08-29 10:59:09 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-08-29 10:59:18 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/09f1560f813a36f4176c1fb1068f4d7105c26175
Cr-Commit-Position: refs/heads/master@{#13952}

Powered by Google App Engine
This is Rietveld 408576698