Lines Matching refs:mCamHal3Base

53 CameraHAL3Base *mCamHal3Base = NULL;  variable
59 mCamHal3Base = NULL; in MainTestContext()
70 if (mCamHal3Base != NULL) { in hal3appGetUserEvent()
71 delete mCamHal3Base; in hal3appGetUserEvent()
73 mCamHal3Base = new CameraHAL3Base(0); in hal3appGetUserEvent()
74 num_of_cameras = mCamHal3Base->hal3appCameraTestLoad(); in hal3appGetUserEvent()
87 mCamHal3Base->mCameraIndex = choice; in hal3appGetUserEvent()
88 rc = mCamHal3Base->hal3appCameraLibOpen(choice); in hal3appGetUserEvent()
95 mCamHal3Base->hal3appCameraPreviewInit(MENU_START_PREVIEW, in hal3appGetUserEvent()
96 mCamHal3Base->mCameraIndex, PREVIEW_WIDTH, PREVIEW_HEIGHT); in hal3appGetUserEvent()
97 mCamHal3Base->mPreviewRunning = 1; mCamHal3Base->mVideoRunning = 0; in hal3appGetUserEvent()
98 mCamHal3Base->mSnapShotRunning = 0; in hal3appGetUserEvent()
102 mCamHal3Base->hal3appCameraVideoInit(MENU_START_VIDEO, in hal3appGetUserEvent()
103 mCamHal3Base->mCameraIndex, VIDEO_WIDTH, VIDEO_HEIGHT); in hal3appGetUserEvent()
104 mCamHal3Base->mPreviewRunning = 0; mCamHal3Base->mVideoRunning = 1; in hal3appGetUserEvent()
105 mCamHal3Base->mSnapShotRunning = 0; in hal3appGetUserEvent()
111 if (mCamHal3Base->mPreviewRunning == 1) { in hal3appGetUserEvent()
114 mCamHal3Base->hal3appCameraCaptureInit(0, 0, req_capture); in hal3appGetUserEvent()
115 mCamHal3Base->mPreviewRunning = 0; mCamHal3Base->mVideoRunning = 0; in hal3appGetUserEvent()
116 mCamHal3Base->mSnapShotRunning = 1; in hal3appGetUserEvent()
118 mCamHal3Base->hal3appCameraPreviewInit(MENU_START_PREVIEW, in hal3appGetUserEvent()
119 mCamHal3Base->mCameraIndex, PREVIEW_WIDTH, PREVIEW_HEIGHT); in hal3appGetUserEvent()
120 mCamHal3Base->mPreviewRunning = 1; mCamHal3Base->mVideoRunning = 0; in hal3appGetUserEvent()
121 mCamHal3Base->mSnapShotRunning = 0; in hal3appGetUserEvent()
128 mCamHal3Base->hal3appRawCaptureInit(0, 0, req_capture); in hal3appGetUserEvent()
129 mCamHal3Base->mPreviewRunning = 0; mCamHal3Base->mVideoRunning = 0; in hal3appGetUserEvent()
130 mCamHal3Base->mSnapShotRunning = 1; in hal3appGetUserEvent()
134 if(mCamHal3Base->mPreviewRunning == 0) in hal3appGetUserEvent()
141 mCamHal3Base->ir_mode = irmode; in hal3appGetUserEvent()
142 mCamHal3Base->hal3appCameraPreviewInit(MENU_TOGGLE_IR_MODE, in hal3appGetUserEvent()
143 mCamHal3Base->mCameraIndex, PREVIEW_WIDTH, PREVIEW_HEIGHT); in hal3appGetUserEvent()
148 if(mCamHal3Base->mPreviewRunning == 0) in hal3appGetUserEvent()
155 mCamHal3Base->svhdr_mode = svhdrmode; in hal3appGetUserEvent()
156 mCamHal3Base->hal3appCameraPreviewInit(MENU_TOGGLE_SVHDR_MODE, in hal3appGetUserEvent()
157 mCamHal3Base->mCameraIndex, PREVIEW_WIDTH, PREVIEW_HEIGHT); in hal3appGetUserEvent()
161 if (mCamHal3Base->binning_mode == 0) in hal3appGetUserEvent()
162 mCamHal3Base->binning_mode = 1; in hal3appGetUserEvent()
164 mCamHal3Base->binning_mode = 0; in hal3appGetUserEvent()
165 LOGE(" Toggling Binning mode to :%d",mCamHal3Base->binning_mode); in hal3appGetUserEvent()
166 printf(" Toggling to Binning mode :%d",mCamHal3Base->binning_mode ); in hal3appGetUserEvent()
167 if(mCamHal3Base->mPreviewRunning == 1) in hal3appGetUserEvent()
168 mCamHal3Base->hal3appCameraPreviewInit(MENU_TOGGLE_BINNING_CORRECTION, in hal3appGetUserEvent()
169 mCamHal3Base->mCameraIndex, PREVIEW_WIDTH, PREVIEW_HEIGHT); in hal3appGetUserEvent()
170 if(mCamHal3Base->mVideoRunning == 1) in hal3appGetUserEvent()
171 mCamHal3Base->hal3appCameraVideoInit(MENU_TOGGLE_BINNING_CORRECTION, in hal3appGetUserEvent()
172 mCamHal3Base->mCameraIndex, VIDEO_WIDTH, VIDEO_HEIGHT); in hal3appGetUserEvent()