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

Issue 1878623002: Added new VideoFrameBuffer methods Data[YUV]() etc. (Closed)

Created:
4 years, 8 months ago by nisse-webrtc
Modified:
4 years, 8 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Added new VideoFrameBuffer methods Data[YUV]() etc. Eliminate most uses of the old methods. To continue on this path, once we agree the new methods make sense, the next step is to rename cricket::VideoFrame::GetVideoFrameBuffer --> video_frame_buffer, to match the name in webrtc::VideoFrame (if we think that name is ok?). And then start updating all code to access planes via the VideoFrameBuffer, and delete corresponding methods in both cricket::VideoFrame and webrtc::VideoFrame. BUG=webrtc:5682 Committed: https://crrev.com/06176e49e276d290209676c832f17d34329d9ecd Cr-Commit-Position: refs/heads/master@{#12407}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Delete TODO comment. #

Patch Set 3 : Add NOLINT for the unusual combination virtual final. #

Total comments: 4

Patch Set 4 : Added default implementations, to aid transition. #

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -121 lines) Patch
M webrtc/common_video/i420_buffer_pool.cc View 1 2 3 4 1 chunk +18 lines, -9 lines 0 comments Download
M webrtc/common_video/i420_buffer_pool_unittest.cc View 1 2 3 4 3 chunks +11 lines, -11 lines 0 comments Download
M webrtc/common_video/i420_video_frame_unittest.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/common_video/include/video_frame_buffer.h View 1 2 3 4 4 chunks +49 lines, -13 lines 0 comments Download
M webrtc/common_video/video_frame_buffer.cc View 1 2 3 4 6 chunks +146 lines, -70 lines 0 comments Download
M webrtc/media/engine/webrtcvideoframe.cc View 1 2 3 4 2 chunks +6 lines, -6 lines 0 comments Download
M webrtc/test/fake_texture_frame.h View 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/test/frame_utils.cc View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 38 (14 generated)
nisse-webrtc
I'd consider this cl a draft. What do you think?
4 years, 8 months ago (2016-04-11 15:08:42 UTC) #2
perkj_webrtc
https://codereview.webrtc.org/1878623002/diff/1/webrtc/common_video/i420_buffer_pool.cc File webrtc/common_video/i420_buffer_pool.cc (right): https://codereview.webrtc.org/1878623002/diff/1/webrtc/common_video/i420_buffer_pool.cc#newcode19 webrtc/common_video/i420_buffer_pool.cc:19: // HasOneRef? Possibly after renaming to IsExclusive or IsMutable ...
4 years, 8 months ago (2016-04-12 07:18:40 UTC) #3
magjed_webrtc
https://codereview.webrtc.org/1878623002/diff/1/webrtc/common_video/i420_buffer_pool.cc File webrtc/common_video/i420_buffer_pool.cc (right): https://codereview.webrtc.org/1878623002/diff/1/webrtc/common_video/i420_buffer_pool.cc#newcode18 webrtc/common_video/i420_buffer_pool.cc:18: // TODO(nisse): Why not simply inherit I420Buffer, and override ...
4 years, 8 months ago (2016-04-13 08:30:50 UTC) #4
nisse-webrtc
https://codereview.webrtc.org/1878623002/diff/1/webrtc/common_video/i420_buffer_pool.cc File webrtc/common_video/i420_buffer_pool.cc (right): https://codereview.webrtc.org/1878623002/diff/1/webrtc/common_video/i420_buffer_pool.cc#newcode18 webrtc/common_video/i420_buffer_pool.cc:18: // TODO(nisse): Why not simply inherit I420Buffer, and override ...
4 years, 8 months ago (2016-04-13 08:47:08 UTC) #5
nisse-webrtc
https://codereview.webrtc.org/1878623002/diff/1/webrtc/common_video/i420_buffer_pool.cc File webrtc/common_video/i420_buffer_pool.cc (right): https://codereview.webrtc.org/1878623002/diff/1/webrtc/common_video/i420_buffer_pool.cc#newcode32 webrtc/common_video/i420_buffer_pool.cc:32: const uint8_t* DataY() const override { return buffer_->DataY(); } ...
4 years, 8 months ago (2016-04-13 13:29:56 UTC) #6
perkj_webrtc
lgtm if you just remove the todo and keep it somewhere else until you want ...
4 years, 8 months ago (2016-04-14 06:30:43 UTC) #7
magjed_webrtc
lgtm
4 years, 8 months ago (2016-04-14 07:31:52 UTC) #8
pbos-webrtc
lgtm, feel free to ignore the deprecated part if you're removing them soon https://codereview.webrtc.org/1878623002/diff/40001/webrtc/common_video/include/video_frame_buffer.h File ...
4 years, 8 months ago (2016-04-14 13:06:39 UTC) #9
nisse-webrtc
Thanks for the review. Trying to land this now. https://codereview.webrtc.org/1878623002/diff/40001/webrtc/common_video/include/video_frame_buffer.h File webrtc/common_video/include/video_frame_buffer.h (right): https://codereview.webrtc.org/1878623002/diff/40001/webrtc/common_video/include/video_frame_buffer.h#newcode49 webrtc/common_video/include/video_frame_buffer.h:49: ...
4 years, 8 months ago (2016-04-14 14:08:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878623002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878623002/40001
4 years, 8 months ago (2016-04-14 14:09:35 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_baremetal on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 8 months ago (2016-04-14 16:10:19 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878623002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878623002/40001
4 years, 8 months ago (2016-04-15 07:00:22 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_baremetal on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_baremetal/builds/10479)
4 years, 8 months ago (2016-04-15 07:37:07 UTC) #19
nisse-webrtc
I just realized this can't be landed as is, due to the subclass in WebRtcVideoFrameAdapter ...
4 years, 8 months ago (2016-04-15 09:04:21 UTC) #20
magjed_webrtc
On 2016/04/15 09:04:21, nisse-webrtc wrote: > I just realized this can't be landed as is, ...
4 years, 8 months ago (2016-04-15 11:16:23 UTC) #21
magjed_webrtc
On 2016/04/15 11:16:23, magjed_webrtc wrote: > On 2016/04/15 09:04:21, nisse-webrtc wrote: > > I just ...
4 years, 8 months ago (2016-04-15 11:22:11 UTC) #22
nisse-webrtc
On 2016/04/15 11:22:11, magjed_webrtc wrote: No wait, you need to make proper default implementations to ...
4 years, 8 months ago (2016-04-15 12:21:32 UTC) #23
magjed_webrtc
On 2016/04/15 12:21:32, nisse-webrtc wrote: > On 2016/04/15 11:22:11, magjed_webrtc wrote: > No wait, you ...
4 years, 8 months ago (2016-04-18 09:51:38 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878623002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878623002/60001
4 years, 8 months ago (2016-04-18 11:04:08 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_dbg/builds/6747) ios_arm64_dbg on tryserver.webrtc (JOB_FAILED, ...
4 years, 8 months ago (2016-04-18 11:05:00 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878623002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878623002/80001
4 years, 8 months ago (2016-04-18 11:33:46 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1878623002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1878623002/80001
4 years, 8 months ago (2016-04-18 12:29:01 UTC) #35
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-18 12:34:44 UTC) #36
commit-bot: I haz the power
4 years, 8 months ago (2016-04-18 12:34:50 UTC) #38
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/06176e49e276d290209676c832f17d34329d9ecd
Cr-Commit-Position: refs/heads/master@{#12407}

Powered by Google App Engine
This is Rietveld 408576698