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

Issue 1900673002: Delete webrtc::VideoFrame methods buffer and stride. (Closed)

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

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 Committed: https://crrev.com/a0591b54730c097b2a1236b3343d258e397ed018 Cr-Commit-Position: refs/heads/master@{#12557}

Patch Set 1 #

Patch Set 2 : Update H.264 code. #

Patch Set 3 : Update android video_render. #

Patch Set 4 : Update android media encoder. #

Patch Set 5 : Update ios video_render. #

Total comments: 11

Patch Set 6 : Update H.264 video_toolbox encoder. #

Total comments: 8

Patch Set 7 : Addressed most comments. #

Patch Set 8 : Change CreateImage to use a VideoFrameBuffer input. #

Patch Set 9 : Fix typo in initialization. #

Patch Set 10 : Rebase. #

Patch Set 11 : Fix VideoCaptureExternalTest.TestExternalCapture. #

Patch Set 12 : Rebase. #

Patch Set 13 : Rebase. #

Patch Set 14 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+416 lines, -400 lines) Patch
M webrtc/api/java/jni/androidmediaencoder_jni.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -3 lines 0 comments Download
M webrtc/common_video/i420_video_frame_unittest.cc View 1 2 3 4 5 6 7 8 9 5 chunks +33 lines, -30 lines 0 comments Download
M webrtc/common_video/libyuv/libyuv_unittest.cc View 1 chunk +0 lines, -55 lines 0 comments Download
M webrtc/common_video/libyuv/scaler.cc View 2 chunks +30 lines, -25 lines 0 comments Download
M webrtc/common_video/libyuv/webrtc_libyuv.cc View 1 2 3 4 5 6 7 chunks +105 lines, -81 lines 0 comments Download
M webrtc/common_video/video_frame.cc View 1 2 3 4 5 6 7 8 9 4 chunks +27 lines, -20 lines 0 comments Download
M webrtc/media/base/videoframe.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +21 lines, -20 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/modules/video_capture/test/video_capture_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +9 lines, -32 lines 0 comments Download
M webrtc/modules/video_capture/video_capture.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc View 1 4 chunks +27 lines, -16 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -6 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +8 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +15 lines, -8 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h View 1 2 3 4 5 6 7 8 12 chunks +47 lines, -33 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +15 lines, -9 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -6 lines 0 comments Download
M webrtc/modules/video_processing/content_analysis.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_processing/test/video_processing_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +7 lines, -3 lines 0 comments Download
M webrtc/modules/video_processing/video_denoiser.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +16 lines, -13 lines 0 comments Download
M webrtc/test/frame_generator.cc View 2 chunks +15 lines, -12 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 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -4 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 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -9 lines 0 comments Download

Messages

Total messages: 56 (23 generated)
nisse-webrtc
4 years, 8 months ago (2016-04-18 15:39:28 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900673002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900673002/1
4 years, 8 months ago (2016-04-19 07:17:44 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios64_sim_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_dbg/builds/6776) ios_rel on ...
4 years, 8 months ago (2016-04-19 07:19:36 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900673002/70032 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900673002/70032
4 years, 8 months ago (2016-04-19 10:17:42 UTC) #8
nisse-webrtc
Now seems to compile on all platforms. Some of the affected code should perhaps use ...
4 years, 8 months ago (2016-04-19 10:53:39 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_msan on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_msan/builds/9404)
4 years, 8 months ago (2016-04-19 11:00:43 UTC) #11
pbos-webrtc
lgtm https://codereview.webrtc.org/1900673002/diff/70032/webrtc/common_video/libyuv/webrtc_libyuv.cc File webrtc/common_video/libyuv/webrtc_libyuv.cc (right): https://codereview.webrtc.org/1900673002/diff/70032/webrtc/common_video/libyuv/webrtc_libyuv.cc#newcode146 webrtc/common_video/libyuv/webrtc_libyuv.cc:146: // unused. Delete and let that code call ...
4 years, 8 months ago (2016-04-19 11:28:15 UTC) #12
pbos-webrtc
https://codereview.webrtc.org/1900673002/diff/70032/webrtc/video_frame.h File webrtc/video_frame.h (right): https://codereview.webrtc.org/1900673002/diff/70032/webrtc/video_frame.h#newcode122 webrtc/video_frame.h:122: // Creating a new reference breaks the (admittedly brittle) ...
4 years, 8 months ago (2016-04-19 11:28:47 UTC) #13
magjed_webrtc
lgtm https://codereview.webrtc.org/1900673002/diff/70032/webrtc/common_video/libyuv/webrtc_libyuv.cc File webrtc/common_video/libyuv/webrtc_libyuv.cc (right): https://codereview.webrtc.org/1900673002/diff/70032/webrtc/common_video/libyuv/webrtc_libyuv.cc#newcode129 webrtc/common_video/libyuv/webrtc_libyuv.cc:129: frame.video_frame_buffer()->StrideY(), file) < 0) nit: I'm not sure ...
4 years, 8 months ago (2016-04-19 11:40:35 UTC) #14
perkj_webrtc
https://codereview.webrtc.org/1900673002/diff/80001/webrtc/common_video/libyuv/webrtc_libyuv.cc File webrtc/common_video/libyuv/webrtc_libyuv.cc (right): https://codereview.webrtc.org/1900673002/diff/80001/webrtc/common_video/libyuv/webrtc_libyuv.cc#newcode117 webrtc/common_video/libyuv/webrtc_libyuv.cc:117: // TODO(nisse): Belongs with the test code? where is ...
4 years, 8 months ago (2016-04-19 12:28:13 UTC) #15
pbos-webrtc
The msan errors look legit though, please look through those.
4 years, 8 months ago (2016-04-19 13:18:34 UTC) #16
nisse-webrtc
I haven't yet looked into the msan failures. https://codereview.webrtc.org/1900673002/diff/80001/webrtc/common_video/libyuv/webrtc_libyuv.cc File webrtc/common_video/libyuv/webrtc_libyuv.cc (right): https://codereview.webrtc.org/1900673002/diff/80001/webrtc/common_video/libyuv/webrtc_libyuv.cc#newcode117 webrtc/common_video/libyuv/webrtc_libyuv.cc:117: // ...
4 years, 8 months ago (2016-04-19 13:55:39 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900673002/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900673002/170001
4 years, 8 months ago (2016-04-20 12:23:57 UTC) #19
nisse-webrtc
Hittade msan problemet. Ett en-teckens-fel. https://codereview.webrtc.org/1900673002/diff/80001/webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h File webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h (right): https://codereview.webrtc.org/1900673002/diff/80001/webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h#newcode239 webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h:239: static void CreateImage(VideoFrame* frame, ...
4 years, 8 months ago (2016-04-20 12:24:35 UTC) #20
nisse-webrtc
On 2016/04/20 12:24:35, nisse-webrtc wrote: > Hittade msan problemet. Ett en-teckens-fel. Translation: "Found the msan ...
4 years, 8 months ago (2016-04-20 12:35:37 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_baremetal on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_baremetal/builds/10552)
4 years, 8 months ago (2016-04-20 12:57:15 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900673002/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900673002/190001
4 years, 8 months ago (2016-04-25 09:50:54 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_x64_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_x64_dbg/builds/3451) ios32_sim_dbg on ...
4 years, 8 months ago (2016-04-25 09:52:05 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900673002/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900673002/210001
4 years, 8 months ago (2016-04-25 10:00:13 UTC) #29
perkj_webrtc
lgtm
4 years, 8 months ago (2016-04-25 11:41:25 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-25 11:44:45 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900673002/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900673002/210001
4 years, 8 months ago (2016-04-25 11:58:13 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/5058)
4 years, 8 months ago (2016-04-25 12:12:46 UTC) #37
nisse-webrtc
Stefan, I need your approval for the changes to the video_processing module.
4 years, 8 months ago (2016-04-25 12:17:24 UTC) #39
stefan-webrtc
lgtm
4 years, 8 months ago (2016-04-26 11:28:15 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900673002/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900673002/230001
4 years, 7 months ago (2016-04-27 10:39:55 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: android_gn_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_gn_rel/builds/10671) ios64_sim_dbg on tryserver.webrtc (JOB_FAILED, ...
4 years, 7 months ago (2016-04-27 10:41:11 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900673002/250001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900673002/250001
4 years, 7 months ago (2016-04-27 12:37:32 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 7 months ago (2016-04-27 14:38:07 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1900673002/250001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1900673002/250001
4 years, 7 months ago (2016-04-29 08:10:40 UTC) #52
commit-bot: I haz the power
Committed patchset #14 (id:250001)
4 years, 7 months ago (2016-04-29 09:09:43 UTC) #53
nisse-webrtc
A revert of this CL (patchset #14 id:250001) has been created in https://codereview.webrtc.org/1935443002/ by nisse@webrtc.org. ...
4 years, 7 months ago (2016-04-29 09:38:57 UTC) #54
commit-bot: I haz the power
4 years, 7 months ago (2016-05-01 22:01:44 UTC) #56
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/a0591b54730c097b2a1236b3343d258e397ed018
Cr-Commit-Position: refs/heads/master@{#12557}

Powered by Google App Engine
This is Rietveld 408576698