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

Issue 1426953003: Remove redudant encoder rate calls. (Closed)

Created:
5 years, 1 month ago by pbos-webrtc
Modified:
5 years, 1 month ago
Reviewers:
stefan-webrtc, mflodman
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, andresp, peah-webrtc, the sun, perkj_webrtc, mflodman, marpan2
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove redudant encoder rate calls. Moves EncoderParameters update checks into GenericEncoder before calling SetRates/SetChannelParameters as applicable. Also removes CodecConfigParameters as a bonus. BUG= R=stefan@webrtc.org TBR=mflodman@webrtc.org Committed: https://crrev.com/69ccb331310fff13a8b061c294d82b20f2b82bc7 Cr-Commit-Position: refs/heads/master@{#10452}

Patch Set 1 #

Total comments: 6

Patch Set 2 : cl format + feedback #

Patch Set 3 : remove redundant function #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -171 lines) Patch
M webrtc/modules/video_coding/codecs/i420/include/i420.h View 1 chunk +0 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/codecs/interface/mock/mock_video_codec_interface.h View 2 chunks +0 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/main/interface/video_coding.h View 1 chunk +0 lines, -10 lines 0 comments Download
M webrtc/modules/video_coding/main/source/generic_encoder.h View 1 2 3 chunks +13 lines, -24 lines 0 comments Download
M webrtc/modules/video_coding/main/source/generic_encoder.cc View 1 4 chunks +32 lines, -55 lines 0 comments Download
M webrtc/modules/video_coding/main/source/video_coding_impl.h View 2 chunks +0 lines, -9 lines 0 comments Download
M webrtc/modules/video_coding/main/source/video_coding_impl.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/main/source/video_sender.cc View 1 6 chunks +13 lines, -33 lines 0 comments Download
M webrtc/modules/video_coding/main/source/video_sender_unittest.cc View 1 2 chunks +34 lines, -1 line 0 comments Download
M webrtc/test/configurable_frame_size_encoder.h View 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/test/configurable_frame_size_encoder.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M webrtc/video_encoder.h View 1 chunk +0 lines, -3 lines 0 comments Download
M webrtc/video_engine/vie_encoder.h View 1 chunk +0 lines, -4 lines 0 comments Download
M webrtc/video_engine/vie_encoder.cc View 1 chunk +0 lines, -13 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
pbos-webrtc
PTAL woo
5 years, 1 month ago (2015-10-29 13:36:46 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1426953003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1426953003/1
5 years, 1 month ago (2015-10-29 13:36:57 UTC) #3
stefan-webrtc
https://codereview.webrtc.org/1426953003/diff/1/webrtc/modules/video_coding/main/source/generic_encoder.cc File webrtc/modules/video_coding/main/source/generic_encoder.cc (right): https://codereview.webrtc.org/1426953003/diff/1/webrtc/modules/video_coding/main/source/generic_encoder.cc#newcode97 webrtc/modules/video_coding/main/source/generic_encoder.cc:97: encoder_params_({0,0,0,0}), spaces between elements. https://codereview.webrtc.org/1426953003/diff/1/webrtc/modules/video_coding/main/source/generic_encoder.h File webrtc/modules/video_coding/main/source/generic_encoder.h (right): https://codereview.webrtc.org/1426953003/diff/1/webrtc/modules/video_coding/main/source/generic_encoder.h#newcode120 ...
5 years, 1 month ago (2015-10-29 14:12:06 UTC) #5
pbos-webrtc
cl format + feedback
5 years, 1 month ago (2015-10-29 14:35:48 UTC) #6
pbos-webrtc
PTAL https://codereview.webrtc.org/1426953003/diff/1/webrtc/modules/video_coding/main/source/generic_encoder.cc File webrtc/modules/video_coding/main/source/generic_encoder.cc (right): https://codereview.webrtc.org/1426953003/diff/1/webrtc/modules/video_coding/main/source/generic_encoder.cc#newcode97 webrtc/modules/video_coding/main/source/generic_encoder.cc:97: encoder_params_({0,0,0,0}), On 2015/10/29 14:12:06, stefan-webrtc (holmer) wrote: > ...
5 years, 1 month ago (2015-10-29 14:37:33 UTC) #7
stefan-webrtc
https://codereview.webrtc.org/1426953003/diff/1/webrtc/modules/video_coding/main/source/generic_encoder.h File webrtc/modules/video_coding/main/source/generic_encoder.h (right): https://codereview.webrtc.org/1426953003/diff/1/webrtc/modules/video_coding/main/source/generic_encoder.h#newcode120 webrtc/modules/video_coding/main/source/generic_encoder.h:120: // TODO(tommi): We could replace BitRate and FrameRate below ...
5 years, 1 month ago (2015-10-29 14:50:23 UTC) #8
pbos-webrtc
remove redundant function
5 years, 1 month ago (2015-10-29 14:52:39 UTC) #9
pbos-webrtc
PTAL https://codereview.webrtc.org/1426953003/diff/1/webrtc/modules/video_coding/main/source/generic_encoder.h File webrtc/modules/video_coding/main/source/generic_encoder.h (right): https://codereview.webrtc.org/1426953003/diff/1/webrtc/modules/video_coding/main/source/generic_encoder.h#newcode120 webrtc/modules/video_coding/main/source/generic_encoder.h:120: // TODO(tommi): We could replace BitRate and FrameRate ...
5 years, 1 month ago (2015-10-29 15:26:02 UTC) #10
stefan-webrtc
lgtm
5 years, 1 month ago (2015-10-29 15:28:50 UTC) #11
pbos-webrtc
TBR=mflodman@ for: webrtc/video_encoder.h
5 years, 1 month ago (2015-10-29 15:30:18 UTC) #14
pbos-webrtc
Committed patchset #3 (id:40001) manually as 69ccb331310fff13a8b061c294d82b20f2b82bc7 (presubmit successful).
5 years, 1 month ago (2015-10-29 15:30:37 UTC) #15
commit-bot: I haz the power
5 years, 1 month ago (2015-10-29 15:30:39 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/69ccb331310fff13a8b061c294d82b20f2b82bc7
Cr-Commit-Position: refs/heads/master@{#10452}

Powered by Google App Engine
This is Rietveld 408576698