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

Issue 2065733003: Delete unused and almost unused frame-related methods. (Closed)

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

Description

Delete unused and almost unused frame-related methods. webrtc::VideoFrame::set_video_frame_buffer webrtc::VideoFrame::ConvertNativeToI420Frame cricket::WebRtcVideoFrame::InitToBlack VideoFrameBuffer::data VideoFrameBuffer::stride VideoFrameBuffer::MutableData TBR=tkchin@webrtc.org # Refactoring affecting RTCVideoFrame BUG=webrtc:5682 Committed: https://crrev.com/76270de4bc2dac188f10f805e6e2fb86693ef864 Cr-Commit-Position: refs/heads/master@{#13183}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Deleted TODO comment. #

Total comments: 4

Patch Set 3 : Tolerate NativeToI420Buffer failing. #

Patch Set 4 : Update Android jni code. #

Patch Set 5 : Drop frame when NativeToI420Buffer fails. #

Patch Set 6 : Eliminate set_video_frame_buffer also from h264 code. #

Patch Set 7 : Fix compile error. #

Patch Set 8 : Work around Decoded() taking a non-const ref. #

Patch Set 9 : Update CoreVideoFrameBuffer::NativeToI420Buffer. #

Patch Set 10 : Update objc RTCVideoFrame. #

Total comments: 2

Patch Set 11 : Change log level to LS_ERROR. #

Patch Set 12 : Rebase. Eliminate call to set_video_frame_buffer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -174 lines) Patch
M webrtc/api/java/jni/androidmediadecoder_jni.cc View 1 2 3 2 chunks +12 lines, -12 lines 0 comments Download
M webrtc/api/java/jni/androidmediaencoder_jni.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +13 lines, -11 lines 0 comments Download
M webrtc/api/java/jni/androidvideocapturer_jni.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/common_video/corevideo_frame_buffer.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/common_video/include/video_frame_buffer.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -13 lines 0 comments Download
M webrtc/common_video/video_frame.cc View 1 chunk +0 lines, -14 lines 0 comments Download
M webrtc/common_video/video_frame_buffer.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +0 lines, -62 lines 0 comments Download
M webrtc/media/engine/webrtcvideoframe.h View 1 chunk +0 lines, -3 lines 0 comments Download
M webrtc/media/engine/webrtcvideoframe.cc View 1 chunk +0 lines, -14 lines 0 comments Download
M webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc View 1 2 3 4 5 6 7 2 chunks +20 lines, -7 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/video_sender.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +11 lines, -3 lines 0 comments Download
M webrtc/modules/video_processing/frame_preprocessor.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -8 lines 0 comments Download
M webrtc/modules/video_processing/spatial_resampler.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCVideoFrame.mm View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -6 lines 0 comments Download
M webrtc/video_frame.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 41 (16 generated)
nisse-webrtc
This cl deletes a couple of more methods. It would be nice if one of ...
4 years, 6 months ago (2016-06-14 12:21:11 UTC) #2
pbos-webrtc
Check with kjellander@ to see what's up with that trybot thing. https://codereview.webrtc.org/2065733003/diff/1/webrtc/modules/video_coding/video_sender.cc File webrtc/modules/video_coding/video_sender.cc (right): ...
4 years, 6 months ago (2016-06-14 13:47:05 UTC) #3
nisse-webrtc
https://codereview.webrtc.org/2065733003/diff/1/webrtc/modules/video_coding/video_sender.cc File webrtc/modules/video_coding/video_sender.cc (right): https://codereview.webrtc.org/2065733003/diff/1/webrtc/modules/video_coding/video_sender.cc#newcode291 webrtc/modules/video_coding/video_sender.cc:291: // TODO(nisse): Do we need to propagate the meta ...
4 years, 6 months ago (2016-06-14 14:32:14 UTC) #4
pbos-webrtc
https://codereview.webrtc.org/2065733003/diff/1/webrtc/modules/video_coding/video_sender.cc File webrtc/modules/video_coding/video_sender.cc (right): https://codereview.webrtc.org/2065733003/diff/1/webrtc/modules/video_coding/video_sender.cc#newcode291 webrtc/modules/video_coding/video_sender.cc:291: // TODO(nisse): Do we need to propagate the meta ...
4 years, 6 months ago (2016-06-14 14:34:15 UTC) #5
nisse-webrtc
https://codereview.webrtc.org/2065733003/diff/1/webrtc/modules/video_coding/video_sender.cc File webrtc/modules/video_coding/video_sender.cc (right): https://codereview.webrtc.org/2065733003/diff/1/webrtc/modules/video_coding/video_sender.cc#newcode291 webrtc/modules/video_coding/video_sender.cc:291: // TODO(nisse): Do we need to propagate the meta ...
4 years, 6 months ago (2016-06-15 07:49:20 UTC) #6
perkj_webrtc
lgtm provided the below is addressed. https://codereview.webrtc.org/2065733003/diff/20001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc File webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc (right): https://codereview.webrtc.org/2065733003/diff/20001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc#newcode964 webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc:964: 0, webrtc::kVideoRotation_0); nit: ...
4 years, 6 months ago (2016-06-15 20:43:12 UTC) #7
pbos-webrtc
lgtm
4 years, 6 months ago (2016-06-15 20:46:30 UTC) #8
nisse-webrtc
https://codereview.webrtc.org/2065733003/diff/20001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc File webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc (right): https://codereview.webrtc.org/2065733003/diff/20001/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc#newcode964 webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc:964: 0, webrtc::kVideoRotation_0); On 2016/06/15 20:43:12, perkj_webrtc wrote: > nit: ...
4 years, 6 months ago (2016-06-16 07:22:28 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/2065733003/40001
4 years, 6 months ago (2016-06-16 07:22:42 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/14211)
4 years, 6 months ago (2016-06-16 07:26:13 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2065733003/140001
4 years, 6 months ago (2016-06-16 08:57:58 UTC) #15
nisse-webrtc
Please have another look, I forgot android and h264 in the first round, but they ...
4 years, 6 months ago (2016-06-16 08:59:24 UTC) #16
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/8309) ios_arm64_dbg on ...
4 years, 6 months ago (2016-06-16 08:59:48 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2065733003/180001
4 years, 6 months ago (2016-06-16 09:34:39 UTC) #20
nisse-webrtc
Owner's approval needed for a few files. marpan: spatial_resampler.cc tkchin: RTCVideoFrame.mm
4 years, 6 months ago (2016-06-16 09:41:35 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/8756)
4 years, 6 months ago (2016-06-16 09:45:51 UTC) #24
pbos-webrtc
lgtm https://codereview.webrtc.org/2065733003/diff/180001/webrtc/modules/video_coding/video_sender.cc File webrtc/modules/video_coding/video_sender.cc (right): https://codereview.webrtc.org/2065733003/diff/180001/webrtc/modules/video_coding/video_sender.cc#newcode295 webrtc/modules/video_coding/video_sender.cc:295: LOG(LS_WARNING) << "Frame conversion failed, dropping frame."; LS_ERROR
4 years, 6 months ago (2016-06-16 11:21:43 UTC) #25
nisse-webrtc
https://codereview.webrtc.org/2065733003/diff/180001/webrtc/modules/video_coding/video_sender.cc File webrtc/modules/video_coding/video_sender.cc (right): https://codereview.webrtc.org/2065733003/diff/180001/webrtc/modules/video_coding/video_sender.cc#newcode295 webrtc/modules/video_coding/video_sender.cc:295: LOG(LS_WARNING) << "Frame conversion failed, dropping frame."; On 2016/06/16 ...
4 years, 6 months ago (2016-06-16 13:13:07 UTC) #26
marpan2
lgtm
4 years, 6 months ago (2016-06-16 14:22:00 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2065733003/200001
4 years, 6 months ago (2016-06-16 14:48:50 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/8786)
4 years, 6 months ago (2016-06-16 15:04:49 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2065733003/220001
4 years, 6 months ago (2016-06-17 07:43:42 UTC) #36
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 6 months ago (2016-06-17 09:00:18 UTC) #38
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/76270de4bc2dac188f10f805e6e2fb86693ef864 Cr-Commit-Position: refs/heads/master@{#13183}
4 years, 6 months ago (2016-06-17 09:00:28 UTC) #40
nisse-webrtc
4 years, 6 months ago (2016-06-17 09:54:55 UTC) #41
Message was sent while issue was closed.
A revert of this CL (patchset #12 id:220001) has been created in
https://codereview.webrtc.org/2076113002/ by nisse@webrtc.org.

The reason for reverting is: Breaks downstream applications which inherits
webrtc::VideoFrameBuffer and tries to override deleted methods data(), stride()
and MutableData()..

Powered by Google App Engine
This is Rietveld 408576698