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

Issue 1369923005: Remove kSkipFrame usage. (Closed)

Created:
5 years, 2 months ago by pbos-webrtc
Modified:
5 years, 2 months 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, peah-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove kSkipFrame usage. Since padding is no longer sent on Encoded() callbacks, dummy callbacks aren't required to generate padding. This skip-frame behavior can then be removed to get rid of dummy callbacks though nothing was encoded. As frames don't have to be generated for frames that don't have to be sent we skip encoding frames that aren't intended to be sent either, reducing CPU load. BUG= R=mflodman@webrtc.org, stefan@webrtc.org Committed: https://crrev.com/5d0379da2cbdcce6f8494209c7ab559cd6de076e Cr-Commit-Position: refs/heads/master@{#10181}

Patch Set 1 #

Total comments: 1

Patch Set 2 : -{} #

Patch Set 3 : rebase #

Patch Set 4 : bogus default return value for ConvertFrameType #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -48 lines) Patch
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc View 2 chunks +6 lines, -17 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h View 1 chunk +0 lines, -7 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M webrtc/modules/video_coding/main/source/encoded_frame.cc View 1 2 3 1 chunk +2 lines, -4 lines 0 comments Download
M webrtc/test/fake_encoder.cc View 1 1 chunk +2 lines, -4 lines 0 comments Download
M webrtc/video/send_statistics_proxy.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/video_frame.h View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
pbos-webrtc
PTAL, I think this should reduce CPU load on sub-HD networks (and makes the code ...
5 years, 2 months ago (2015-10-02 13:32:34 UTC) #1
stefan-webrtc
lgtm https://codereview.webrtc.org/1369923005/diff/1/webrtc/test/fake_encoder.cc File webrtc/test/fake_encoder.cc (right): https://codereview.webrtc.org/1369923005/diff/1/webrtc/test/fake_encoder.cc#newcode103 webrtc/test/fake_encoder.cc:103: if (min_stream_bits > bits_available && i > 0) ...
5 years, 2 months ago (2015-10-02 13:43:08 UTC) #2
pbos-webrtc
-{}
5 years, 2 months ago (2015-10-02 13:43:54 UTC) #3
mflodman
lgtm
5 years, 2 months ago (2015-10-06 10:51:32 UTC) #4
pbos-webrtc
rebase
5 years, 2 months ago (2015-10-06 11:17:56 UTC) #5
pbos-webrtc
bogus default return value for ConvertFrameType
5 years, 2 months ago (2015-10-06 11:46:17 UTC) #6
pbos-webrtc
Committed patchset #4 (id:60001) manually as 5d0379da2cbdcce6f8494209c7ab559cd6de076e (presubmit successful).
5 years, 2 months ago (2015-10-06 12:05:08 UTC) #7
commit-bot: I haz the power
5 years, 2 months ago (2015-10-06 12:05:11 UTC) #8
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5d0379da2cbdcce6f8494209c7ab559cd6de076e
Cr-Commit-Position: refs/heads/master@{#10181}

Powered by Google App Engine
This is Rietveld 408576698