-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Texture Transform matrix calculations for AImageReader.
This CL does a texture transform matrix calculations similar to what android's SurfaceTexture framework does under the hood. This matrix was not provided by AImageReader api and hence the calculations has to be done in chrome. This matrix is applied to the texture coordinates by display compositor in order to draw the pixels correctly. Before this CL this matrix was hardcoded to an identity matrix but certain video format. Bug: 1025273 Change-Id: I68aea1114f14cedbccfc1a59a4f8d2834d921711 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1919805 Reviewed-by: Andrew Grieve <agrieve@chromium.org> Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by: Frank Liberato <liberato@chromium.org> Commit-Queue: vikas soni <vikassoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#716452}
- Loading branch information
1 parent
ee527cc
commit eed0437
Showing
4 changed files
with
108 additions
and
0 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
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