diff options
| author | 2024-11-22 19:11:28 +0000 | |
|---|---|---|
| committer | 2024-11-22 19:11:28 +0000 | |
| commit | 345be9446f75f29753f4531502270a251b194e38 (patch) | |
| tree | ebb675333854b88e766317bad8728f3189d28243 | |
| parent | 8fada3c3e59b36ca2238fc40f0b5a26532b17b69 (diff) | |
Fix the return type of ADisplayLutsEntry_getDimension and ADisplayLutsEntry_getSamplingKey.
- to fix https://screenshot.googleplex.com/4BTVD4TjjDfuwcs
Bug: n/a
Change-Id: I9fdc07acef94be75f251a0246cea5116ac01f892
Test: builds
Flag: EXEMPT NDK
| -rw-r--r-- | include/android/display_luts.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/android/display_luts.h b/include/android/display_luts.h index 5026646b4b..08dfb12d6c 100644 --- a/include/android/display_luts.h +++ b/include/android/display_luts.h @@ -35,6 +35,7 @@ enum ADisplayLuts_Dimension : int32_t { ADISPLAYLUTS_ONE_DIMENSION = 1, ADISPLAYLUTS_THREE_DIMENSION = 3, }; +typedef enum ADisplayLuts_Dimension ADisplayLuts_Dimension; /** * The sampling key used by the lut @@ -43,6 +44,7 @@ enum ADisplayLuts_SamplingKey : int32_t { ADISPLAYLUTS_SAMPLINGKEY_RGB = 0, ADISPLAYLUTS_SAMPLINGKEY_MAX_RGB = 1, }; +typedef enum ADisplayLuts_SamplingKey ADisplayLuts_SamplingKey; /** * Used to get and set display luts entry |