-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UWP MediaCapture: Option for NV-12 encoded images or BGRA images (#274)
* refactor: specify MediaEncodingSubtype in the frame reader so that there's no need for software bitmap conversion of the pixel data. This currently has the bool flags for OutputEncodedImage and OutputImage unique, meaning only one of the emitters can output at a time, while prioritizing the EncodedImage first if both bools are true. * fix: it could either be the encoded image or encoded image camera view that wins as the emitter for nv12. * fix: build with the code analysis enabled. * feat: throw an unsupported exception for specifying both encoded and regular image emitters.
- Loading branch information
1 parent
9db656a
commit 4b525f1
Showing
3 changed files
with
110 additions
and
4 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