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

Issue 3009973002: Prepare for injectable SW decoders (Closed)

Created:
3 years, 3 months ago by andersc
Modified:
3 years, 3 months ago
Reviewers:
magjed_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Prepare for injectable SW decoders Pretty much mirrors the work done on the encoding side in CLs: "Clean up ownership of webrtc::VideoEncoder" https://codereview.webrtc.org/3007643002/ "Let VideoEncoderSoftwareFallbackWrapper own the wrapped encoder" https://codereview.webrtc.org/3007683002/ "WebRtcVideoEngine: Encapsulate logic for unifying internal and external video codecs" https://codereview.webrtc.org/3006713002/ BUG=webrtc:7925 Review-Url: https://codereview.webrtc.org/3009973002 Cr-Commit-Position: refs/heads/master@{#19641} Committed: https://chromium.googlesource.com/external/webrtc/+/084c55a63a2d9bdc71579458406d44f8bab9f454

Patch Set 1 #

Total comments: 16

Patch Set 2 : Fix feedback. #

Patch Set 3 : Remove wrapping in AllocatedDecoder struct #

Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -125 lines) Patch
M webrtc/media/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A webrtc/media/engine/scopedvideodecoder.h View 1 chunk +37 lines, -0 lines 0 comments Download
A webrtc/media/engine/scopedvideodecoder.cc View 1 chunk +110 lines, -0 lines 0 comments Download
M webrtc/media/engine/videodecodersoftwarefallbackwrapper.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/media/engine/videodecodersoftwarefallbackwrapper_unittest.cc View 6 chunks +31 lines, -27 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine.h View 7 chunks +12 lines, -23 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine.cc View 1 2 15 chunks +88 lines, -70 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
magjed_webrtc
This looks very good! I just have a few nit comments. https://codereview.webrtc.org/3009973002/diff/1/webrtc/media/engine/videodecodersoftwarefallbackwrapper.h File webrtc/media/engine/videodecodersoftwarefallbackwrapper.h (right): ...
3 years, 3 months ago (2017-09-01 11:15:04 UTC) #7
andersc
https://codereview.webrtc.org/3009973002/diff/1/webrtc/media/engine/videodecodersoftwarefallbackwrapper.h File webrtc/media/engine/videodecodersoftwarefallbackwrapper.h (right): https://codereview.webrtc.org/3009973002/diff/1/webrtc/media/engine/videodecodersoftwarefallbackwrapper.h#newcode26 webrtc/media/engine/videodecodersoftwarefallbackwrapper.h:26: VideoDecoderSoftwareFallbackWrapper(const VideoCodecType codec_type, On 2017/09/01 11:15:04, magjed_webrtc wrote: > ...
3 years, 3 months ago (2017-09-01 12:43:45 UTC) #8
magjed_webrtc
https://codereview.webrtc.org/3009973002/diff/1/webrtc/media/engine/webrtcvideoengine.cc File webrtc/media/engine/webrtcvideoengine.cc (right): https://codereview.webrtc.org/3009973002/diff/1/webrtc/media/engine/webrtcvideoengine.cc#newcode83 webrtc/media/engine/webrtcvideoengine.cc:83: bool is_hardware_accelerated; On 2017/09/01 12:43:45, andersc wrote: > On ...
3 years, 3 months ago (2017-09-01 13:04:30 UTC) #9
andersc
Merged that CL into this one https://codereview.webrtc.org/3009973002/diff/1/webrtc/media/engine/webrtcvideoengine.cc File webrtc/media/engine/webrtcvideoengine.cc (right): https://codereview.webrtc.org/3009973002/diff/1/webrtc/media/engine/webrtcvideoengine.cc#newcode83 webrtc/media/engine/webrtcvideoengine.cc:83: bool is_hardware_accelerated; On ...
3 years, 3 months ago (2017-09-01 13:16:09 UTC) #10
magjed_webrtc
lgtm Looks great!
3 years, 3 months ago (2017-09-01 14:05:00 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/3009973002/40001
3 years, 3 months ago (2017-09-01 14:05:05 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_memcheck on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_memcheck/builds/11172)
3 years, 3 months ago (2017-09-01 15:38:29 UTC) #15
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/3009973002/40001
3 years, 3 months ago (2017-09-01 16:42:59 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/external/webrtc/+/084c55a63a2d9bdc71579458406d44f8bab9f454
3 years, 3 months ago (2017-09-01 17:38:22 UTC) #20
perkj_webrtc
3 years, 3 months ago (2017-09-04 07:45:08 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.webrtc.org/3010953002/ by perkj@webrtc.org.

The reason for reverting is: Tentative revert since it seems to cause problems
in Chrome, MAC.

https://build.chromium.org/p/chromium.webrtc.fyi/builders/Mac%20Tester/builds...

.

Powered by Google App Engine
This is Rietveld 408576698