File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ typedef enum ADisplayLuts_Dimension ADisplayLuts_Dimension;
4343enum ADisplayLuts_SamplingKey : int32_t {
4444 ADISPLAYLUTS_SAMPLINGKEY_RGB = 0 ,
4545 ADISPLAYLUTS_SAMPLINGKEY_MAX_RGB = 1 ,
46+ ADISPLAYLUTS_SAMPLINGKEY_CIE_Y = 2 ,
4647};
4748typedef enum ADisplayLuts_SamplingKey ADisplayLuts_SamplingKey ;
4849
@@ -74,7 +75,8 @@ typedef struct ADisplayLuts ADisplayLuts;
7475 * @return a new \a ADisplayLutsEntry instance.
7576 */
7677ADisplayLutsEntry * _Nonnull ADisplayLutsEntry_createEntry (float * _Nonnull buffer ,
77- int32_t length , int32_t dimension , int32_t key ) __INTRODUCED_IN (36 );
78+ int32_t length , ADisplayLuts_Dimension dimension , ADisplayLuts_SamplingKey key )
79+ __INTRODUCED_IN (36 );
7880
7981/**
8082 * Destroy the \a ADisplayLutsEntry instance.
Original file line number Diff line number Diff line change 1616
1717#pragma once
1818
19+ #include < android/display_luts.h>
1920#include < stdint.h>
2021#include < vector>
2122#include < utils/RefBase.h>
@@ -29,9 +30,9 @@ struct ADisplayLutsEntry_buffer {
2930};
3031
3132struct ADisplayLutsEntry_properties {
32- int32_t dimension;
33+ ADisplayLuts_Dimension dimension;
3334 int32_t size;
34- int32_t samplingKey;
35+ ADisplayLuts_SamplingKey samplingKey;
3536};
3637
3738struct ADisplayLutsEntry : public RefBase {
You can’t perform that action at this time.
0 commit comments