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

Issue 2278883002: Move MutableDataY{,U,V} methods to I420Buffer only. (Closed)

Created:
4 years, 3 months ago by nisse-webrtc
Modified:
4 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, sdk-team_agora.io, the sun, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Move MutableDataY{,U,V} methods to I420Buffer only. Deleted from the VideoFrameBuffer base class. BUG=webrtc:5921 Committed: https://crrev.com/5539ef6c03c273f39fadae41ace47fdc11ac6d60 Cr-Commit-Position: refs/heads/master@{#14317}

Patch Set 1 #

Patch Set 2 : Update android capture and decoder code. #

Total comments: 8

Patch Set 3 : Update mac CodeVideoFrameBuffer. #

Patch Set 4 : Update h264 decoder. #

Patch Set 5 : Fix tests. Make PrintVideoFrame accept a VideoFrameBuffer. #

Patch Set 6 : Use pointer to scoped_refptr for output argument. #

Patch Set 7 : Update AVFoundationVideoCapturer. #

Patch Set 8 : Add int casts for windows build. Formatting tweaks. #

Patch Set 9 : Avoid using pointer/ref to scoped_refptr. #

Patch Set 10 : Rebase. #

Total comments: 6

Patch Set 11 : Rebase. #

Patch Set 12 : Rebase. #

Patch Set 13 : Rebase. Update comments on ConvertToI420. #

Patch Set 14 : Delete unused variable. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+502 lines, -530 lines) Patch
M webrtc/common_video/corevideo_frame_buffer.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/common_video/i420_buffer_pool_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/common_video/i420_video_frame_unittest.cc View 1 chunk +8 lines, -10 lines 0 comments Download
M webrtc/common_video/include/video_frame_buffer.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -9 lines 0 comments Download
M webrtc/common_video/libyuv/include/webrtc_libyuv.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +7 lines, -4 lines 0 comments Download
M webrtc/common_video/libyuv/libyuv_unittest.cc View 1 2 3 4 5 6 7 8 5 chunks +57 lines, -53 lines 0 comments Download
M webrtc/common_video/libyuv/webrtc_libyuv.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +22 lines, -24 lines 0 comments Download
M webrtc/common_video/video_frame.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +12 lines, -4 lines 0 comments Download
M webrtc/common_video/video_frame_buffer.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -13 lines 0 comments Download
M webrtc/media/base/videoframe_unittest.h View 1 2 3 4 5 6 7 8 9 10 11 chunks +35 lines, -31 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -14 lines 0 comments Download
M webrtc/media/engine/webrtcvideoframe.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +8 lines, -11 lines 0 comments Download
M webrtc/modules/video_capture/test/video_capture_unittest.cc View 6 chunks +30 lines, -25 lines 0 comments Download
M webrtc/modules/video_capture/video_capture_impl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/modules/video_capture/video_capture_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -13 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc View 1 2 3 1 chunk +29 lines, -34 lines 0 comments Download
M webrtc/modules/video_coding/codecs/i420/i420.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -8 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 2 chunks +10 lines, -13 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -10 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_unittest.h View 1 2 3 4 24 chunks +121 lines, -125 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc View 1 2 3 4 5 6 7 8 6 chunks +13 lines, -11 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 1 chunk +8 lines, -8 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_sequence_coder.cc View 1 2 3 4 5 2 chunks +7 lines, -3 lines 0 comments Download
M webrtc/modules/video_processing/test/denoiser_test.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -5 lines 0 comments Download
M webrtc/modules/video_processing/test/video_processing_unittest.h View 1 chunk +0 lines, -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 13 8 chunks +83 lines, -84 lines 0 comments Download
M webrtc/video/video_encoder_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -13 lines 0 comments Download

Messages

Total messages: 36 (16 generated)
nisse-webrtc
Hi, this is a somewhat crude attempt to get rid of the VideoFrameBuffer::MutableData* methods (moved ...
4 years, 3 months ago (2016-08-25 08:30:32 UTC) #2
kwiberg-webrtc
On 2016/08/25 08:30:32, nisse-webrtc wrote: > kwiberg has suggested that rtc::scoped_refptr should be used only ...
4 years, 3 months ago (2016-08-25 09:25:23 UTC) #7
magjed_webrtc
> Herb Sutter explains the same thing here: > https://herbsutter.com/2013/06/05/gotw-91-solution-smart-pointer-parameters/. > The whole thing is ...
4 years, 3 months ago (2016-08-25 11:12:56 UTC) #8
nisse-webrtc
On 2016/08/25 11:12:56, magjed_webrtc wrote: > I would also prefer sending objects as const-ref to ...
4 years, 3 months ago (2016-08-25 11:26:26 UTC) #9
nisse-webrtc
https://codereview.webrtc.org/2278883002/diff/20001/webrtc/common_video/libyuv/include/webrtc_libyuv.h File webrtc/common_video/libyuv/include/webrtc_libyuv.h (right): https://codereview.webrtc.org/2278883002/diff/20001/webrtc/common_video/libyuv/include/webrtc_libyuv.h#newcode105 webrtc/common_video/libyuv/include/webrtc_libyuv.h:105: const rtc::scoped_refptr<I420Buffer>& dst_buffer); On 2016/08/25 11:12:56, magjed_webrtc wrote: > ...
4 years, 3 months ago (2016-08-25 11:31:35 UTC) #10
magjed_webrtc
https://codereview.webrtc.org/2278883002/diff/20001/webrtc/common_video/libyuv/include/webrtc_libyuv.h File webrtc/common_video/libyuv/include/webrtc_libyuv.h (right): https://codereview.webrtc.org/2278883002/diff/20001/webrtc/common_video/libyuv/include/webrtc_libyuv.h#newcode105 webrtc/common_video/libyuv/include/webrtc_libyuv.h:105: const rtc::scoped_refptr<I420Buffer>& dst_buffer); On 2016/08/25 11:31:35, nisse-webrtc wrote: > ...
4 years, 3 months ago (2016-08-25 11:49:08 UTC) #11
nisse-webrtc
https://codereview.webrtc.org/2278883002/diff/20001/webrtc/common_video/libyuv/include/webrtc_libyuv.h File webrtc/common_video/libyuv/include/webrtc_libyuv.h (right): https://codereview.webrtc.org/2278883002/diff/20001/webrtc/common_video/libyuv/include/webrtc_libyuv.h#newcode105 webrtc/common_video/libyuv/include/webrtc_libyuv.h:105: const rtc::scoped_refptr<I420Buffer>& dst_buffer); On 2016/08/25 11:49:08, magjed_webrtc wrote: > ...
4 years, 3 months ago (2016-08-25 12:38:40 UTC) #12
honghaiz3
lgtm on the api/android directory.
4 years, 3 months ago (2016-09-06 21:47:07 UTC) #18
nisse-webrtc
Ping? If this is a bit too big, please suggest a piece you'd be willing ...
4 years, 3 months ago (2016-09-13 14:31:25 UTC) #19
perkj_webrtc
puh, that was a big cl. lgtm the comments below are suggested improvements not directly ...
4 years, 3 months ago (2016-09-13 15:29:22 UTC) #20
nisse-webrtc
https://codereview.webrtc.org/2278883002/diff/180001/webrtc/common_video/video_frame.cc File webrtc/common_video/video_frame.cc (left): https://codereview.webrtc.org/2278883002/diff/180001/webrtc/common_video/video_frame.cc#oldcode81 webrtc/common_video/video_frame.cc:81: CreateEmptyFrame(width, height, stride_y, stride_u, stride_v); On 2016/09/13 15:29:22, perkj_webrtc ...
4 years, 3 months ago (2016-09-14 06:59:06 UTC) #21
magjed_webrtc
lgtm
4 years, 3 months ago (2016-09-14 08:45:37 UTC) #22
nisse-webrtc
Stefan, please have a look. Owner's approval needed for modules/video_coding and modules/video_processing.
4 years, 3 months ago (2016-09-20 07:01:09 UTC) #24
stefan-webrtc
rs lgtm
4 years, 3 months ago (2016-09-20 11:47:04 UTC) #25
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/2278883002/260001
4 years, 3 months ago (2016-09-20 12:01:26 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
4 years, 3 months ago (2016-09-20 14:01:43 UTC) #30
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/2278883002/260001
4 years, 3 months ago (2016-09-21 07:49:18 UTC) #32
commit-bot: I haz the power
Committed patchset #14 (id:260001)
4 years, 3 months ago (2016-09-21 08:27:40 UTC) #33
commit-bot: I haz the power
Patchset 14 (id:??) landed as https://crrev.com/5539ef6c03c273f39fadae41ace47fdc11ac6d60 Cr-Commit-Position: refs/heads/master@{#14317}
4 years, 3 months ago (2016-09-21 08:27:43 UTC) #35
nisse-webrtc
4 years, 3 months ago (2016-09-21 10:51:36 UTC) #36
Message was sent while issue was closed.
A revert of this CL (patchset #14 id:260001) has been created in
https://codereview.webrtc.org/2354223002/ by nisse@webrtc.org.

The reason for reverting is: Broke downstream application..

Powered by Google App Engine
This is Rietveld 408576698