forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MacDesktopCaptureV2: Add cast support for NV12 IOSurfaces
In mirroring::VideoCaptureClient, accept GpuMemoryBuffer backed frames on macOS. These are handled by WrapUnacceleratedIOSurface, which will allow CPU access (only) to the frames. Also in mirroring::VideoCaptureClient accept NV12 formats. In media::cast::Vp8Encoder::Encode, add support for NV12 formats. This support is already present in VpxVideoEncoder::Encode, and this is a copy-paste of that code, with slightly different comments. Bug: 1185388 Change-Id: I25669486b1addfdc276a2876eb702ee92e206c5b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2782061 Reviewed-by: mark a. foltz <mfoltz@chromium.org> Commit-Queue: ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#866001}
- Loading branch information
1 parent
46fdf64
commit 6ced0c8
Showing
2 changed files
with
54 additions
and
16 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