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

Issue 1679323002: Cleanup of webrtc::VideoFrame. (Closed)

Created:
4 years, 10 months ago by nisse-webrtc
Modified:
4 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, 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, andresp, pbos-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Cleanup of webrtc::VideoFrame. Delete EqualsFrame method, used only by tests. Delete one of the CreateFrame methods. Drop return value for CreateEmptyFrame, CreateFrame and CopyFrame. BUG=webrtc:5426 Committed: https://crrev.com/208019637bfed975f8f13b16d40b90e200763cd6 Cr-Commit-Position: refs/heads/master@{#11783} R=mflodman@webrtc.org, pbos@webrtc.org, perkj@webrtc.org, pthatcher@webrtc.org Committed: https://crrev.com/739fcb989dc292bc62c8296a8bbdaa9bf53d7602 Cr-Commit-Position: refs/heads/master@{#11811}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Move test code to webrtc/test/frame_utils.cc. Rename target fake_video_frames -> video_test_common. #

Patch Set 3 : Drop return value from FakeWebRtcVideoCaptureModule::SendFrame. #

Total comments: 4

Patch Set 4 : Fix inclusion guard. #

Patch Set 5 : Changed ASSERT_EQ to ASSERT_TRUE. #

Patch Set 6 : Rebase. #

Patch Set 7 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -217 lines) Patch
M webrtc/common_video/common_video_unittests.gyp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webrtc/common_video/i420_video_frame_unittest.cc View 1 9 chunks +27 lines, -28 lines 0 comments Download
M webrtc/common_video/include/incoming_video_stream.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/common_video/incoming_video_stream.cc View 1 1 chunk +5 lines, -5 lines 0 comments Download
M webrtc/common_video/libyuv/libyuv_unittest.cc View 1 2 3 4 5 5 chunks +22 lines, -20 lines 0 comments Download
M webrtc/common_video/libyuv/scaler_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/common_video/video_frame.cc View 6 chunks +24 lines, -72 lines 0 comments Download
M webrtc/media/engine/fakewebrtcvideocapturemodule.h View 1 2 3 4 5 1 chunk +3 lines, -6 lines 0 comments Download
M webrtc/media/engine/webrtcvideocapturer_unittest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/modules.gyp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_capture/video_capture_impl.cc View 1 2 3 4 5 1 chunk +4 lines, -10 lines 0 comments Download
M webrtc/modules/video_processing/test/denoiser_test.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/modules/video_processing/test/video_processing_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/video_processing/video_denoiser.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_render/video_render_impl.cc View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/modules/video_render/video_render_internal_impl.cc View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/test/frame_generator.cc View 1 chunk +2 lines, -1 line 0 comments Download
A + webrtc/test/frame_utils.h View 1 2 3 1 chunk +11 lines, -17 lines 0 comments Download
A webrtc/test/frame_utils.cc View 1 1 chunk +51 lines, -0 lines 0 comments Download
M webrtc/test/test.gyp View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/test/webrtc_test_common.gyp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/video/video_capture_input_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video_frame.h View 2 chunks +16 lines, -35 lines 0 comments Download

Messages

Total messages: 49 (18 generated)
nisse-webrtc
This is a warmup, before getting to cricket::VideoFrame cruft.
4 years, 10 months ago (2016-02-09 15:14:21 UTC) #2
pbos-webrtc
https://codereview.webrtc.org/1679323002/diff/1/webrtc/common_video/incoming_video_stream.cc File webrtc/common_video/incoming_video_stream.cc (right): https://codereview.webrtc.org/1679323002/diff/1/webrtc/common_video/incoming_video_stream.cc#newcode93 webrtc/common_video/incoming_video_stream.cc:93: int32_t IncomingVideoStream::SetStartImage(const VideoFrame& video_frame) { Can we make this ...
4 years, 10 months ago (2016-02-09 15:18:14 UTC) #3
pbos-webrtc
4 years, 10 months ago (2016-02-09 15:18:15 UTC) #4
nisse-webrtc
https://codereview.webrtc.org/1679323002/diff/1/webrtc/common_video/incoming_video_stream.cc File webrtc/common_video/incoming_video_stream.cc (right): https://codereview.webrtc.org/1679323002/diff/1/webrtc/common_video/incoming_video_stream.cc#newcode93 webrtc/common_video/incoming_video_stream.cc:93: int32_t IncomingVideoStream::SetStartImage(const VideoFrame& video_frame) { On 2016/02/09 15:18:14, pbos-webrtc ...
4 years, 10 months ago (2016-02-09 15:31:34 UTC) #5
pbos-webrtc
https://codereview.webrtc.org/1679323002/diff/1/webrtc/common_video/incoming_video_stream.cc File webrtc/common_video/incoming_video_stream.cc (right): https://codereview.webrtc.org/1679323002/diff/1/webrtc/common_video/incoming_video_stream.cc#newcode93 webrtc/common_video/incoming_video_stream.cc:93: int32_t IncomingVideoStream::SetStartImage(const VideoFrame& video_frame) { On 2016/02/09 15:31:33, nisse-webrtc ...
4 years, 10 months ago (2016-02-09 15:36:10 UTC) #6
pthatcher1
lgtm, assuming you address pbos's comments.
4 years, 10 months ago (2016-02-09 18:12:53 UTC) #7
nisse-webrtc
It seems I'm a little unstructured. Patchset 2 not only moves the testcode, it addresses ...
4 years, 10 months ago (2016-02-10 09:32:25 UTC) #8
nisse-webrtc
I think patchset 3 addresses all comments. https://codereview.webrtc.org/1679323002/diff/1/webrtc/media/webrtc/fakewebrtcvideocapturemodule.h File webrtc/media/webrtc/fakewebrtcvideocapturemodule.h (right): https://codereview.webrtc.org/1679323002/diff/1/webrtc/media/webrtc/fakewebrtcvideocapturemodule.h#newcode93 webrtc/media/webrtc/fakewebrtcvideocapturemodule.h:93: bool SendFrame(int ...
4 years, 10 months ago (2016-02-10 09:37:27 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1679323002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1679323002/40001
4 years, 10 months ago (2016-02-10 09:38:15 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/3336)
4 years, 10 months ago (2016-02-10 10:05:28 UTC) #13
pbos-webrtc
lgtm https://codereview.webrtc.org/1679323002/diff/40001/webrtc/modules/video_processing/test/denoiser_test.cc File webrtc/modules/video_processing/test/denoiser_test.cc (right): https://codereview.webrtc.org/1679323002/diff/40001/webrtc/modules/video_processing/test/denoiser_test.cc#newcode152 webrtc/modules/video_processing/test/denoiser_test.cc:152: ASSERT_EQ( ASSERT_TRUE https://codereview.webrtc.org/1679323002/diff/40001/webrtc/test/frame_utils.h File webrtc/test/frame_utils.h (right): https://codereview.webrtc.org/1679323002/diff/40001/webrtc/test/frame_utils.h#newcode10 webrtc/test/frame_utils.h:10: ...
4 years, 10 months ago (2016-02-10 13:49:24 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1679323002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1679323002/80001
4 years, 10 months ago (2016-02-10 13:54:11 UTC) #17
nisse-webrtc
https://codereview.webrtc.org/1679323002/diff/40001/webrtc/modules/video_processing/test/denoiser_test.cc File webrtc/modules/video_processing/test/denoiser_test.cc (right): https://codereview.webrtc.org/1679323002/diff/40001/webrtc/modules/video_processing/test/denoiser_test.cc#newcode152 webrtc/modules/video_processing/test/denoiser_test.cc:152: ASSERT_EQ( On 2016/02/10 13:49:24, pbos-webrtc wrote: > ASSERT_TRUE Done. ...
4 years, 10 months ago (2016-02-10 13:55:18 UTC) #18
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/3343)
4 years, 10 months ago (2016-02-10 14:08:17 UTC) #20
nisse-webrtc
Hi, please take a look. I lack owner's approval for these changes.
4 years, 10 months ago (2016-02-10 14:30:27 UTC) #22
perkj_webrtc
On 2016/02/10 14:30:27, nisse-webrtc wrote: > Hi, please take a look. I lack owner's approval ...
4 years, 10 months ago (2016-02-11 08:52:26 UTC) #23
mflodman
On 2016/02/11 08:52:26, perkj_webrtc wrote: > On 2016/02/10 14:30:27, nisse-webrtc wrote: > > Hi, please ...
4 years, 10 months ago (2016-02-24 10:02:33 UTC) #24
pbos-webrtc
I think webrtc/video_frame.h is the important one.
4 years, 10 months ago (2016-02-24 10:10:13 UTC) #25
mflodman
video_frame LGTM
4 years, 9 months ago (2016-02-26 07:52:16 UTC) #26
nisse-webrtc
@marpan: Can you please have a look at the (small) changes under webrtc/modules/video_processing? This cl ...
4 years, 9 months ago (2016-02-26 10:00:36 UTC) #28
mflodman
root OWNER LGTM for video_processing, since it's a trivial change. Marco, Feel free to comment ...
4 years, 9 months ago (2016-02-26 10:03:51 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1679323002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1679323002/80001
4 years, 9 months ago (2016-02-26 10:10:23 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_rel/builds/11593) mac_compile_dbg on tryserver.webrtc (JOB_FAILED, ...
4 years, 9 months ago (2016-02-26 10:12:04 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1679323002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1679323002/100001
4 years, 9 months ago (2016-02-26 10:40:35 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) win_baremetal on ...
4 years, 9 months ago (2016-02-26 12:41:07 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1679323002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1679323002/100001
4 years, 9 months ago (2016-02-26 14:39:03 UTC) #40
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-02-26 14:40:45 UTC) #41
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/208019637bfed975f8f13b16d40b90e200763cd6 Cr-Commit-Position: refs/heads/master@{#11783}
4 years, 9 months ago (2016-02-26 14:40:55 UTC) #43
kjellander_webrtc
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.webrtc.org/1743613002/ by kjellander@webrtc.org. ...
4 years, 9 months ago (2016-02-26 15:38:32 UTC) #44
nisse-webrtc
Committed patchset #7 (id:120001) manually as 739fcb989dc292bc62c8296a8bbdaa9bf53d7602 (presubmit successful).
4 years, 9 months ago (2016-02-29 12:12:03 UTC) #48
commit-bot: I haz the power
4 years, 9 months ago (2016-02-29 12:12:04 UTC) #49
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/739fcb989dc292bc62c8296a8bbdaa9bf53d7602
Cr-Commit-Position: refs/heads/master@{#11811}

Powered by Google App Engine
This is Rietveld 408576698