Lines Matching refs:current
46 static CAMERASelect current; variable
148 current = CAMERA_SELECT_IN; in TwlMain()
212 result = CAMERA_I2CActivate(current); in TwlMain()
225 result = CAMERA_I2CFlip(current, CAMERA_FLIP_VERTICAL); in TwlMain()
230 *(current == CAMERA_SELECT_IN ? &flipIn : &flipOut) = CAMERA_FLIP_VERTICAL; in TwlMain()
234 result = CAMERA_I2CFlip(current, CAMERA_FLIP_HORIZONTAL); in TwlMain()
239 *(current == CAMERA_SELECT_IN ? &flipIn : &flipOut) = CAMERA_FLIP_HORIZONTAL; in TwlMain()
243 result = CAMERA_I2CFlip(current, CAMERA_FLIP_REVERSE); in TwlMain()
248 *(current == CAMERA_SELECT_IN ? &flipIn : &flipOut) = CAMERA_FLIP_REVERSE; in TwlMain()
252 result = CAMERA_I2CFlip(current, CAMERA_FLIP_NONE); in TwlMain()
257 *(current == CAMERA_SELECT_IN ? &flipIn : &flipOut) = CAMERA_FLIP_NONE; in TwlMain()
301 result = CAMERA_I2CActivate(current); in CameraInit()
344 current = (current == CAMERA_SELECT_IN ? CAMERA_SELECT_OUT : CAMERA_SELECT_IN); in CameraIntrVsync()
345 …OS_TPrintf("call CAMERA_I2CActivate(%s)... ", (current == CAMERA_SELECT_IN ? "CAMERA_SELECT_IN" : … in CameraIntrVsync()
346 result = CAMERA_I2CActivate(current); in CameraIntrVsync()