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 Review URL: https://codereview.chromium.org/1324213007 Cr-Commit-Position: refs/heads/master@{#361089}
Showing
Please register or sign in to comment