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

Issue 2333373007: Update test code to use I420Buffer when writing pixel data. (Closed)

Created:
4 years, 3 months ago by nisse-webrtc
Modified:
4 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Update test code to use I420Buffer when writing pixel data. VideoFrameBuffer and VideoFrame will become immutable. BUG=webrtc:5921 R=magjed@webrtc.org, phoglund@webrtc.org Committed: https://crrev.com/280ad1514e44bf6717e5871526dd4632f759eb3d Cr-Commit-Position: refs/heads/master@{#14249}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix indentation. #

Patch Set 3 : Additional size_t -> int casts. #

Total comments: 2

Patch Set 4 : Don't reuse frame buffers in ChromaGenerator. #

Patch Set 5 : Trivial rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -87 lines) Patch
M webrtc/common_video/libyuv/include/webrtc_libyuv.h View 2 chunks +7 lines, -0 lines 0 comments Download
M webrtc/common_video/libyuv/webrtc_libyuv.cc View 1 1 chunk +37 lines, -37 lines 0 comments Download
M webrtc/test/fake_texture_frame.h View 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/test/frame_generator.cc View 1 2 3 5 chunks +46 lines, -34 lines 0 comments Download
M webrtc/test/testsupport/metrics/video_metrics.cc View 3 chunks +35 lines, -14 lines 0 comments Download

Messages

Total messages: 31 (16 generated)
nisse-webrtc
I have a pretty big cl I'm splitting up, to make review easier and higher ...
4 years, 3 months ago (2016-09-14 12:38:32 UTC) #3
phoglund
This isn't exactly my area, but lgtm https://codereview.webrtc.org/2333373007/diff/1/webrtc/common_video/libyuv/webrtc_libyuv.cc File webrtc/common_video/libyuv/webrtc_libyuv.cc (right): https://codereview.webrtc.org/2333373007/diff/1/webrtc/common_video/libyuv/webrtc_libyuv.cc#newcode296 webrtc/common_video/libyuv/webrtc_libyuv.cc:296: (ref_buffer.height() != ...
4 years, 3 months ago (2016-09-14 13:23:45 UTC) #4
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/2333373007/1
4 years, 3 months ago (2016-09-14 14:00:47 UTC) #6
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/2333373007/20001
4 years, 3 months ago (2016-09-14 14:07:04 UTC) #9
nisse-webrtc
https://codereview.webrtc.org/2333373007/diff/1/webrtc/common_video/libyuv/webrtc_libyuv.cc File webrtc/common_video/libyuv/webrtc_libyuv.cc (right): https://codereview.webrtc.org/2333373007/diff/1/webrtc/common_video/libyuv/webrtc_libyuv.cc#newcode296 webrtc/common_video/libyuv/webrtc_libyuv.cc:296: (ref_buffer.height() != test_buffer.height())) On 2016/09/14 13:23:45, phoglund wrote: > ...
4 years, 3 months ago (2016-09-14 14:07:30 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/8352)
4 years, 3 months ago (2016-09-14 14:21:43 UTC) #12
nisse-webrtc
Extracted from cl https://codereview.webrtc.org/2278883002/ Magnus: Owners approval needed for common_video.
4 years, 3 months ago (2016-09-15 07:08:14 UTC) #15
magjed_webrtc
lgtm https://codereview.webrtc.org/2333373007/diff/40001/webrtc/common_video/libyuv/webrtc_libyuv.cc File webrtc/common_video/libyuv/webrtc_libyuv.cc (right): https://codereview.webrtc.org/2333373007/diff/40001/webrtc/common_video/libyuv/webrtc_libyuv.cc#newcode317 webrtc/common_video/libyuv/webrtc_libyuv.cc:317: return I420PSNR(*ref_frame->video_frame_buffer(), nit: maybe the diff would have ...
4 years, 3 months ago (2016-09-15 13:18:46 UTC) #16
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/2333373007/40001
4 years, 3 months ago (2016-09-15 13:20:03 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_tsan2 on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_tsan2/builds/15208)
4 years, 3 months ago (2016-09-15 14:06:33 UTC) #21
nisse-webrtc
Spotted a problem, will fix. https://codereview.webrtc.org/2333373007/diff/40001/webrtc/test/frame_generator.cc File webrtc/test/frame_generator.cc (right): https://codereview.webrtc.org/2333373007/diff/40001/webrtc/test/frame_generator.cc#newcode40 webrtc/test/frame_generator.cc:40: static_cast<int>(half_width)); This always keeps ...
4 years, 3 months ago (2016-09-16 05:58:33 UTC) #22
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/2333373007/60001
4 years, 3 months ago (2016-09-16 07:05:11 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_clang_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_clang_rel/builds/6418) win_rel on master.tryserver.webrtc (JOB_FAILED, ...
4 years, 3 months ago (2016-09-16 07:07:24 UTC) #27
nisse-webrtc
Committed patchset #5 (id:80001) manually as 280ad1514e44bf6717e5871526dd4632f759eb3d (presubmit successful).
4 years, 3 months ago (2016-09-16 08:07:25 UTC) #29
nisse-webrtc
4 years, 3 months ago (2016-09-16 08:31:47 UTC) #31
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.webrtc.org/2342123003/ by nisse@webrtc.org.

The reason for reverting is: Fails 64-bit windows builds, it turns out I missed
some of the needed int/size_t casts. Example
https://build.chromium.org/p/client.webrtc/waterfall?builder=Win64%20Release

Hope our windows try bots get back in working shape soon..

Powered by Google App Engine
This is Rietveld 408576698