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/+/1919805Reviewed-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}
Showing
Please register or sign in to comment