Lines Matching refs:current
48 static CAMERASelect current; variable
148 current = CAMERA_SELECT_IN; in TwlMain()
211 result = CAMERA_I2CActivate(current); in TwlMain()
222 result = CAMERA_I2CFlip(current, CAMERA_FLIP_VERTICAL); in TwlMain()
227 *(current == CAMERA_SELECT_IN ? &flipIn : &flipOut) = CAMERA_FLIP_VERTICAL; in TwlMain()
231 result = CAMERA_I2CFlip(current, CAMERA_FLIP_HORIZONTAL); in TwlMain()
236 *(current == CAMERA_SELECT_IN ? &flipIn : &flipOut) = CAMERA_FLIP_HORIZONTAL; in TwlMain()
240 result = CAMERA_I2CFlip(current, CAMERA_FLIP_REVERSE); in TwlMain()
245 *(current == CAMERA_SELECT_IN ? &flipIn : &flipOut) = CAMERA_FLIP_REVERSE; in TwlMain()
249 result = CAMERA_I2CFlip(current, CAMERA_FLIP_NONE); in TwlMain()
254 *(current == CAMERA_SELECT_IN ? &flipIn : &flipOut) = CAMERA_FLIP_NONE; in TwlMain()
298 result = CAMERA_I2CActivate(current); in CameraInit()
340 current = (current == CAMERA_SELECT_IN ? CAMERA_SELECT_OUT : CAMERA_SELECT_IN); in CameraIntrVsync()
341 …OS_TPrintf("call CAMERA_I2CActivate(%s)... ", (current == CAMERA_SELECT_IN ? "CAMERA_SELECT_IN" : … in CameraIntrVsync()
342 result = CAMERA_I2CActivate(current); in CameraIntrVsync()