commit | f73f5f2b3b9da9e09cc76cf72323aaf2926a5b04 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Mon Aug 12 13:43:55 2019 -0400 |
committer | Leon Scroggins III <scroggo@google.com> | Mon Aug 12 14:35:25 2019 -0400 |
tree | b14e491201fe8f21d4f4a09bae4e9484219090b3 | |
parent | f7a21a9f03b127b90def21103c34d53a8da3cb6a [diff] [blame] |
Add RGBA_F16 to the AndroidBitmapFormat (NDK) Bug: 135133301 Test: Id904c8cb4b22505635744ab271a639ace24ddbab Update AndroidBitmapFormat to keep up with Bitmap.Config. Change-Id: I3c17faf174b109b7c31c2eb5d1249bc881923b10
diff --git a/include/android/bitmap.h b/include/android/bitmap.h index 2def64d..6fba0ac 100644 --- a/include/android/bitmap.h +++ b/include/android/bitmap.h
@@ -60,6 +60,8 @@ ANDROID_BITMAP_FORMAT_RGBA_4444 = 7, /** Alpha: 8 bits. */ ANDROID_BITMAP_FORMAT_A_8 = 8, + /** Each component is stored as a half float. **/ + ANDROID_BITMAP_FORMAT_RGBA_F16 = 9, }; /** Bitmap info, see AndroidBitmap_getInfo(). */