diff options
author | Jason Sams <jsams@google.com> | 2013-03-26 13:27:37 -0700 |
---|---|---|
committer | Jason Sams <jsams@google.com> | 2013-03-26 13:27:37 -0700 |
commit | 5a722cf8b2dc7c6b4acc937a6d68bc88e1702d78 (patch) | |
tree | 8dda25a031e4e96ac5d322a356deb410217f18b6 /graphics/java/android/renderscript/Type.java | |
parent | f00529d901da11d98ddf4b3b06d411e6879c9591 (diff) | |
download | frameworks_base-5a722cf8b2dc7c6b4acc937a6d68bc88e1702d78.zip frameworks_base-5a722cf8b2dc7c6b4acc937a6d68bc88e1702d78.tar.gz frameworks_base-5a722cf8b2dc7c6b4acc937a6d68bc88e1702d78.tar.bz2 |
Add yuv get
Change-Id: I6df5c0a8129283c0ad600b232790da10c395b479
Diffstat (limited to 'graphics/java/android/renderscript/Type.java')
-rw-r--r-- | graphics/java/android/renderscript/Type.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/java/android/renderscript/Type.java b/graphics/java/android/renderscript/Type.java index 9507030..d7c8255 100644 --- a/graphics/java/android/renderscript/Type.java +++ b/graphics/java/android/renderscript/Type.java @@ -110,6 +110,16 @@ public class Type extends BaseObj { } /** + * Get the YUV format + * + * @hide + * @return int + */ + public int getYuv() { + return mDimYuv; + } + + /** * Return if the Type has a mipmap chain. * * @return boolean |