diff options
author | Hong Teng <hongteng@google.com> | 2011-07-06 18:29:28 -0700 |
---|---|---|
committer | Hong Teng <hongteng@google.com> | 2011-07-20 16:52:31 -0700 |
commit | 8806b706693c0992724f6603353af18aeb4a0f80 (patch) | |
tree | 236b8c2fe12c6c15f528d626f64b05e5d512d276 /libvideoeditor/lvpp/VideoEditorTools.h | |
parent | 460ba2a3a1fa9318463d3c00595b6732e3d776de (diff) | |
download | frameworks_av-8806b706693c0992724f6603353af18aeb4a0f80.zip frameworks_av-8806b706693c0992724f6603353af18aeb4a0f80.tar.gz frameworks_av-8806b706693c0992724f6603353af18aeb4a0f80.tar.bz2 |
fix for issue 4142219
Don't hard code platform-specific limitations
engine part.
Change-Id: Ibc8a539e5bbac738f60ef935670a333b7017e20e
Diffstat (limited to 'libvideoeditor/lvpp/VideoEditorTools.h')
-rwxr-xr-x | libvideoeditor/lvpp/VideoEditorTools.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libvideoeditor/lvpp/VideoEditorTools.h b/libvideoeditor/lvpp/VideoEditorTools.h index 0552799..f39ed90 100755 --- a/libvideoeditor/lvpp/VideoEditorTools.h +++ b/libvideoeditor/lvpp/VideoEditorTools.h @@ -29,11 +29,10 @@ #include "M4VSS3GPP_API.h" #include "M4xVSS_API.h" #include "M4xVSS_Internal.h" - #include "M4AIR_API.h" #include "PreviewRenderer.h" -#define MEDIA_RENDERING_INVALID 255 +#define MEDIA_RENDERING_INVALID 255 #define TRANSPARENT_COLOR 0x7E0 #define LUM_FACTOR_MAX 10 enum { @@ -137,4 +136,7 @@ M4OSA_ERR applyLumaEffect(M4VSS3GPP_VideoEffectType videoEffect, M4OSA_ERR applyEffectsAndRenderingMode(vePostProcessParams *params, M4OSA_UInt32 reportedWidth, M4OSA_UInt32 reportedHeight); +android::status_t getVideoSizeByResolution(M4VIDEOEDITING_VideoFrameSize resolution, + uint32_t *pWidth, uint32_t *pHeight); + #endif // ANDROID_VE_TOOLS_H |