Searched refs:curexp (Results 1 – 1 of 1) sorted by relevance
1005 #define COMPGAIN(base, curexp, newexp) \ in set_flicker()1006 (u8) ((((float) base - 128.0) * ((float) curexp / (float) newexp)) + 128.5) in set_flicker()1007 #define EXP_FROM_COMP(basecomp, curcomp, curexp) \ in set_flicker()1008 (u16)((float)curexp * (float)(u8)(curcomp + 128) / \ in set_flicker()1012 #define COMPGAIN(base, curexp, newexp) \ in set_flicker() argument1013 (u8)(128 + (((u32)(2*(base-128)*curexp + newexp)) / (2 * newexp))) in set_flicker()1014 #define EXP_FROM_COMP(basecomp, curcomp, curexp) \ in set_flicker() argument1015 (u16)(((u32)(curexp * (u8)(curcomp + 128)) / (u8)(basecomp - 128))) in set_flicker()