forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Teach ImageCapture API how to handle non-YUV media::VideoFrames.
This uses the shared main thread context to convert these frames into SkImages. Since there's no reason to create a new IO-thread context, the entire conversion process is moved to the main thread. Fixed: 1161825 Test: https://plnkr.co/edit/k6Itrjzzj60vT2fC?preview Change-Id: I5e161cfc1e498442409f577d279a85c8c1322522 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2611341 Reviewed-by: Reilly Grant <reillyg@chromium.org> Reviewed-by: Jeremy Roman <jbroman@chromium.org> Commit-Queue: Jeremy Roman <jbroman@chromium.org> Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Auto-Submit: Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#840299}
- Loading branch information
1 parent
90ac442
commit 0cb1c52
Showing
3 changed files
with
48 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters