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

Issue 2993923002: Removing VCMCodecDataBase::Codec and VideoCodingModule::Codec. (Closed)

Created:
3 years, 4 months ago by mflodman
Modified:
3 years, 4 months ago
Reviewers:
brandtr
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), peah-webrtc, zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, kwiberg-webrtc, the sun, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Removing VCMCodecDataBase::Codec and VideoCodingModule::Codec. This CL brings us one step closer to removing CodecDatabase and GenericEncoder, by removing the static VCM::Codec(). Codec specific methods are moved to video_encoder.cc (they already belonged to this class) and getting default generic codec settings has been moved to a test specific file. This CL also makes video_encoder.h pass style guide and lint checks, since these checks are triggered with the new video_encoder.cc file. BUG=webrtc:8064 Review-Url: https://codereview.webrtc.org/2993923002 Cr-Commit-Position: refs/heads/master@{#19303} Committed: https://chromium.googlesource.com/external/webrtc/+/351424e942323185c24e92516ecb2a4c454db9f0

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase #

Total comments: 14

Patch Set 3 : Review comments from brandtr. #

Patch Set 4 : Rebase #

Patch Set 5 : Remove deprate - let sprang handle when method is removed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -186 lines) Patch
M PRESUBMIT.py View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/api/video_codecs/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/api/video_codecs/video_encoder.h View 3 4 3 chunks +12 lines, -19 lines 0 comments Download
A webrtc/api/video_codecs/video_encoder.cc View 1 2 1 chunk +98 lines, -0 lines 0 comments Download
M webrtc/common_video/include/video_frame.h View 1 chunk +3 lines, -9 lines 0 comments Download
M webrtc/common_video/video_frame.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/codec_database.h View 1 chunk +0 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/codec_database.cc View 2 chunks +0 lines, -130 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/generic_encoder_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/include/video_coding.h View 1 chunk +0 lines, -10 lines 0 comments Download
M webrtc/modules/video_coding/include/video_coding_defines.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/video_coding_impl.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/video_receiver_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/video_sender_unittest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M webrtc/test/BUILD.gn View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
A webrtc/test/video_codec_settings.h View 1 chunk +111 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (20 generated)
mflodman
Rasmus, This is the first step in removing the codec database and generic encoder. I ...
3 years, 4 months ago (2017-08-08 15:21:21 UTC) #4
mflodman
Ping Rasmus
3 years, 4 months ago (2017-08-10 07:38:51 UTC) #11
brandtr
lgtm, but please take a look at my comments :) https://codereview.webrtc.org/2993923002/diff/1/webrtc/api/video_codecs/video_encoder.cc File webrtc/api/video_codecs/video_encoder.cc (right): https://codereview.webrtc.org/2993923002/diff/1/webrtc/api/video_codecs/video_encoder.cc#newcode42 ...
3 years, 4 months ago (2017-08-10 08:05:35 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2993923002/40001
3 years, 4 months ago (2017-08-10 08:16:42 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: ios_arm64_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_arm64_dbg/builds/22615)
3 years, 4 months ago (2017-08-10 08:19:10 UTC) #17
mflodman
https://codereview.webrtc.org/2993923002/diff/20001/webrtc/api/video_codecs/video_encoder.cc File webrtc/api/video_codecs/video_encoder.cc (right): https://codereview.webrtc.org/2993923002/diff/20001/webrtc/api/video_codecs/video_encoder.cc#newcode15 webrtc/api/video_codecs/video_encoder.cc:15: VideoCodecVP8 VideoEncoder::GetDefaultVp8Settings() { On 2017/08/10 08:05:34, brandtr wrote: > ...
3 years, 4 months ago (2017-08-10 08:23:56 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.webrtc.org/2993923002/60001
3 years, 4 months ago (2017-08-10 08:24:10 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: ios_arm64_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_arm64_dbg/builds/22616)
3 years, 4 months ago (2017-08-10 08:27:02 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2993923002/80001
3 years, 4 months ago (2017-08-10 09:12:20 UTC) #27
commit-bot: I haz the power
3 years, 4 months ago (2017-08-10 09:43:24 UTC) #30
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/external/webrtc/+/351424e942323185c24e92516...

Powered by Google App Engine
This is Rietveld 408576698