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

Issue 1228793004: Update audio code to use size_t more correctly, (Closed)

Created:
5 years, 5 months ago by Peter Kasting
Modified:
5 years, 4 months ago
Reviewers:
minyue-webrtc
CC:
hlundin-webrtc, kwiberg-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, webrtc-reviews_webrtc.org
Base URL:
https://chromium.googlesource.com/external/webrtc@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Update audio code to use size_t more correctly, webrtc/modules/audio_coding/codecs/isac/ portion. This is a piece of https://codereview.webrtc.org/1230503003 , split out to a separate change to make reviewing easier. BUG=chromium:81439 TEST=none

Patch Set 1 #

Patch Set 2 : Resync #

Total comments: 39

Patch Set 3 : Review comments #

Total comments: 7

Patch Set 4 : Review comments #

Total comments: 2

Patch Set 5 : Review comments #

Patch Set 6 : Review comments #

Patch Set 7 : Compile fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -159 lines) Patch
M webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h View 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t_impl.h View 4 chunks +9 lines, -8 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/interface/audio_encoder_isac.h View 1 3 chunks +6 lines, -6 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/interface/isac.h View 1 5 chunks +8 lines, -7 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/source/audio_encoder_isac.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/source/bandwidth_estimator.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/source/bandwidth_estimator.c View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/source/codec.h View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/source/decode_bwe.c View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c View 1 2 3 4 10 chunks +42 lines, -38 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/source/isac.c View 1 10 chunks +24 lines, -23 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/source/isac_unittest.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/source/lpc_analysis.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/source/lpc_analysis.c View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/source/pitch_estimator.h View 1 2 1 chunk +8 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc View 1 2 3 4 5 6 15 chunks +41 lines, -26 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/test/SwitchingSampRate/SwitchingSampRate.cc View 7 chunks +15 lines, -14 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/test/simpleKenny.c View 1 8 chunks +17 lines, -14 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/util/utility.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/main/util/utility.c View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (3 generated)
Peter Kasting
5 years, 5 months ago (2015-07-23 19:20:17 UTC) #2
Peter Kasting
Changing reviewer to minyue in hopes of finding someone who is not on vacation to ...
5 years, 4 months ago (2015-07-27 23:43:49 UTC) #5
minyue-webrtc
On 2015/07/27 23:43:49, Peter Kasting wrote: > Changing reviewer to minyue in hopes of finding ...
5 years, 4 months ago (2015-07-29 08:34:41 UTC) #6
minyue-webrtc
Hi Peter, It is a good effort to unify the variable types. Looking at the ...
5 years, 4 months ago (2015-07-31 14:10:14 UTC) #7
Peter Kasting
PTAL https://codereview.webrtc.org/1228793004/diff/20001/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h File webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h (right): https://codereview.webrtc.org/1228793004/diff/20001/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h#newcode61 webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h:61: size_t Max10MsFramesInAPacket() const override; On 2015/07/31 14:10:14, minyuel ...
5 years, 4 months ago (2015-08-04 02:02:53 UTC) #8
minyue-webrtc
https://codereview.webrtc.org/1228793004/diff/20001/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h File webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h (right): https://codereview.webrtc.org/1228793004/diff/20001/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h#newcode61 webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h:61: size_t Max10MsFramesInAPacket() const override; On 2015/08/04 02:02:52, Peter Kasting ...
5 years, 4 months ago (2015-08-04 07:31:50 UTC) #9
Peter Kasting
https://codereview.webrtc.org/1228793004/diff/20001/webrtc/modules/audio_coding/codecs/isac/main/source/isac.c File webrtc/modules/audio_coding/codecs/isac/main/source/isac.c (right): https://codereview.webrtc.org/1228793004/diff/20001/webrtc/modules/audio_coding/codecs/isac/main/source/isac.c#newcode1113 webrtc/modules/audio_coding/codecs/isac/main/source/isac.c:1113: not fill it in if it fails and returns ...
5 years, 4 months ago (2015-08-04 18:57:15 UTC) #10
minyue-webrtc
LG. Just a few comments. https://codereview.webrtc.org/1228793004/diff/20001/webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c File webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c (right): https://codereview.webrtc.org/1228793004/diff/20001/webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c#newcode263 webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c:263: void WebRtcIsac_Highpass_float(const float *in, ...
5 years, 4 months ago (2015-08-06 14:07:28 UTC) #11
Peter Kasting
New snap not yet up, will fix the below issues later (am WFH today) https://codereview.webrtc.org/1228793004/diff/20001/webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c ...
5 years, 4 months ago (2015-08-06 18:36:49 UTC) #12
Peter Kasting
(No response needed) https://codereview.webrtc.org/1228793004/diff/20001/webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc File webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc (right): https://codereview.webrtc.org/1228793004/diff/20001/webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc#newcode714 webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc:714: stream_len = static_cast<size_t>(WebRtcIsac_GetRedPayload( On 2015/08/06 18:36:49, ...
5 years, 4 months ago (2015-08-07 21:52:12 UTC) #13
Peter Kasting
Actually, a response is needed, since you said "LG" instead of "LGTM".
5 years, 4 months ago (2015-08-07 21:57:19 UTC) #14
minyue-webrtc
only a couple of nits https://codereview.webrtc.org/1228793004/diff/20001/webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c File webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c (right): https://codereview.webrtc.org/1228793004/diff/20001/webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c#newcode263 webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c:263: void WebRtcIsac_Highpass_float(const float *in, ...
5 years, 4 months ago (2015-08-10 07:34:15 UTC) #15
Peter Kasting
Can you please LGTM me if you trust me to make changes you're asking for, ...
5 years, 4 months ago (2015-08-10 08:19:17 UTC) #16
minyue-webrtc
https://codereview.webrtc.org/1228793004/diff/20001/webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c File webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c (right): https://codereview.webrtc.org/1228793004/diff/20001/webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c#newcode263 webrtc/modules/audio_coding/codecs/isac/main/source/filter_functions.c:263: void WebRtcIsac_Highpass_float(const float *in, double *out, double *state, int ...
5 years, 4 months ago (2015-08-10 08:23:27 UTC) #17
minyue-webrtc
Yes, I can leave the remaining question for you to decide. It is ready of ...
5 years, 4 months ago (2015-08-10 08:30:12 UTC) #18
Peter Kasting
FYI, I updated this per your comments. (No response needed)
5 years, 4 months ago (2015-08-14 01:02:24 UTC) #19
minyue-webrtc
5 years, 4 months ago (2015-08-14 08:09:00 UTC) #20
On 2015/08/14 01:02:24, Peter Kasting wrote:
> FYI, I updated this per your comments.  (No response needed)

Thanks!

Powered by Google App Engine
This is Rietveld 408576698