summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2015-02-26 10:57:55 -0800
committerEino-Ville Talvala <etalvala@google.com>2015-03-09 16:42:25 -0700
commit805f3c9428f9ebd5080aec48d3d9d77dbf4b41a9 (patch)
tree52be74b470b30f90b5ff9a2b820a541d515f728e /api
parenta72d6401346ba01027f5fe2f59f9c018e8a6a84a (diff)
downloadframeworks_base-805f3c9428f9ebd5080aec48d3d9d77dbf4b41a9.zip
frameworks_base-805f3c9428f9ebd5080aec48d3d9d77dbf4b41a9.tar.gz
frameworks_base-805f3c9428f9ebd5080aec48d3d9d77dbf4b41a9.tar.bz2
Add DEPTH image formats, support in ImageReader
- Add an explicit mapping between public ImageFormat/ PixelFormat enums and internal HAL format/dataspace. - Add DEPTH16 and DEPTH_POINT_CLOUD formats - Wire up mapping layer to ImageReader to support depth formats Change-Id: I8197eccef900cc91baddcfcb934ccd4d8c972eff
Diffstat (limited to 'api')
-rw-r--r--api/current.txt2
-rw-r--r--api/system-current.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index b22dd1c..612d16d 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -10973,6 +10973,8 @@ package android.graphics {
public class ImageFormat {
ctor public ImageFormat();
method public static int getBitsPerPixel(int);
+ field public static final int DEPTH16 = 1144402265; // 0x44363159
+ field public static final int DEPTH_POINT_CLOUD = 257; // 0x101
field public static final int JPEG = 256; // 0x100
field public static final int NV16 = 16; // 0x10
field public static final int NV21 = 17; // 0x11
diff --git a/api/system-current.txt b/api/system-current.txt
index 2b8ce98..4315d1d 100644
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -11248,6 +11248,8 @@ package android.graphics {
public class ImageFormat {
ctor public ImageFormat();
method public static int getBitsPerPixel(int);
+ field public static final int DEPTH16 = 1144402265; // 0x44363159
+ field public static final int DEPTH_POINT_CLOUD = 257; // 0x101
field public static final int JPEG = 256; // 0x100
field public static final int NV16 = 16; // 0x10
field public static final int NV21 = 17; // 0x11