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

Issue 10701049: Add MultiChannelResampler wrapper for SincResampler. (Closed)

Created:
8 years, 5 months ago by DaleCurtis
Modified:
8 years, 5 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Add MultiChannelResampler wrapper for SincResampler. Wraps the SincResampler for multichannel use. Can't land until after https://chromiumcodereview.appspot.com/10702050/ lands. Since the SincResampler unit tests focus on accuracy, the multi channel resampling tests just ensure the wrapper functions as expected with a single resampling frequency and a constant fill value. BUG=133637 TEST=MultiChannelResampler Unittests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146254

Patch Set 1 : Initial Commit! #

Total comments: 57

Patch Set 2 : Comments! #

Total comments: 7

Patch Set 3 : Comments. Fixes. #

Patch Set 4 : Take advantage of ChunkSize(). Reduce memcpy() by 1. #

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+295 lines, -0 lines) Patch
A media/base/multi_channel_resampler.h View 1 2 3 1 chunk +62 lines, -0 lines 0 comments Download
A media/base/multi_channel_resampler.cc View 1 2 3 1 chunk +98 lines, -0 lines 0 comments Download
A media/base/multi_channel_resampler_unittest.cc View 1 2 1 chunk +132 lines, -0 lines 0 comments Download
M media/media.gyp View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
DaleCurtis
PTAL. fischman: Since this is just a wrapper without audio specifics, please do a full ...
8 years, 5 months ago (2012-06-30 02:00:31 UTC) #1
Ami GONE FROM CHROMIUM
Lots of comments but only a few threads interwoven among them :) https://chromiumcodereview.appspot.com/10701049/diff/5005/media/base/multi_channel_resampler.cc File media/base/multi_channel_resampler.cc ...
8 years, 5 months ago (2012-06-30 20:12:14 UTC) #2
DaleCurtis
Thanks for the fast review Ami! Just a couple comment responses here, no changes yet. ...
8 years, 5 months ago (2012-07-01 23:27:46 UTC) #3
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/10701049/diff/5005/media/base/multi_channel_resampler.cc File media/base/multi_channel_resampler.cc (right): http://codereview.chromium.org/10701049/diff/5005/media/base/multi_channel_resampler.cc#newcode46 media/base/multi_channel_resampler.cc:46: // We need to ensure that SincResampler only calls ...
8 years, 5 months ago (2012-07-01 23:44:44 UTC) #4
DaleCurtis
http://codereview.chromium.org/10701049/diff/5005/media/base/multi_channel_resampler.cc File media/base/multi_channel_resampler.cc (right): http://codereview.chromium.org/10701049/diff/5005/media/base/multi_channel_resampler.cc#newcode46 media/base/multi_channel_resampler.cc:46: // We need to ensure that SincResampler only calls ...
8 years, 5 months ago (2012-07-02 17:43:45 UTC) #5
DaleCurtis
http://codereview.chromium.org/10701049/diff/5005/media/base/multi_channel_resampler.cc File media/base/multi_channel_resampler.cc (right): http://codereview.chromium.org/10701049/diff/5005/media/base/multi_channel_resampler.cc#newcode33 media/base/multi_channel_resampler.cc:33: // Clean up |resampler_audio_data_|. On 2012/06/30 20:12:14, Ami Fischman ...
8 years, 5 months ago (2012-07-03 03:02:56 UTC) #6
Ami GONE FROM CHROMIUM
LGTM % nits http://codereview.chromium.org/10701049/diff/11002/media/base/multi_channel_resampler.cc File media/base/multi_channel_resampler.cc (right): http://codereview.chromium.org/10701049/diff/11002/media/base/multi_channel_resampler.cc#newcode22 media/base/multi_channel_resampler.cc:22: resamplers_.push_back(new SincResampler( multi-line for bodies require ...
8 years, 5 months ago (2012-07-03 18:53:12 UTC) #7
DaleCurtis
Thanks! This patch set also fixes chunking to be based on kBlockSize / io_sample_rate_ratio and ...
8 years, 5 months ago (2012-07-04 00:56:19 UTC) #8
Chris Rogers
LGTM
8 years, 5 months ago (2012-07-09 22:28:51 UTC) #9
DaleCurtis
On 2012/07/09 22:28:51, Chris Rogers wrote: > LGTM Now updated to take advantage of SincResampler::ChunkSize() ...
8 years, 5 months ago (2012-07-10 22:23:16 UTC) #10
Chris Rogers
Still LGTM On 2012/07/10 22:23:16, DaleCurtis wrote: > On 2012/07/09 22:28:51, Chris Rogers wrote: > ...
8 years, 5 months ago (2012-07-11 00:38:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/10701049/11010
8 years, 5 months ago (2012-07-11 23:20:20 UTC) #12
commit-bot: I haz the power
8 years, 5 months ago (2012-07-12 00:54:55 UTC) #13
Change committed as 146254

Powered by Google App Engine
This is Rietveld 408576698