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

Issue 2604403003: Make FakeEncoder and FakeH264Encoder thread safe. (Closed)

Created:
3 years, 11 months ago by brandtr
Modified:
3 years, 11 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Make FakeEncoder and FakeH264Encoder thread safe. The MultithreadedFakeH264Encoder is a derived class from FakeEncoder and FakeH264Encoder, and these should thus also be thread safe. TESTED=Ran "out/Tsan/video_engine_tests --gtest_filter="*Multithreaded*" --gtest_repeat=100" with is_debug=false, dcheck_always_on=true, is_tsan=true. BUG=webrtc:6943 Review-Url: https://codereview.webrtc.org/2604403003 Cr-Commit-Position: refs/heads/master@{#16093} Committed: https://chromium.googlesource.com/external/webrtc/+/e78d26669eeedd862150ff799d1e174bed1cfd28

Patch Set 1 : Capitalization and lint. #

Patch Set 2 : NULL -> nullptr. #

Patch Set 3 : Remove unused transport adapters. #

Patch Set 4 : Add locks. #

Patch Set 5 : Rebase. #

Patch Set 6 : Rebase. #

Total comments: 1

Patch Set 7 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -68 lines) Patch
M webrtc/test/fake_encoder.h View 1 2 3 3 chunks +14 lines, -12 lines 0 comments Download
M webrtc/test/fake_encoder.cc View 1 2 3 14 chunks +84 lines, -37 lines 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 2 3 4 5 7 chunks +11 lines, -14 lines 0 comments Download
M webrtc/video/vie_encoder_unittest.cc View 1 2 3 4 5 4 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
brandtr
Please have a look.
3 years, 11 months ago (2017-01-04 12:38:43 UTC) #6
kjellander_webrtc
rubberstamp lgtm for webrtc/test. I defer the main review to Åsa.
3 years, 11 months ago (2017-01-04 14:01:20 UTC) #7
brandtr
Rebase.
3 years, 11 months ago (2017-01-09 07:58:19 UTC) #8
brandtr
Rebase.
3 years, 11 months ago (2017-01-12 15:06:14 UTC) #9
brandtr
Åsa: description of why I copy the whole frame buffer. https://codereview.webrtc.org/2604403003/diff/160001/webrtc/test/fake_encoder.cc File webrtc/test/fake_encoder.cc (right): https://codereview.webrtc.org/2604403003/diff/160001/webrtc/test/fake_encoder.cc#newcode140 ...
3 years, 11 months ago (2017-01-16 10:16:31 UTC) #10
brandtr
Rebase.
3 years, 11 months ago (2017-01-16 10:26:39 UTC) #11
åsapersson
lgtm
3 years, 11 months ago (2017-01-16 11:31:53 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/2604403003/180001
3 years, 11 months ago (2017-01-16 12:31:02 UTC) #15
commit-bot: I haz the power
3 years, 11 months ago (2017-01-16 13:57:21 UTC) #18
Message was sent while issue was closed.
Committed patchset #7 (id:180001) as
https://chromium.googlesource.com/external/webrtc/+/e78d26669eeedd862150ff799...

Powered by Google App Engine
This is Rietveld 408576698