diff options
author | Iliyan Malchev <malchev@google.com> | 2011-05-01 11:38:07 -0700 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-05-03 15:07:45 -0700 |
commit | b003895a249f1298c311f513bbb0bf96e3902ef4 (patch) | |
tree | fdd86b92a6adeefaf8df19967ae194bfb0c635d1 | |
parent | 2dbef65fea1115c53edda5bd4b40c4f49c0d06dd (diff) | |
download | frameworks_av-b003895a249f1298c311f513bbb0bf96e3902ef4.zip frameworks_av-b003895a249f1298c311f513bbb0bf96e3902ef4.tar.gz frameworks_av-b003895a249f1298c311f513bbb0bf96e3902ef4.tar.bz2 |
android_native_buffer_t --> ANativeWindowBuffer
Change-Id: Id43b27ed2d1b85488b731948d018da0c0fd0c50d
Signed-off-by: Iliyan Malchev <malchev@google.com>
-rwxr-xr-x | libvideoeditor/lvpp/PreviewRenderer.cpp | 2 | ||||
-rwxr-xr-x | libvideoeditor/lvpp/PreviewRenderer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libvideoeditor/lvpp/PreviewRenderer.cpp b/libvideoeditor/lvpp/PreviewRenderer.cpp index cfded72..8f172f3 100755 --- a/libvideoeditor/lvpp/PreviewRenderer.cpp +++ b/libvideoeditor/lvpp/PreviewRenderer.cpp @@ -207,7 +207,7 @@ void PreviewRenderer::renderYV12() { //
void PreviewRenderer::render(
const void *data, size_t size, void *platformPrivate) {
- android_native_buffer_t *buf;
+ ANativeWindowBuffer *buf;
int err;
if ((err = mSurface->dequeueBuffer(mSurface.get(), &buf)) != 0) {
diff --git a/libvideoeditor/lvpp/PreviewRenderer.h b/libvideoeditor/lvpp/PreviewRenderer.h index 876ca16..ccfcf86 100755 --- a/libvideoeditor/lvpp/PreviewRenderer.h +++ b/libvideoeditor/lvpp/PreviewRenderer.h @@ -72,7 +72,7 @@ private: size_t mDisplayWidth, mDisplayHeight;
size_t mDecodedWidth, mDecodedHeight;
- android_native_buffer_t *mBuf;
+ ANativeWindowBuffer *mBuf;
PreviewRenderer(const PreviewRenderer &);
PreviewRenderer &operator=(const PreviewRenderer &);
|