Searched refs:ref0 (Results 1 – 1 of 1) sorted by relevance
1018 double ref0, setup, gain; in SetLuminanceLevels() local1020 ref0 = Register(VIP_LP_AGC_CLAMP_CNTL0, SYNCTIP_REF0); in SetLuminanceLevels()1026 setup = 7.5 * ref0 / 40.0; in SetLuminanceLevels()1027 gain = 219.0 / (92.5 * ref0 / 40.0); in SetLuminanceLevels()1032 gain = 219.0 / (100.0 * ref0 / 40.0); in SetLuminanceLevels()1041 gain = 219.0 / (100.0 * ref0 / 43.0); in SetLuminanceLevels()1124 int ref0; in SetChromaLevels() local1128 ref0 = Register(VIP_LP_AGC_CLAMP_CNTL0, SYNCTIP_REF0); in SetChromaLevels()1134 CRgain = (40.0 / ref0) * (100.0 / 92.5) * (1.0 / 0.877) * (112.0 / 70.1) / 1.5; in SetChromaLevels()1135 CBgain = (40.0 / ref0) * (100.0 / 92.5) * (1.0 / 0.492) * (112.0 / 88.6) / 1.5; in SetChromaLevels()[all …]