Lines Matching full:camhal
134 camera_hardware_t *camHal = (camera_hardware_t *)device->priv;
135 hardware = camHal->hardware;
145 camera_hardware_t *camHal = (camera_hardware_t *)device->priv;
146 param = &(camHal->parameters);
191 camera_hardware_t *camHal =
193 if(!camHal) {
199 memset(camHal, 0, sizeof (camera_hardware_t));
200 camHal->hardware = new QCameraHardwareInterface(cameraId, mode); //HAL_openCameraHardware(cameraId);
201 if (camHal->hardware && camHal->hardware->isCameraReady()) {
202 camHal->cameraId = cameraId;
203 device = &camHal->hw_dev;
206 device->priv = (void *)camHal;
209 if (camHal->hardware) {
210 delete camHal->hardware;
211 camHal->hardware = NULL;
213 free(camHal);
231 camera_hardware_t *camHal = (camera_hardware_t *)device->priv;
232 if(camHal ) {
234 if(!camHal->camera_released) {
241 free(camHal);
488 camera_hardware_t *camHal = (camera_hardware_t *)device->priv;
490 camHal->camera_released = true;