Lines Matching refs:camHal
98 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; in util_get_Hal_obj() local
99 hardware = camHal->hardware; in util_get_Hal_obj()
137 camera_hardware_t *camHal = in camera_device_open() local
139 if(!camHal) { in camera_device_open()
145 memset(camHal, 0, sizeof (camera_hardware_t)); in camera_device_open()
146 camHal->hardware = new QCamera2HardwareInterface((uint32_t)cameraId); in camera_device_open()
147 if (camHal->hardware) { in camera_device_open()
148 camHal->cameraId = cameraId; in camera_device_open()
149 device = &camHal->hw_dev; in camera_device_open()
152 device->priv = (void *)camHal; in camera_device_open()
155 if (camHal->hardware) { in camera_device_open()
156 delete camHal->hardware; in camera_device_open()
157 camHal->hardware = NULL; in camera_device_open()
159 free(camHal); in camera_device_open()
181 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; in close_camera_device() local
182 if(camHal ) { in close_camera_device()
184 if(!camHal->camera_released) { in close_camera_device()
191 free(camHal); in close_camera_device()
433 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; in release() local
435 camHal->camera_released = true; in release()