commit | 04f8f2c062f67483fdc6b0986a31ecb8195e9c90 | [log] [tgz] |
---|---|---|
author | Hirokazu Honda <hiroh@chromium.org> | Mon Oct 22 07:19:32 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Oct 22 07:19:32 2018 |
tree | f967b49d0c7305e7e6dfcb06b8b2cf8302abd5a9 | |
parent | d89a726271a6b6934ec72510c2da3f4495729e5b [diff] |
media/gpu/VEA unittest: Fill plane pointer and stride with NULL and 0 for 1- or 2- planes VideoFrame When I enable VEA unittest to run any yuv format in crrev.com/c/1135106, I didn't realize the code assumed the I420 when creating frame. Therefore, it passes invalid pointer and wrong stride when the number of planes are less than 3. This change fixes it by creating video frame, taking into account the number of planes of input buffer format. BUG=chromium:894381 TEST=VEA unittest for NV12 and I420 on kevin Change-Id: I31e157ce9317139e7cc42a38ba77b34c13d70d70 Reviewed-on: https://chromium-review.googlesource.com/c/1293095 Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Cr-Commit-Position: refs/heads/master@{#601489}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .