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

Issue 1958913005: Memory copy the VideoFrame to match the requirement for HW encoders. (Closed)

Created:
4 years, 7 months ago by xjz
Modified:
4 years, 7 months ago
Reviewers:
xhwang, miu
CC:
chromium-reviews, imcheng+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, feature-media-reviews_chromium.org, xjz+watch_chromium.org, isheriff+watch_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Memory copy the VideoFrame to match the requirement for HW encoders. BUG=578938 Committed: https://crrev.com/0c71f2a2df4b4cada834528289fae181e4ac7706 Cr-Commit-Position: refs/heads/master@{#393062}

Patch Set 1 : Original patch that was reverted because of msan test failure. #

Patch Set 2 : Fix unit tests to pass msan. #

Total comments: 10

Patch Set 3 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+383 lines, -9 lines) Patch
M media/base/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M media/base/video_util.h View 1 chunk +19 lines, -0 lines 0 comments Download
M media/base/video_util.cc View 3 chunks +79 lines, -0 lines 0 comments Download
M media/base/video_util_unittest.cc View 1 2 2 chunks +160 lines, -0 lines 0 comments Download
M media/cast/sender/external_video_encoder.cc View 11 chunks +117 lines, -8 lines 0 comments Download
M media/cast/sender/size_adaptable_video_encoder_base.cc View 1 chunk +3 lines, -1 line 0 comments Download
M media/cast/sender/video_sender.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
xjz
Initialized the VideoFrame in unit tests to pass the msan. PTAL.
4 years, 7 months ago (2016-05-09 21:34:08 UTC) #2
xhwang
lgtm % nits https://chromiumcodereview.appspot.com/1958913005/diff/20001/media/base/video_util_unittest.cc File media/base/video_util_unittest.cc (right): https://chromiumcodereview.appspot.com/1958913005/diff/20001/media/base/video_util_unittest.cc#newcode18 media/base/video_util_unittest.cc:18: void InitializePlane(uint8_t* data, int stride, const ...
4 years, 7 months ago (2016-05-10 19:04:04 UTC) #3
miu
lgtm, but agree with xhwang's comments (need to be addressed before commit).
4 years, 7 months ago (2016-05-10 20:51:32 UTC) #4
xjz
Thanks Xiaohan and Yuri! Addressed comments. https://codereview.chromium.org/1958913005/diff/20001/media/base/video_util_unittest.cc File media/base/video_util_unittest.cc (right): https://codereview.chromium.org/1958913005/diff/20001/media/base/video_util_unittest.cc#newcode18 media/base/video_util_unittest.cc:18: void InitializePlane(uint8_t* data, ...
4 years, 7 months ago (2016-05-10 21:08:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1958913005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1958913005/40001
4 years, 7 months ago (2016-05-10 21:09:22 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/219292)
4 years, 7 months ago (2016-05-11 01:57:50 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1958913005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1958913005/40001
4 years, 7 months ago (2016-05-11 16:49:46 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-11 21:17:35 UTC) #13
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 21:26:17 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0c71f2a2df4b4cada834528289fae181e4ac7706
Cr-Commit-Position: refs/heads/master@{#393062}

Powered by Google App Engine
This is Rietveld 408576698