diff options
author | Dharmaray Kundargi <dharmaray@google.com> | 2011-01-19 19:09:27 -0800 |
---|---|---|
committer | Dharmaray Kundargi <dharmaray@google.com> | 2011-01-20 00:13:18 -0800 |
commit | 35cb2de64cb6482a08f446e80733e7d344a0dcac (patch) | |
tree | d26fe0bca0cbebec23c854caefe3b7d81e2f74c8 /libvideoeditor/lvpp/VideoEditorPreviewController.cpp | |
parent | bf3270869c4734e6b628d0a0dbd46015f622ea4a (diff) | |
download | frameworks_av-35cb2de64cb6482a08f446e80733e7d344a0dcac.zip frameworks_av-35cb2de64cb6482a08f446e80733e7d344a0dcac.tar.gz frameworks_av-35cb2de64cb6482a08f446e80733e7d344a0dcac.tar.bz2 |
Change preview player code also.
Adapt to 32 bit aligned decoder buffers
Change-Id: I631f7e60b8e424af496f45d0e5e292bf9e8a9dde
Diffstat (limited to 'libvideoeditor/lvpp/VideoEditorPreviewController.cpp')
-rwxr-xr-x | libvideoeditor/lvpp/VideoEditorPreviewController.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp index d862255..c079898 100755 --- a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp +++ b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp @@ -1174,7 +1174,7 @@ M4OSA_ERR VideoEditorPreviewController::applyVideoEffect( mTarget->getBufferYV12(&(postProcessParams.pOutBuffer), &(postProcessParams.outBufferStride));
- err = applyEffectsAndRenderingMode(&postProcessParams);
+ err = applyEffectsAndRenderingMode(&postProcessParams, mOutputVideoWidth, mOutputVideoHeight);
return err;
}
@@ -1273,7 +1273,7 @@ M4OSA_ERR VideoEditorPreviewController::doImageRenderingMode( // In plane
prepareYUV420ImagePlane(planeIn, videoWidth,
- videoHeight, (M4VIFI_UInt8 *)inBuffer);
+ videoHeight, (M4VIFI_UInt8 *)inBuffer, videoWidth, videoHeight);
outputBufferWidth = mOutputVideoWidth;
outputBufferHeight = mOutputVideoHeight;
|