.. | .. |
---|
8 | 8 | #ifndef EPD_LUT_H |
---|
9 | 9 | #define EPD_LUT_H |
---|
10 | 10 | |
---|
| 11 | +#define WF_4BIT 16 |
---|
| 12 | +#define WF_5BIT 32 |
---|
| 13 | + |
---|
11 | 14 | // same to pvi_wf_mode |
---|
12 | 15 | enum epd_lut_type { |
---|
13 | 16 | WF_TYPE_RESET = 0, |
---|
.. | .. |
---|
38 | 41 | int epd_lut_from_mem_init(void *waveform); |
---|
39 | 42 | int epd_lut_from_file_init(struct device *dev, void *waveform, int size); |
---|
40 | 43 | const char *epd_lut_get_wf_version(void); |
---|
41 | | -int epd_lut_get(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture); |
---|
| 44 | +int epd_lut_get(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture, int pic); |
---|
42 | 45 | |
---|
43 | 46 | //you can change overlay lut mode here |
---|
44 | 47 | int epd_overlay_lut(void); |
---|
.. | .. |
---|
48 | 51 | */ |
---|
49 | 52 | int pvi_wf_input(void *waveform_file); |
---|
50 | 53 | const char *pvi_wf_get_version(void); |
---|
51 | | -int pvi_wf_get_lut(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture); |
---|
| 54 | +int pvi_wf_get_lut(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture, int pic); |
---|
52 | 55 | |
---|
53 | 56 | /* |
---|
54 | 57 | * RKF Waveform Interfaces |
---|
55 | 58 | */ |
---|
56 | 59 | int rkf_wf_input(void *waveform_file); |
---|
57 | 60 | const char *rkf_wf_get_version(void); |
---|
58 | | -int rkf_wf_get_lut(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture); |
---|
| 61 | +int rkf_wf_get_lut(struct epd_lut_data *output, enum epd_lut_type lut_type, int temperture, int pic); |
---|
59 | 62 | #endif |
---|