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

Issue 1983583002: Revert of Delete webrtc::VideoFrame methods buffer and stride. (Closed)

Created:
4 years, 7 months ago by tommi
Modified:
4 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, sdk-team_agora.io, peah-webrtc, the sun, pbos-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Revert of Delete webrtc::VideoFrame methods buffer and stride. (patchset #2 id:290001 of https://codereview.webrtc.org/1963413004/ ) Reason for revert: Speculative revert to see if failures on the DrMemory bot are related to this cl. See e.g. here: https://build.chromium.org/p/client.webrtc/builders/Win%20DrMemory%20Full/builds/4243 UNINITIALIZED READ: reading 0x04980040-0x04980060 32 byte(s) within 0x04980040-0x04980060 # 0 CopyRow_AVX # 1 CopyPlane # 2 I420Copy # 3 webrtc::ExtractBuffer # 4 cricket::WebRtcVideoCapturer::SignalFrameCapturedOnStartThread # 5 cricket::WebRtcVideoCapturer::OnIncomingCapturedFrame # 6 FakeWebRtcVideoCaptureModule::SendFrame # 7 WebRtcVideoCapturerTest_TestCaptureVcm_Test::TestBody # 8 testing::internal::HandleSehExceptionsInMethodIfSupported<> Original issue's description: > Reland of Delete webrtc::VideoFrame methods buffer and stride. (patchset #1 id:1 of https://codereview.webrtc.org/1935443002/ ) > > Reason for revert: > I plan to reland this change in a week or two, after downstream users are updated. > > Original issue's description: > > Revert of Delete webrtc::VideoFrame methods buffer and stride. (patchset #14 id:250001 of https://codereview.webrtc.org/1900673002/ ) > > > > Reason for revert: > > Breaks chrome FYI bots. > > > > Original issue's description: > > > Delete webrtc::VideoFrame methods buffer and stride. > > > > > > To make the HasOneRef/IsMutable hack work, also had to change the > > > video_frame_buffer method to return a const ref to a scoped_ref_ptr, > > > to not imply an AddRef. > > > > > > BUG=webrtc:5682 > > > > TBR=perkj@webrtc.org,magjed@webrtc.org,pbos@webrtc.org,pthatcher@webrtc.org,stefan@webrtc.org > > # Skipping CQ checks because original CL landed less than 1 days ago. > > NOPRESUBMIT=true > > NOTREECHECKS=true > > NOTRY=true > > BUG=webrtc:5682 > > > > Committed: https://crrev.com/5b3c443d301f2c2f18dac5b02652c08b91ea3828 > > Cr-Commit-Position: refs/heads/master@{#12558} > > TBR=perkj@webrtc.org,magjed@webrtc.org,pbos@webrtc.org,pthatcher@webrtc.org,stefan@webrtc.org > # Not skipping CQ checks because original CL landed more than 1 days ago. > BUG=webrtc:5682 > > Committed: https://crrev.com/d0dc66e0ea30c8614001e425a4ae0aa7dd56c2a7 > Cr-Commit-Position: refs/heads/master@{#12721} TBR=perkj@webrtc.org,magjed@webrtc.org,pbos@webrtc.org,pthatcher@webrtc.org,stefan@webrtc.org,nisse@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=webrtc:5682 Committed: https://crrev.com/d49c30cd2fe442f2b5b4ecec8d5cbaa430464725 Cr-Commit-Position: refs/heads/master@{#12745}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+401 lines, -414 lines) Patch
M webrtc/api/java/jni/androidmediaencoder_jni.cc View 1 chunk +3 lines, -6 lines 0 comments Download
M webrtc/common_video/i420_video_frame_unittest.cc View 5 chunks +30 lines, -33 lines 0 comments Download
M webrtc/common_video/libyuv/libyuv_unittest.cc View 1 chunk +55 lines, -0 lines 0 comments Download
M webrtc/common_video/libyuv/scaler.cc View 2 chunks +24 lines, -29 lines 0 comments Download
M webrtc/common_video/libyuv/webrtc_libyuv.cc View 7 chunks +82 lines, -106 lines 0 comments Download
M webrtc/common_video/video_frame.cc View 4 chunks +20 lines, -27 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 2 chunks +20 lines, -21 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/modules/video_capture/test/video_capture_unittest.cc View 6 chunks +32 lines, -9 lines 0 comments Download
M webrtc/modules/video_capture/video_capture.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc View 4 chunks +16 lines, -27 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc View 1 chunk +6 lines, -6 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.cc View 1 chunk +4 lines, -8 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc View 1 chunk +8 lines, -15 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h View 12 chunks +34 lines, -48 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc View 2 chunks +10 lines, -16 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc View 1 chunk +6 lines, -9 lines 0 comments Download
M webrtc/modules/video_processing/test/video_processing_unittest.cc View 1 chunk +3 lines, -6 lines 0 comments Download
M webrtc/modules/video_processing/video_denoiser.cc View 2 chunks +13 lines, -16 lines 0 comments Download
M webrtc/test/frame_generator.cc View 2 chunks +12 lines, -15 lines 0 comments Download
M webrtc/test/frame_generator_unittest.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/video/video_capture_input_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/video/video_encoder_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/video_frame.h View 2 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
tommi
Created Revert of Delete webrtc::VideoFrame methods buffer and stride.
4 years, 7 months ago (2016-05-14 10:17:49 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1983583002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1983583002/1
4 years, 7 months ago (2016-05-14 10:17:55 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-14 10:18:09 UTC) #4
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/d49c30cd2fe442f2b5b4ecec8d5cbaa430464725 Cr-Commit-Position: refs/heads/master@{#12745}
4 years, 7 months ago (2016-05-14 10:18:22 UTC) #6
tommi
On 2016/05/14 10:18:22, commit-bot: I haz the power wrote: > Patchset 1 (id:??) landed as ...
4 years, 7 months ago (2016-05-14 12:49:04 UTC) #7
nisse-webrtc
On 2016/05/14 12:49:04, tommi-webrtc wrote: > On 2016/05/14 10:18:22, commit-bot: I haz the power wrote: ...
4 years, 7 months ago (2016-05-16 11:19:39 UTC) #8
nisse-webrtc
I've digged a bit further (thanks pbos), see https://bugs.chromium.org/p/libyuv/issues/detail?id=377 https://webrtc-codereview.appspot.com/25919004/ https://webrtc-codereview.appspot.com/41029004/ My understanding is that ...
4 years, 7 months ago (2016-05-16 12:43:23 UTC) #9
tommi
On 2016/05/16 12:43:23, nisse-webrtc wrote: > I've digged a bit further (thanks pbos), see > ...
4 years, 7 months ago (2016-05-16 12:56:35 UTC) #10
nisse-webrtc
4 years, 7 months ago (2016-05-16 13:41:52 UTC) #11
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.webrtc.org/1979193003/ by nisse@webrtc.org.

The reason for reverting is: Should work after cl
https://codereview.webrtc.org/1985693002/ is landed, which initializes the
frames used by FakeWebRtcVideoCaptureModule. So intend to reland after that,
with no changes..

Powered by Google App Engine
This is Rietveld 408576698