summaryrefslogtreecommitdiffstats
path: root/libvideoeditor/lvpp/VideoEditorPreviewController.h
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2011-08-02 16:17:39 +0800
committerChih-Chung Chang <chihchung@google.com>2011-08-08 18:11:00 +0800
commit43fcc396614a587851e2b7c4cea2876ec58b8648 (patch)
tree22a07a3df45003665acbb9c0a510f0ff02037f78 /libvideoeditor/lvpp/VideoEditorPreviewController.h
parentb9410c5dacdb44f2f19bc2487dd9ef84445e1f32 (diff)
downloadframeworks_av-43fcc396614a587851e2b7c4cea2876ec58b8648.zip
frameworks_av-43fcc396614a587851e2b7c4cea2876ec58b8648.tar.gz
frameworks_av-43fcc396614a587851e2b7c4cea2876ec58b8648.tar.bz2
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
Diffstat (limited to 'libvideoeditor/lvpp/VideoEditorPreviewController.h')
-rwxr-xr-xlibvideoeditor/lvpp/VideoEditorPreviewController.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvideoeditor/lvpp/VideoEditorPreviewController.h b/libvideoeditor/lvpp/VideoEditorPreviewController.h
index 01fc65b..b4537ec 100755
--- a/libvideoeditor/lvpp/VideoEditorPreviewController.h
+++ b/libvideoeditor/lvpp/VideoEditorPreviewController.h
@@ -132,6 +132,7 @@ private:
sp<VideoEditorPlayer::VeAudioOutput> mVEAudioSink;
VideoEditorAudioPlayer *mVEAudioPlayer;
+ NativeWindowRenderer* mNativeWindowRenderer;
M4VIFI_UInt8* mFrameRGBBuffer;
M4VIFI_UInt8* mFrameYUVBuffer;