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

Issue 1412683006: RentACodec: New class that takes over part of ACMCodecDB's job (Closed)

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

Description

RentACodec: New class that takes over part of ACMCodecDB's job Following CLs will finish the takeover completely. After that, RentACodec will also start creating and owning codecs, at which point its name will start making sense. BUG=webrtc:5028 Committed: https://crrev.com/fce4a945b872e4ca52e76a3872a3278a88e17b85 Cr-Commit-Position: refs/heads/master@{#10432}

Patch Set 1 : #

Total comments: 29

Patch Set 2 : review fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+418 lines, -267 lines) Patch
M webrtc/modules/audio_coding/BUILD.gn View 3 chunks +34 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/acm_codec_database.h View 2 chunks +1 line, -79 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc View 1 5 chunks +9 lines, -12 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/acm_receiver.cc View 1 4 chunks +16 lines, -7 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc View 1 12 chunks +92 lines, -94 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/audio_coding_module.cc View 3 chunks +25 lines, -31 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/audio_coding_module_impl.cc View 1 4 chunks +16 lines, -20 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/codec_manager.cc View 2 chunks +12 lines, -20 lines 0 comments Download
A webrtc/modules/audio_coding/main/acm2/rent_a_codec.h View 1 1 chunk +129 lines, -0 lines 0 comments Download
A webrtc/modules/audio_coding/main/acm2/rent_a_codec.cc View 1 1 chunk +59 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/main/audio_coding_module.gypi View 3 chunks +25 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
kwiberg-webrtc
5 years, 1 month ago (2015-10-27 08:51:17 UTC) #5
the sun
https://codereview.webrtc.org/1412683006/diff/40001/webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc File webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc (right): https://codereview.webrtc.org/1412683006/diff/40001/webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc#newcode356 webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc:356: int ACMCodecDB::CodecFreq(int codec_id) { const? https://codereview.webrtc.org/1412683006/diff/40001/webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc#newcode358 webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc:358: auto db ...
5 years, 1 month ago (2015-10-27 11:56:43 UTC) #7
kwiberg-webrtc
https://codereview.webrtc.org/1412683006/diff/40001/webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc File webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc (right): https://codereview.webrtc.org/1412683006/diff/40001/webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc#newcode356 webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc:356: int ACMCodecDB::CodecFreq(int codec_id) { On 2015/10/27 11:56:43, the sun ...
5 years, 1 month ago (2015-10-27 12:16:46 UTC) #8
the sun
https://codereview.webrtc.org/1412683006/diff/40001/webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc File webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc (right): https://codereview.webrtc.org/1412683006/diff/40001/webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc#newcode356 webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc:356: int ACMCodecDB::CodecFreq(int codec_id) { On 2015/10/27 12:16:46, kwiberg-webrtc wrote: ...
5 years, 1 month ago (2015-10-27 12:27:40 UTC) #9
kwiberg-webrtc
https://codereview.webrtc.org/1412683006/diff/40001/webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc File webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc (right): https://codereview.webrtc.org/1412683006/diff/40001/webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc#newcode356 webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc:356: int ACMCodecDB::CodecFreq(int codec_id) { On 2015/10/27 12:27:40, the sun ...
5 years, 1 month ago (2015-10-27 12:33:18 UTC) #10
hlundin-webrtc
Mostly lg, but see comments. https://codereview.webrtc.org/1412683006/diff/40001/webrtc/modules/audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc File webrtc/modules/audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc (right): https://codereview.webrtc.org/1412683006/diff/40001/webrtc/modules/audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc#newcode118 webrtc/modules/audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc:118: void AddSetOfCodecs(const RentACodec::CodecId(&ids)[N]) { ...
5 years, 1 month ago (2015-10-27 13:52:02 UTC) #11
the sun
https://codereview.webrtc.org/1412683006/diff/40001/webrtc/modules/audio_coding/main/acm2/rent_a_codec.h File webrtc/modules/audio_coding/main/acm2/rent_a_codec.h (right): https://codereview.webrtc.org/1412683006/diff/40001/webrtc/modules/audio_coding/main/acm2/rent_a_codec.h#newcode116 webrtc/modules/audio_coding/main/acm2/rent_a_codec.h:116: static rtc::Maybe<CodecInst> CodecInstByParams(const char* payload_name, Sorry for the naïve ...
5 years, 1 month ago (2015-10-27 14:07:07 UTC) #12
kwiberg-webrtc
New patch set posted. https://codereview.webrtc.org/1412683006/diff/40001/webrtc/modules/audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc File webrtc/modules/audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc (right): https://codereview.webrtc.org/1412683006/diff/40001/webrtc/modules/audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc#newcode118 webrtc/modules/audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc:118: void AddSetOfCodecs(const RentACodec::CodecId(&ids)[N]) { On ...
5 years, 1 month ago (2015-10-27 14:43:23 UTC) #13
hlundin-webrtc
lgtm https://codereview.webrtc.org/1412683006/diff/40001/webrtc/modules/audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc File webrtc/modules/audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc (right): https://codereview.webrtc.org/1412683006/diff/40001/webrtc/modules/audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc#newcode118 webrtc/modules/audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc:118: void AddSetOfCodecs(const RentACodec::CodecId(&ids)[N]) { On 2015/10/27 14:43:23, kwiberg-webrtc ...
5 years, 1 month ago (2015-10-27 15:31:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412683006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412683006/60001
5 years, 1 month ago (2015-10-27 18:37:40 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:60001)
5 years, 1 month ago (2015-10-27 18:40:27 UTC) #18
commit-bot: I haz the power
5 years, 1 month ago (2015-10-27 18:40:38 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fce4a945b872e4ca52e76a3872a3278a88e17b85
Cr-Commit-Position: refs/heads/master@{#10432}

Powered by Google App Engine
This is Rietveld 408576698