gamma_en = <1>;/*1:enabel ;0:disable*/
wb_en = <1>;/*1:enabel ;0:disable*/
cm_en = <1>;/*1:enabel ;0:disable*/
- wb_sel = <1>;/*1:mtx ;0:gainoff*/
+ wb_sel = <0>;/*1:mtx ;0:gainoff*/
vlock_en = <1>;/*1:enable;0:disable*/
vlock_mode = <0x4>;
/* vlock work mode:
gamma_en = <1>;/*1:enabel ;0:disable*/
wb_en = <1>;/*1:enabel ;0:disable*/
cm_en = <1>;/*1:enabel ;0:disable*/
- wb_sel = <1>;/*1:mtx ;0:gainoff*/
+ wb_sel = <0>;/*1:mtx ;0:gainoff*/
vlock_en = <1>;/*1:enable;0:disable*/
vlock_mode = <0x4>;
/* vlock work mode:
gamma_en = <1>;/*1:enabel ;0:disable*/
wb_en = <1>;/*1:enabel ;0:disable*/
cm_en = <1>;/*1:enabel ;0:disable*/
- wb_sel = <1>;/*1:mtx ;0:gainoff*/
+ wb_sel = <0>;/*1:mtx ;0:gainoff*/
vlock_en = <1>;/*1:enable;0:disable*/
vlock_mode = <0x4>;
/* vlock work mode:
int y, u, v;
y = ((47*r + 157*g + 16*b + 128) >> 8) + 16;
- u = ((-26*r - 87*g + 112*b + 128) >> 8) + 128;
+ u = ((-26*r - 87*g + 113*b + 128) >> 8) + 128;
v = ((112*r - 102*g - 10*b + 128) >> 8) + 128;
return (y << 16) | (u << 8) | v;