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

Issue 1418423010: Pass audio to AudioEncoder::Encode() in an ArrayView (Closed)

Created:
5 years, 1 month ago by kwiberg-webrtc
Modified:
5 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, hlundin-webrtc, peah-webrtc, tlegrand-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Pass audio to AudioEncoder::Encode() in an ArrayView Instead of in separate pointer and size arguments. Committed: https://crrev.com/288886b2ec9a2dac730f115e9c3079d8439efe60 Cr-Commit-Position: refs/heads/master@{#10535}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : disconvert to bool #

Total comments: 2

Patch Set 4 : Test comparison of ArrayViews with same pointer but different size #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -142 lines) Patch
M webrtc/base/array_view.h View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M webrtc/base/array_view_unittest.cc View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/audio_encoder.h View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/audio_encoder.cc View 1 chunk +7 lines, -7 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.cc View 3 chunks +9 lines, -7 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/cng/include/audio_encoder_cng.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/g711/audio_encoder_pcm.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/g711/include/audio_encoder_pcm.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/g722/include/audio_encoder_g722.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/ilbc/audio_encoder_ilbc.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/ilbc/include/audio_encoder_ilbc.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/include/audio_encoder_opus.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/opus_unittest.cc View 1 17 chunks +51 lines, -55 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/main/acm2/audio_coding_module_unittest_oldapi.cc View 1 2 3 4 2 chunks +8 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/codec_owner_unittest.cc View 1 3 chunks +10 lines, -10 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_unittest.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/test/neteq_ilbc_quality_test.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/test/neteq_pcmu_quality_test.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/audio_loop.h View 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/audio_loop.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/neteq_performance_test.cc View 1 2 2 chunks +9 lines, -8 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
kwiberg-webrtc
Please take a look. Andrew, Fredrik: webrtc/base Henrik: all of it, especially the rest, but ...
5 years, 1 month ago (2015-11-03 12:41:10 UTC) #3
the sun
I only looked quickly at the files outside of webrtc/base, but I didn't see a ...
5 years, 1 month ago (2015-11-04 12:32:18 UTC) #4
kwiberg-webrtc
https://codereview.webrtc.org/1418423010/diff/20001/webrtc/modules/audio_coding/codecs/ilbc/audio_encoder_ilbc.cc File webrtc/modules/audio_coding/codecs/ilbc/audio_encoder_ilbc.cc (right): https://codereview.webrtc.org/1418423010/diff/20001/webrtc/modules/audio_coding/codecs/ilbc/audio_encoder_ilbc.cc#newcode105 webrtc/modules/audio_coding/codecs/ilbc/audio_encoder_ilbc.cc:105: std::copy(audio.cbegin(), audio.cend(), On 2015/11/04 12:32:18, the sun wrote: > ...
5 years, 1 month ago (2015-11-04 14:58:11 UTC) #5
kwiberg-webrtc
On 2015/11/04 12:32:18, the sun wrote: > I only looked quickly at the files outside ...
5 years, 1 month ago (2015-11-04 15:05:49 UTC) #6
kwiberg-webrtc
On 2015/11/04 15:05:49, kwiberg-webrtc wrote: > On 2015/11/04 12:32:18, the sun wrote: > > > ...
5 years, 1 month ago (2015-11-04 18:17:18 UTC) #7
Andrew MacDonald
webrtc/base lgtm
5 years, 1 month ago (2015-11-05 01:39:55 UTC) #8
the sun
On 2015/11/05 01:39:55, Andrew MacDonald wrote: > webrtc/base lgtm LGTM for webrtc/base ; empty() is ...
5 years, 1 month ago (2015-11-05 09:24:32 UTC) #9
hlundin-webrtc
lgtm https://codereview.webrtc.org/1418423010/diff/40001/webrtc/base/array_view_unittest.cc File webrtc/base/array_view_unittest.cc (right): https://codereview.webrtc.org/1418423010/diff/40001/webrtc/base/array_view_unittest.cc#newcode223 webrtc/base/array_view_unittest.cc:223: TEST(ArrayViewTest, TestCompare) { Is it conceivable to have ...
5 years, 1 month ago (2015-11-05 15:22:28 UTC) #10
kwiberg-webrtc
https://codereview.webrtc.org/1418423010/diff/40001/webrtc/base/array_view_unittest.cc File webrtc/base/array_view_unittest.cc (right): https://codereview.webrtc.org/1418423010/diff/40001/webrtc/base/array_view_unittest.cc#newcode223 webrtc/base/array_view_unittest.cc:223: TEST(ArrayViewTest, TestCompare) { On 2015/11/05 15:22:28, hlundin-webrtc wrote: > ...
5 years, 1 month ago (2015-11-05 19:00:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1418423010/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1418423010/80001
5 years, 1 month ago (2015-11-05 19:08:40 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
5 years, 1 month ago (2015-11-05 21:09:07 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1418423010/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1418423010/80001
5 years, 1 month ago (2015-11-05 21:19:40 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
5 years, 1 month ago (2015-11-05 23:19:53 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1418423010/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1418423010/80001
5 years, 1 month ago (2015-11-06 09:17:16 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-11-06 09:21:39 UTC) #23
commit-bot: I haz the power
5 years, 1 month ago (2015-11-06 09:21:48 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/288886b2ec9a2dac730f115e9c3079d8439efe60
Cr-Commit-Position: refs/heads/master@{#10535}

Powered by Google App Engine
This is Rietveld 408576698