summaryrefslogtreecommitdiffstats
path: root/libvideoeditor/lvpp/VideoEditorTools.h
diff options
context:
space:
mode:
authorRajneesh Chowdury <rajneeshc@google.com>2011-08-30 12:59:30 -0700
committerRajneesh Chowdury <rajneeshc@google.com>2011-08-30 12:59:30 -0700
commite9eec0e0975c57c0dac91eb5b4cbb052b7dd011a (patch)
treea0149c5899128a58ddd146620f566371c365b049 /libvideoeditor/lvpp/VideoEditorTools.h
parentdac2f050b814bd72ff66b4ae58634c25fb2185ff (diff)
downloadframeworks_av-e9eec0e0975c57c0dac91eb5b4cbb052b7dd011a.zip
frameworks_av-e9eec0e0975c57c0dac91eb5b4cbb052b7dd011a.tar.gz
frameworks_av-e9eec0e0975c57c0dac91eb5b4cbb052b7dd011a.tar.bz2
Fix for 5156702 Rotate video output for thumbnails and export
This is part of a multi project submit. This is the native engine part. Change-Id: Icde922194a123a90544942caa12430fc3c4ef10e
Diffstat (limited to 'libvideoeditor/lvpp/VideoEditorTools.h')
-rwxr-xr-xlibvideoeditor/lvpp/VideoEditorTools.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libvideoeditor/lvpp/VideoEditorTools.h b/libvideoeditor/lvpp/VideoEditorTools.h
index f39ed90..9b464da 100755
--- a/libvideoeditor/lvpp/VideoEditorTools.h
+++ b/libvideoeditor/lvpp/VideoEditorTools.h
@@ -139,4 +139,15 @@ M4OSA_ERR applyEffectsAndRenderingMode(vePostProcessParams *params,
android::status_t getVideoSizeByResolution(M4VIDEOEDITING_VideoFrameSize resolution,
uint32_t *pWidth, uint32_t *pHeight);
+M4VIFI_UInt8 M4VIFI_Rotate90LeftYUV420toYUV420(void* pUserData,
+ M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut);
+
+M4VIFI_UInt8 M4VIFI_Rotate90RightYUV420toYUV420(void* pUserData,
+ M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut);
+
+M4VIFI_UInt8 M4VIFI_Rotate180YUV420toYUV420(void* pUserData,
+ M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut);
+
+M4OSA_ERR applyVideoRotation(M4OSA_Void* pBuffer,
+ M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32 rotation);
#endif // ANDROID_VE_TOOLS_H