commit | 07959d963e08a1024f8cf7ed7efae92fac7ebac2 | [log] [tgz] |
---|---|---|
author | Hirokazu Honda <hiroh@chromium.org> | Mon Oct 22 08:43:37 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Oct 22 08:43:37 2018 |
tree | b04d910e85ff4d3feb525f1160e00772a4e89311 | |
parent | 033aa24f0b341b19ffea8ad566e39f157a933b96 [diff] |
Reland "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: Ie917d5240c05cb32c59f21367252682dc14b573e Reviewed-on: https://chromium-review.googlesource.com/c/1293066 Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#601501}
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 .