diff options
author | Andreas Huber <andih@google.com> | 2011-06-24 13:16:42 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2011-06-27 09:26:09 -0700 |
commit | 3571d50a2582bc9c63f09cd81b4f490ea3522bd9 (patch) | |
tree | 75922c68e5f7ad9af3d36f4a05739d58c86886e4 /media/libstagefright/include/SoftwareRenderer.h | |
parent | 884946a23cfe804491ef6067bd9361371d7848fd (diff) | |
download | frameworks_av-3571d50a2582bc9c63f09cd81b4f490ea3522bd9.zip frameworks_av-3571d50a2582bc9c63f09cd81b4f490ea3522bd9.tar.gz frameworks_av-3571d50a2582bc9c63f09cd81b4f490ea3522bd9.tar.bz2 |
Fix the new color converter to respect the destination crop rect.
Also fixes the SoftwareRenderer to request blitting the correct crop rectangles.
Change-Id: I38706cf9b42d96c6d5b35a9380f006ea4fbbf1ea
Diffstat (limited to 'media/libstagefright/include/SoftwareRenderer.h')
-rw-r--r-- | media/libstagefright/include/SoftwareRenderer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/include/SoftwareRenderer.h b/media/libstagefright/include/SoftwareRenderer.h index 78037b9..8f2ea95 100644 --- a/media/libstagefright/include/SoftwareRenderer.h +++ b/media/libstagefright/include/SoftwareRenderer.h @@ -47,6 +47,7 @@ private: sp<ANativeWindow> mNativeWindow; int32_t mWidth, mHeight; int32_t mCropLeft, mCropTop, mCropRight, mCropBottom; + int32_t mCropWidth, mCropHeight; SoftwareRenderer(const SoftwareRenderer &); SoftwareRenderer &operator=(const SoftwareRenderer &); |