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

Issue 1763693002: Move encoder thread to VideoSendStream. (Closed)

Created:
4 years, 9 months ago by pbos-webrtc
Modified:
4 years, 9 months ago
Reviewers:
the sun, stefan-webrtc
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, the sun, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Move encoder thread to VideoSendStream. Makes VideoCaptureInput easier to test and enables running more things outside VideoCaptureInput on the encoder thread in the future (initializing encoders and reconfiguring them, for instance). BUG=webrtc:5410, webrtc:5494 R=stefan@webrtc.org Committed: https://crrev.com/a4c76882b99ef38e5f5ddd1d325de8cdca3cca02 Cr-Commit-Position: refs/heads/master@{#11860}

Patch Set 1 #

Total comments: 8

Patch Set 2 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -97 lines) Patch
M webrtc/video/video_capture_input.h View 2 chunks +4 lines, -18 lines 0 comments Download
M webrtc/video/video_capture_input.cc View 3 chunks +11 lines, -36 lines 0 comments Download
M webrtc/video/video_capture_input_unittest.cc View 1 5 chunks +14 lines, -35 lines 0 comments Download
M webrtc/video/video_receive_stream.cc View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/video/video_send_stream.h View 1 2 chunks +7 lines, -0 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 4 chunks +30 lines, -1 line 0 comments Download
M webrtc/video/vie_encoder.h View 1 3 chunks +3 lines, -6 lines 0 comments Download
M webrtc/video/vie_encoder.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (4 generated)
pbos-webrtc
PTAL, I think this is a lot cleaner than before (and makes future changes waaaaaaaaaaaaaaaaaaaaaay ...
4 years, 9 months ago (2016-03-03 14:08:11 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/1763693002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1763693002/1
4 years, 9 months ago (2016-03-03 14:08:28 UTC) #3
the sun
https://codereview.webrtc.org/1763693002/diff/1/webrtc/video/video_capture_input.h File webrtc/video/video_capture_input.h (left): https://codereview.webrtc.org/1763693002/diff/1/webrtc/video/video_capture_input.h#oldcode66 webrtc/video/video_capture_input.h:66: rtc::PlatformThread encoder_thread_; Does this mean we're going from one ...
4 years, 9 months ago (2016-03-03 14:16:47 UTC) #5
stefan-webrtc
https://codereview.webrtc.org/1763693002/diff/1/webrtc/video/video_capture_input_unittest.cc File webrtc/video/video_capture_input_unittest.cc (right): https://codereview.webrtc.org/1763693002/diff/1/webrtc/video/video_capture_input_unittest.cc#newcode60 webrtc/video/video_capture_input_unittest.cc:60: const_cast<const VideoFrame*>(&frame)->buffer(kYPlane)); Possibly static_cast? https://codereview.webrtc.org/1763693002/diff/1/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/1763693002/diff/1/webrtc/video/video_send_stream.cc#newcode371 ...
4 years, 9 months ago (2016-03-03 14:19:36 UTC) #6
pbos-webrtc
PTAL https://codereview.webrtc.org/1763693002/diff/1/webrtc/video/video_capture_input.h File webrtc/video/video_capture_input.h (left): https://codereview.webrtc.org/1763693002/diff/1/webrtc/video/video_capture_input.h#oldcode66 webrtc/video/video_capture_input.h:66: rtc::PlatformThread encoder_thread_; On 2016/03/03 14:16:46, the sun wrote: ...
4 years, 9 months ago (2016-03-03 14:25:32 UTC) #7
pbos-webrtc
feedback
4 years, 9 months ago (2016-03-03 14:25:42 UTC) #8
stefan-webrtc
lgtm
4 years, 9 months ago (2016-03-03 14:56:51 UTC) #9
pbos-webrtc
Committed patchset #2 (id:20001) manually as a4c76882b99ef38e5f5ddd1d325de8cdca3cca02 (presubmit successful).
4 years, 9 months ago (2016-03-03 15:29:14 UTC) #11
commit-bot: I haz the power
4 years, 9 months ago (2016-03-03 15:29:18 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a4c76882b99ef38e5f5ddd1d325de8cdca3cca02
Cr-Commit-Position: refs/heads/master@{#11860}

Powered by Google App Engine
This is Rietveld 408576698