commit | 9133a10ed22acc8b2154ab187f301945bf51a1f9 | [log] [tgz] |
---|---|---|
author | Chih-Chung Chang <chihchung@google.com> | Tue Aug 02 16:17:39 2011 +0800 |
committer | Chih-Chung Chang <chihchung@google.com> | Mon Aug 08 18:11:00 2011 +0800 |
tree | 76f2300ff496987729f2c766c85c47840c7d7791 | |
parent | 2b60742198bb983c20210d180f49bafb9ded7faa [diff] |
Use GL to render preview. To speed up the preview, we direct the decoder output to a SurfaceTexture, then draw the texture to a surface. The media rendering parameters (crop, black-border) are implemented using different vertex coordinates. The color effects are implemented using fragment shaders. Currently only three color effects are implemented, but that's all the appplication uses. Change-Id: If84439fee572ed37ea077749ef9f2bd4f78703e1