blob: 4365acb5482eb09b6b61ebd658ef9b50d7715f61
1 | #ifndef _VPP_INC_H_ |
2 | #define _VPP_INC_H_ |
3 | |
4 | extern void vpp_init(void); |
5 | void vpp_pq_init(int brightness, int contrast, int sat, int hue); |
6 | void vpp_pq_load(void); |
7 | |
8 | #define VPP_CM_RGB 0 /* same as COLOR_FMT_RGB444*/ |
9 | #define VPP_CM_YUV 2 /* same as COLOR_FMT_YUV444*/ |
10 | |
11 | extern void vpp_matrix_update(int type); |
12 | |
13 | enum vpp_gamma_sel_e { |
14 | VPP_GAMMA_R = 0, |
15 | VPP_GAMMA_G, |
16 | VPP_GAMMA_B |
17 | }; |
18 | |
19 | extern void vpp_load_gamma_table(unsigned short *data, unsigned int len, enum vpp_gamma_sel_e flag); |
20 | extern void vpp_init_lcd_gamma_table(void); |
21 | extern void hdr_tx_pkt_cb(void); |
22 | #endif |
23 |