-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use CopyToBuffer in ConvertFrameToNV12
This is not proposed to merge, rather to help a discussion. Of course the code should be abstracted a bit, looking for early feedback. This also doesn't work for 10-bit out of the box. Need to do some bit manipulations of the packed 10-bit values to convert it properly to RAW YUV format (bottom 6 bits clear, rather than top 6) Before doing that, want to check if this is an acceptable approach in general, or whether we should enforce linear tiling for output images. Signed-off-by: Charlie Turner <[email protected]>
- Loading branch information
1 parent
9a818dd
commit b18ab00
Showing
3 changed files
with
259 additions
and
75 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