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

Issue 1324213007: vea_unittest: Fix driver doesn't suppport hole in memory mapped file (Closed)

Created:
5 years, 3 months ago by kcwu
Modified:
5 years ago
Reviewers:
wuchengli, Pawel Osciak
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

vea_unittest: Fix driver doesn't support hole in memory mapped file A hole in a file is an area represented by zeros, which are not stored physically on disk (aka sparse files). Take 640x360 I420 input as an example. The padding size for three planes are 5120, 1280, and 1280. Note 5120 > 4k. That means for every frame, there is one page "hole" in the file. The hole page causes troubles for some systems. This CL fills holes with zero bytes. BUG=chrome-os-partner:41833 TEST=video_encode_accelerator_unittest Committed: https://crrev.com/b2e15d28fb69d5f9d94b9edbea56e1a7a399fd0d Cr-Commit-Position: refs/heads/master@{#361089}

Patch Set 1 #

Total comments: 6

Patch Set 2 : revised #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M content/common/gpu/media/video_encode_accelerator_unittest.cc View 1 2 3 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 25 (17 generated)
kcwu
PTAL
5 years, 3 months ago (2015-09-16 07:08:04 UTC) #2
wuchengli
https://codereview.chromium.org/1324213007/diff/1/content/common/gpu/media/video_encode_accelerator_unittest.cc File content/common/gpu/media/video_encode_accelerator_unittest.cc (right): https://codereview.chromium.org/1324213007/diff/1/content/common/gpu/media/video_encode_accelerator_unittest.cc#newcode1 content/common/gpu/media/video_encode_accelerator_unittest.cc:1: // Copyright 2013 The Chromium Authors. All rights reserved. ...
5 years, 1 month ago (2015-11-19 03:33:41 UTC) #5
kcwu
https://codereview.chromium.org/1324213007/diff/1/content/common/gpu/media/video_encode_accelerator_unittest.cc File content/common/gpu/media/video_encode_accelerator_unittest.cc (right): https://codereview.chromium.org/1324213007/diff/1/content/common/gpu/media/video_encode_accelerator_unittest.cc#newcode1 content/common/gpu/media/video_encode_accelerator_unittest.cc:1: // Copyright 2013 The Chromium Authors. All rights reserved. ...
5 years, 1 month ago (2015-11-20 10:04:07 UTC) #7
wuchengli
LGTM https://codereview.chromium.org/1324213007/diff/20001/content/common/gpu/media/video_encode_accelerator_unittest.cc File content/common/gpu/media/video_encode_accelerator_unittest.cc (right): https://codereview.chromium.org/1324213007/diff/20001/content/common/gpu/media/video_encode_accelerator_unittest.cc#newcode306 content/common/gpu/media/video_encode_accelerator_unittest.cc:306: dest_offset += padding[i].size(); nit: this can be moved ...
5 years ago (2015-11-23 09:14:26 UTC) #19
kcwu
https://codereview.chromium.org/1324213007/diff/20001/content/common/gpu/media/video_encode_accelerator_unittest.cc File content/common/gpu/media/video_encode_accelerator_unittest.cc (right): https://codereview.chromium.org/1324213007/diff/20001/content/common/gpu/media/video_encode_accelerator_unittest.cc#newcode306 content/common/gpu/media/video_encode_accelerator_unittest.cc:306: dest_offset += padding[i].size(); On 2015/11/23 09:14:26, wuchengli wrote: > ...
5 years ago (2015-11-23 11:29:57 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1324213007/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1324213007/40001
5 years ago (2015-11-23 11:30:07 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-11-23 11:39:51 UTC) #24
commit-bot: I haz the power
5 years ago (2015-11-23 11:40:53 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b2e15d28fb69d5f9d94b9edbea56e1a7a399fd0d
Cr-Commit-Position: refs/heads/master@{#361089}

Powered by Google App Engine
This is Rietveld 408576698