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

Issue 2958393002: Add a simple, safe gain PostProcessor. (Closed)

Created:
3 years, 5 months ago by bshaya
Modified:
3 years, 5 months ago
Reviewers:
tianyuwang1, kmackay, mont, alokp
CC:
chromium-reviews, alokp+watch_chromium.org, lcwu+watch_chromium.org, halliwell+watch_chromium.org, feature-media-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a simple gain PostProcessor. BUG=internal/62571379 BUG=internal/63080799 TEST=On Device Change-Id: Ied56d594db00bee5eb9c407c80d9befd8fbd7210 Review-Url: https://codereview.chromium.org/2958393002 Cr-Commit-Position: refs/heads/master@{#485027} Committed: https://chromium.googlesource.com/chromium/src/+/1f461df4f62cdd1bf5bf8db3524b795dc9ef5bd5

Patch Set 1 #

Patch Set 2 : Add test to chromecast/BUILD.gn #

Patch Set 3 : Move cast_audio.json filepath string to a separate file #

Total comments: 16

Patch Set 4 : Combine cma/backend/alsa tests into a single target #

Total comments: 4

Patch Set 5 : code review changes #

Patch Set 6 : Fix dependency chain #

Total comments: 2

Patch Set 7 : Unrelated cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+565 lines, -207 lines) Patch
M chromecast/BUILD.gn View 1 2 3 1 chunk +1 line, -5 lines 0 comments Download
M chromecast/media/cma/backend/alsa/BUILD.gn View 1 2 3 4 5 6 chunks +52 lines, -23 lines 0 comments Download
A chromecast/media/cma/backend/alsa/cast_audio_json.h View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
A chromecast/media/cma/backend/alsa/cast_audio_json.cc View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M chromecast/media/cma/backend/alsa/cast_media_shlib.cc View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M chromecast/media/cma/backend/alsa/post_processing_pipeline_impl.h View 1 2 3 3 chunks +10 lines, -12 lines 0 comments Download
M chromecast/media/cma/backend/alsa/post_processing_pipeline_impl.cc View 1 2 3 2 chunks +7 lines, -16 lines 0 comments Download
M chromecast/media/cma/backend/alsa/post_processing_pipeline_parser.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chromecast/media/cma/backend/alsa/post_processing_pipeline_parser.cc View 1 2 3 5 chunks +6 lines, -11 lines 0 comments Download
A chromecast/media/cma/backend/alsa/post_processor_factory.h View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
A chromecast/media/cma/backend/alsa/post_processor_factory.cc View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
M chromecast/media/cma/backend/alsa/post_processors/governor.cc View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
A chromecast/media/cma/backend/alsa/post_processors/governor_create.cc View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
M chromecast/media/cma/backend/alsa/post_processors/governor_unittest.cc View 1 2 3 4 3 chunks +11 lines, -11 lines 0 comments Download
A chromecast/media/cma/backend/alsa/post_processors/saturated_gain.h View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
A chromecast/media/cma/backend/alsa/post_processors/saturated_gain.cc View 1 2 3 1 chunk +73 lines, -0 lines 0 comments Download
A chromecast/media/cma/backend/alsa/post_processors/saturated_gain_unittest.cc View 1 2 3 1 chunk +54 lines, -0 lines 0 comments Download
M chromecast/media/cma/backend/alsa/stream_mixer_alsa.cc View 1 2 3 4 5 6 3 chunks +5 lines, -4 lines 0 comments Download
M chromecast/media/cma/backend/alsa/volume_control.cc View 1 2 3 4 chunks +4 lines, -113 lines 0 comments Download
A chromecast/media/cma/backend/alsa/volume_map.h View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download
A chromecast/media/cma/backend/alsa/volume_map.cc View 1 2 3 1 chunk +123 lines, -0 lines 0 comments Download
M chromecast/media/service/cast_renderer.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 30 (16 generated)
bshaya
3 years, 5 months ago (2017-06-28 23:48:23 UTC) #2
alokp
I just reviewed non-cma files. Defer the cma reviews to kmackay@. https://codereview.chromium.org/2958393002/diff/40001/chromecast/media/cma/backend/alsa/BUILD.gn File chromecast/media/cma/backend/alsa/BUILD.gn (right): ...
3 years, 5 months ago (2017-06-30 17:15:35 UTC) #8
kmackay
Please switch to the new code review at some point (not for this CL) - ...
3 years, 5 months ago (2017-06-30 17:52:19 UTC) #9
kmackay
https://codereview.chromium.org/2958393002/diff/40001/chromecast/media/cma/backend/alsa/cast_audio_json.cc File chromecast/media/cma/backend/alsa/cast_audio_json.cc (right): https://codereview.chromium.org/2958393002/diff/40001/chromecast/media/cma/backend/alsa/cast_audio_json.cc#newcode10 chromecast/media/cma/backend/alsa/cast_audio_json.cc:10: std::string GetCastAudioJsonFilePath() { Why does this need to be ...
3 years, 5 months ago (2017-06-30 17:59:38 UTC) #10
kmackay
https://codereview.chromium.org/2958393002/diff/40001/chromecast/media/cma/backend/alsa/volume_map.h File chromecast/media/cma/backend/alsa/volume_map.h (right): https://codereview.chromium.org/2958393002/diff/40001/chromecast/media/cma/backend/alsa/volume_map.h#newcode15 chromecast/media/cma/backend/alsa/volume_map.h:15: struct LevelToDb { Does this need to be exposed ...
3 years, 5 months ago (2017-06-30 20:57:58 UTC) #11
bshaya
https://codereview.chromium.org/2958393002/diff/40001/chromecast/media/cma/backend/alsa/BUILD.gn File chromecast/media/cma/backend/alsa/BUILD.gn (right): https://codereview.chromium.org/2958393002/diff/40001/chromecast/media/cma/backend/alsa/BUILD.gn#newcode177 chromecast/media/cma/backend/alsa/BUILD.gn:177: test("libcast_saturated_gain_unittests") { On 2017/06/30 17:15:35, alokp wrote: > why ...
3 years, 5 months ago (2017-07-06 21:04:45 UTC) #12
kmackay
https://codereview.chromium.org/2958393002/diff/60001/chromecast/media/cma/backend/alsa/cast_audio_json.h File chromecast/media/cma/backend/alsa/cast_audio_json.h (right): https://codereview.chromium.org/2958393002/diff/60001/chromecast/media/cma/backend/alsa/cast_audio_json.h#newcode8 chromecast/media/cma/backend/alsa/cast_audio_json.h:8: #include <string> <string> unused https://codereview.chromium.org/2958393002/diff/60001/chromecast/media/cma/backend/alsa/post_processors/governor_unittest.cc File chromecast/media/cma/backend/alsa/post_processors/governor_unittest.cc (right): https://codereview.chromium.org/2958393002/diff/60001/chromecast/media/cma/backend/alsa/post_processors/governor_unittest.cc#newcode115 ...
3 years, 5 months ago (2017-07-06 22:16:28 UTC) #13
bshaya
https://codereview.chromium.org/2958393002/diff/60001/chromecast/media/cma/backend/alsa/cast_audio_json.h File chromecast/media/cma/backend/alsa/cast_audio_json.h (right): https://codereview.chromium.org/2958393002/diff/60001/chromecast/media/cma/backend/alsa/cast_audio_json.h#newcode8 chromecast/media/cma/backend/alsa/cast_audio_json.h:8: #include <string> On 2017/07/06 22:16:28, kmackay wrote: > <string> ...
3 years, 5 months ago (2017-07-06 22:38:11 UTC) #14
kmackay
lgtm
3 years, 5 months ago (2017-07-07 00:05:33 UTC) #15
bshaya
3 years, 5 months ago (2017-07-07 00:33:54 UTC) #17
mont
https://codereview.chromium.org/2958393002/diff/100001/chromecast/media/cma/backend/alsa/stream_mixer_alsa.cc File chromecast/media/cma/backend/alsa/stream_mixer_alsa.cc (right): https://codereview.chromium.org/2958393002/diff/100001/chromecast/media/cma/backend/alsa/stream_mixer_alsa.cc#newcode1090 chromecast/media/cma/backend/alsa/stream_mixer_alsa.cc:1090: const std::string& message) { message should be renamed to ...
3 years, 5 months ago (2017-07-07 00:37:44 UTC) #18
alokp
lgtm
3 years, 5 months ago (2017-07-07 16:52:34 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2958393002/120001
3 years, 5 months ago (2017-07-07 20:21:58 UTC) #27
commit-bot: I haz the power
3 years, 5 months ago (2017-07-07 20:27:12 UTC) #30
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/1f461df4f62cdd1bf5bf8db3524b...

Powered by Google App Engine
This is Rietveld 408576698