Lines Matching refs:cameraInfo

1018     struct CameraInfo cameraInfo;  in configureRecorder()  local
1019 camera->getCameraInfo(camera_index, &cameraInfo); in configureRecorder()
1082 if (cameraInfo.orientation == 90 || cameraInfo.orientation == 270 ) { in configureRecorder()
1277 struct CameraInfo cameraInfo; in startPreview() local
1289 camera->getCameraInfo(camera_index, &cameraInfo); in startPreview()
1290 if (cameraInfo.facing == CAMERA_FACING_FRONT) { in startPreview()
1291 orientation = (cameraInfo.orientation + dinfo.orientation) % 360; in startPreview()
1294 orientation = (cameraInfo.orientation - dinfo.orientation + 360) % 360; in startPreview()
1337 if ((cameraInfo.orientation == 90 || cameraInfo.orientation == 270) && recordingMode) { in startPreview()
1345 camera->getCameraInfo(camera_index, &cameraInfo); in startPreview()
1346 if (cameraInfo.facing == CAMERA_FACING_FRONT) { in startPreview()
1347 orientation = (cameraInfo.orientation + dinfo.orientation) % 360; in startPreview()
1350 orientation = (cameraInfo.orientation - dinfo.orientation + 360) % 360; in startPreview()
2116 struct CameraInfo cameraInfo; in initDefaults() local
2118 camera->getCameraInfo(camera_index, &cameraInfo); in initDefaults()
2119 if (cameraInfo.facing == CAMERA_FACING_FRONT) { in initDefaults()
2120 rotation = cameraInfo.orientation; in initDefaults()
2122 rotation = cameraInfo.orientation; in initDefaults()
2544 struct CameraInfo cameraInfo; in functional_menu() local
3150 camera->getCameraInfo(camera_index, &cameraInfo); in functional_menu()
3151 previewRotation = ((360-cameraInfo.orientation)%360); in functional_menu()