Descriptionmedia: VEA unittest: make sure allocated memory is 64byte aligned
When running video_encode_accelerator_unittest :
../../media/gpu/video_encode_accelerator_unittest.cc:301: Failure
Value of: 0
Expected: reinterpret_cast<off_t>(&test_stream->aligned_in_file_data[0]) & 63
Which is: 32
File should be mapped at a 64 byte boundary
Also reuse base::bits::Align.
BUG=624254
TEST=video_encode_accelerator_unittest
Committed: https://crrev.com/b79f630424367d6d65de0e7e0a8e80a823e79952
Cr-Commit-Position: refs/heads/master@{#403435}
Patch Set 1 #
Total comments: 4
Patch Set 2 : media: VEA unittest: make sure allocated memory is 64byte aligned #Patch Set 3 : wuchengli's nits #Messages
Total messages: 16 (7 generated)
|