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

Issue 2906053002: Update I420Buffer to new VideoFrameBuffer interface (Closed)

Created:
3 years, 7 months ago by magjed_webrtc
Modified:
3 years, 6 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, kwiberg-webrtc, the sun, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Update I420Buffer to new VideoFrameBuffer interface This is a follow-up cleanup for CL https://codereview.webrtc.org/2847383002/. BUG=webrtc:7632 TBR=stefan Review-Url: https://codereview.webrtc.org/2906053002 Cr-Commit-Position: refs/heads/master@{#18388} Committed: https://chromium.googlesource.com/external/webrtc/+/3f075498a3a3d7426deded720e21a6f77d1cabef

Patch Set 1 #

Total comments: 13

Patch Set 2 : Rebase #

Total comments: 4

Patch Set 3 : Make const versions of Get functions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -122 lines) Patch
M webrtc/api/video/i420_buffer.h View 1 2 4 chunks +14 lines, -5 lines 0 comments Download
M webrtc/api/video/i420_buffer.cc View 1 5 chunks +10 lines, -11 lines 0 comments Download
M webrtc/api/video/video_frame.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/video/video_frame_buffer.h View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M webrtc/api/video/video_frame_buffer.cc View 1 2 4 chunks +22 lines, -9 lines 0 comments Download
M webrtc/common_video/i420_buffer_pool_unittest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/common_video/i420_video_frame_unittest.cc View 1 5 chunks +16 lines, -13 lines 0 comments Download
M webrtc/common_video/libyuv/include/webrtc_libyuv.h View 1 3 chunks +7 lines, -7 lines 0 comments Download
M webrtc/common_video/libyuv/libyuv_unittest.cc View 1 11 chunks +20 lines, -13 lines 0 comments Download
M webrtc/common_video/libyuv/webrtc_libyuv.cc View 1 7 chunks +22 lines, -24 lines 0 comments Download
M webrtc/examples/peerconnection/client/linux/main_wnd.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/examples/peerconnection/client/main_wnd.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/media/base/adaptedvideotracksource.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M webrtc/media/base/videocapturer.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor.cc View 1 3 chunks +4 lines, -15 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/sdk/objc/Framework/Classes/Video/avfoundationvideocapturer.mm View 1 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/Video/objcvideotracksource.mm View 1 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/test/testsupport/metrics/video_metrics.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/test/video_capturer.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 45 (29 generated)
magjed_webrtc
nisse - please take a look. There are more places to fix with the new ...
3 years, 7 months ago (2017-05-26 14:05:54 UTC) #17
nisse-webrtc
Looks pretty good. I have a couple of questions. https://codereview.webrtc.org/2906053002/diff/40001/webrtc/api/video/i420_buffer.cc File webrtc/api/video/i420_buffer.cc (right): https://codereview.webrtc.org/2906053002/diff/40001/webrtc/api/video/i420_buffer.cc#newcode108 webrtc/api/video/i420_buffer.cc:108: ...
3 years, 6 months ago (2017-05-29 08:22:23 UTC) #18
magjed_webrtc
https://codereview.webrtc.org/2906053002/diff/40001/webrtc/api/video/i420_buffer.cc File webrtc/api/video/i420_buffer.cc (right): https://codereview.webrtc.org/2906053002/diff/40001/webrtc/api/video/i420_buffer.cc#newcode108 webrtc/api/video/i420_buffer.cc:108: RTC_CHECK(src.type() == Type::kI420); On 2017/05/29 08:22:22, nisse-webrtc wrote: > ...
3 years, 6 months ago (2017-05-29 12:12:06 UTC) #19
nisse-webrtc
https://codereview.webrtc.org/2906053002/diff/40001/webrtc/api/video/i420_buffer.cc File webrtc/api/video/i420_buffer.cc (right): https://codereview.webrtc.org/2906053002/diff/40001/webrtc/api/video/i420_buffer.cc#newcode108 webrtc/api/video/i420_buffer.cc:108: RTC_CHECK(src.type() == Type::kI420); On 2017/05/29 12:12:06, magjed_webrtc wrote: > ...
3 years, 6 months ago (2017-05-29 12:37:18 UTC) #20
magjed_webrtc
https://codereview.webrtc.org/2906053002/diff/40001/webrtc/api/video/i420_buffer.cc File webrtc/api/video/i420_buffer.cc (right): https://codereview.webrtc.org/2906053002/diff/40001/webrtc/api/video/i420_buffer.cc#newcode108 webrtc/api/video/i420_buffer.cc:108: RTC_CHECK(src.type() == Type::kI420); On 2017/05/29 12:37:17, nisse-webrtc wrote: > ...
3 years, 6 months ago (2017-05-29 13:57:02 UTC) #21
nisse-webrtc
https://codereview.webrtc.org/2906053002/diff/40001/webrtc/api/video/i420_buffer.cc File webrtc/api/video/i420_buffer.cc (right): https://codereview.webrtc.org/2906053002/diff/40001/webrtc/api/video/i420_buffer.cc#newcode108 webrtc/api/video/i420_buffer.cc:108: RTC_CHECK(src.type() == Type::kI420); On 2017/05/29 13:57:02, magjed_webrtc wrote: > ...
3 years, 6 months ago (2017-05-29 14:35:55 UTC) #22
magjed_webrtc
nisse - I have rebased against the other CL, please take another look
3 years, 6 months ago (2017-05-30 11:04:46 UTC) #27
nisse-webrtc
Still looks pretty good. Consider making the Get* accessors use const. (Could be a separate ...
3 years, 6 months ago (2017-05-30 12:35:40 UTC) #28
magjed_webrtc
https://codereview.webrtc.org/2906053002/diff/60001/webrtc/api/video/i420_buffer.h File webrtc/api/video/i420_buffer.h (right): https://codereview.webrtc.org/2906053002/diff/60001/webrtc/api/video/i420_buffer.h#newcode36 webrtc/api/video/i420_buffer.h:36: return Copy(*const_cast<VideoFrameBuffer&>(buffer).GetI420()); On 2017/05/30 12:35:40, nisse-webrtc wrote: > Any ...
3 years, 6 months ago (2017-05-30 13:18:09 UTC) #29
nisse-webrtc
https://codereview.webrtc.org/2906053002/diff/60001/webrtc/api/video/i420_buffer.h File webrtc/api/video/i420_buffer.h (right): https://codereview.webrtc.org/2906053002/diff/60001/webrtc/api/video/i420_buffer.h#newcode36 webrtc/api/video/i420_buffer.h:36: return Copy(*const_cast<VideoFrameBuffer&>(buffer).GetI420()); On 2017/05/30 13:18:08, magjed_webrtc wrote: > Yes, ...
3 years, 6 months ago (2017-05-30 13:28:22 UTC) #30
magjed_webrtc
https://codereview.webrtc.org/2906053002/diff/60001/webrtc/api/video/i420_buffer.h File webrtc/api/video/i420_buffer.h (right): https://codereview.webrtc.org/2906053002/diff/60001/webrtc/api/video/i420_buffer.h#newcode36 webrtc/api/video/i420_buffer.h:36: return Copy(*const_cast<VideoFrameBuffer&>(buffer).GetI420()); On 2017/05/30 13:28:21, nisse-webrtc wrote: > On ...
3 years, 6 months ago (2017-05-30 14:25:21 UTC) #33
nisse-webrtc
lgtm, great!
3 years, 6 months ago (2017-05-30 14:59:31 UTC) #36
magjed_webrtc
stefan - please review webrtc/api/video/
3 years, 6 months ago (2017-05-31 08:38:01 UTC) #38
magjed_webrtc
Stefan - I'm TBR:ing you for the changes in webrtc/api/video/, they are quite simple. Review ...
3 years, 6 months ago (2017-06-01 16:26:59 UTC) #40
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/2906053002/80001
3 years, 6 months ago (2017-06-01 16:27:39 UTC) #42
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 17:02:32 UTC) #45
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/external/webrtc/+/3f075498a3a3d7426deded720...

Powered by Google App Engine
This is Rietveld 408576698