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