commit | 465062d2cff5c2e5c76e3e1b96ddce99f7a44706 | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@chromium.org> | Fri Mar 22 06:18:51 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Mar 22 06:18:51 2019 |
tree | c9a33a039fec60c003e2abfd838a8e5ba8f0e170 | |
parent | c253d680931d0d377ab6edae398775e9104429ae [diff] |
media/gpu/ip: DCHECK for proper output mode in Process() methods The ImageProcessor methods are now each confined to a given output mode: the legacy Process(input_frame) is for ALLOCATE mode, while Process(input_frame, output_frame) is for IMPORT mode. Ensure that these methods are never called from the incorrect mode with a DCHECK. Bug: None Test: VDA unittest passed in regular and import mode on Hana. Test: VEA unittest passed on Peach_pit. Change-Id: I1c99dce1407ebc719c8b85bc1d9d1f3fea886e02 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1525765 Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#643278}
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 .