Home | History | Annotate | Download | only in camera

Lines Matching refs:mEmulatedCameras

44           mEmulatedCameras(NULL),
67 if (mEmulatedCameras == NULL) {
68 mEmulatedCameras = new EmulatedBaseCamera*[mEmulatedCameraNum + 1];
69 if (mEmulatedCameras == NULL) {
74 memset(mEmulatedCameras, 0,
81 mEmulatedCameras[camera_id] =
86 mEmulatedCameras[camera_id] =
91 mEmulatedCameras[camera_id] =
99 if (mEmulatedCameras[camera_id] != NULL) {
102 res = mEmulatedCameras[camera_id]->Initialize();
106 delete mEmulatedCameras[camera_id];
123 if (mEmulatedCameras == NULL) {
124 mEmulatedCameras = new EmulatedBaseCamera*[mEmulatedCameraNum];
125 if (mEmulatedCameras == NULL) {
130 memset(mEmulatedCameras, 0,
137 mEmulatedCameras[camera_id] =
142 mEmulatedCameras[camera_id] =
147 mEmulatedCameras[camera_id] =
156 if (mEmulatedCameras[camera_id] != NULL) {
159 res = mEmulatedCameras[camera_id]->Initialize();
163 delete mEmulatedCameras[camera_id];
191 if (mEmulatedCameras != NULL) {
193 if (mEmulatedCameras[n] != NULL) {
194 delete mEmulatedCameras[n];
197 delete[] mEmulatedCameras;
231 return mEmulatedCameras[camera_id]->connectCamera(device);
249 return mEmulatedCameras[camera_id]->getCameraInfo(info);
349 mEmulatedCameras = new EmulatedBaseCamera*[num + 2];
350 if (mEmulatedCameras == NULL) {
356 memset(mEmulatedCameras, 0, sizeof(EmulatedBaseCamera*) * (num + 1));
404 mEmulatedCameras[index] = qemu_cam;
487 EmulatedBaseCamera *cam = mEmulatedCameras[cameraId];