summaryrefslogtreecommitdiff
path: root/include/android
diff options
context:
space:
mode:
author Sally Qi <sallyqi@google.com> 2024-12-02 19:08:36 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-12-02 19:08:36 +0000
commit51166f25261ddfaaeb0048717f24d60dc3535e51 (patch)
tree5100a614721cd9f1412b3c4ed96860a52303de1a /include/android
parent5724365d19fe4e3313ee9ee0de4afce482a3fa96 (diff)
parentc3cab95207ee962e30e80e48b5d86b0732e17664 (diff)
Merge "[LUT NDK] Add CIE_Y sampling key to ADisplayLuts_SamplingKey enum." into main
Diffstat (limited to 'include/android')
-rw-r--r--include/android/display_luts.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/android/display_luts.h b/include/android/display_luts.h
index 08dfb12d6c..eae2bfd351 100644
--- a/include/android/display_luts.h
+++ b/include/android/display_luts.h
@@ -43,6 +43,7 @@ typedef enum ADisplayLuts_Dimension ADisplayLuts_Dimension;
enum ADisplayLuts_SamplingKey : int32_t {
ADISPLAYLUTS_SAMPLINGKEY_RGB = 0,
ADISPLAYLUTS_SAMPLINGKEY_MAX_RGB = 1,
+ ADISPLAYLUTS_SAMPLINGKEY_CIE_Y = 2,
};
typedef enum ADisplayLuts_SamplingKey ADisplayLuts_SamplingKey;
@@ -74,7 +75,8 @@ typedef struct ADisplayLuts ADisplayLuts;
* @return a new \a ADisplayLutsEntry instance.
*/
ADisplayLutsEntry* _Nonnull ADisplayLutsEntry_createEntry(float* _Nonnull buffer,
- int32_t length, int32_t dimension, int32_t key) __INTRODUCED_IN(36);
+ int32_t length, ADisplayLuts_Dimension dimension, ADisplayLuts_SamplingKey key)
+ __INTRODUCED_IN(36);
/**
* Destroy the \a ADisplayLutsEntry instance.