Lines Matching refs:hardware

81     QCamera2HardwareInterface *hardware;  member
96 QCamera2HardwareInterface *hardware = NULL; in util_get_Hal_obj() local
99 hardware = camHal->hardware; in util_get_Hal_obj()
101 return hardware; in util_get_Hal_obj()
146 camHal->hardware = new QCamera2HardwareInterface((uint32_t)cameraId); in camera_device_open()
147 if (camHal->hardware) { 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()
183 QCamera2HardwareInterface *hardware = util_get_Hal_obj( device); in close_camera_device() local
185 if(hardware != NULL) { in close_camera_device()
186 hardware->release(device); in close_camera_device()
189 if(hardware != NULL) in close_camera_device()
190 delete hardware; in close_camera_device()
203 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in set_preview_window() local
205 if(hardware != NULL) { in set_preview_window()
206 rc = hardware->set_preview_window(device, window); in set_preview_window()
219 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in set_CallBacks() local
220 if(hardware != NULL){ in set_CallBacks()
221 hardware->set_CallBacks(device, notify_cb,data_cb, data_cb_timestamp, get_memory, user); in set_CallBacks()
227 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in enable_msg_type() local
228 if(hardware != NULL){ in enable_msg_type()
229 hardware->enable_msg_type(device, msg_type); in enable_msg_type()
235 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in disable_msg_type() local
237 if(hardware != NULL){ in disable_msg_type()
238 hardware->disable_msg_type(device, msg_type); in disable_msg_type()
246 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in msg_type_enabled() local
247 if(hardware != NULL){ in msg_type_enabled()
248 rc = hardware->msg_type_enabled(device, msg_type); in msg_type_enabled()
257 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in start_preview() local
258 if(hardware != NULL){ in start_preview()
259 rc = hardware->start_preview(device); in start_preview()
268 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in stop_preview() local
269 if(hardware != NULL){ in stop_preview()
270 hardware->stop_preview(device); in stop_preview()
278 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in preview_enabled() local
279 if(hardware != NULL){ in preview_enabled()
280 rc = hardware->preview_enabled(device); in preview_enabled()
289 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in store_meta_data_in_buffers() local
290 if(hardware != NULL){ in store_meta_data_in_buffers()
291 rc = hardware->store_meta_data_in_buffers(device, enable); in store_meta_data_in_buffers()
300 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in start_recording() local
301 if(hardware != NULL){ in start_recording()
302 rc = hardware->start_recording(device); in start_recording()
310 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in stop_recording() local
311 if(hardware != NULL){ in stop_recording()
312 hardware->stop_recording(device); in stop_recording()
320 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in recording_enabled() local
321 if(hardware != NULL){ in recording_enabled()
322 rc = hardware->recording_enabled(device); in recording_enabled()
331 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in release_recording_frame() local
332 if(hardware != NULL){ in release_recording_frame()
333 hardware->release_recording_frame(device, opaque); in release_recording_frame()
341 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in auto_focus() local
342 if(hardware != NULL){ in auto_focus()
343 rc = hardware->auto_focus(device); in auto_focus()
352 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in cancel_auto_focus() local
353 if(hardware != NULL){ in cancel_auto_focus()
354 rc = hardware->cancel_auto_focus(device); in cancel_auto_focus()
363 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in take_picture() local
364 if(hardware != NULL){ in take_picture()
365 rc = hardware->take_picture(device); in take_picture()
375 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in cancel_picture() local
376 if(hardware != NULL){ in cancel_picture()
377 rc = hardware->cancel_picture(device); in cancel_picture()
387 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in set_parameters() local
388 if(hardware != NULL && parms){ in set_parameters()
389 rc = hardware->set_parameters(device, parms); in set_parameters()
397 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in get_parameters() local
398 if(hardware != NULL){ in get_parameters()
400 parms = hardware->get_parameters(device); in get_parameters()
410 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in put_parameters() local
411 if(hardware != NULL){ in put_parameters()
412 hardware->put_parameters(device, parm); in put_parameters()
421 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in send_command() local
422 if(hardware != NULL){ in send_command()
423 rc = hardware->send_command(device, cmd, arg1, arg2); in send_command()
431 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in release() local
432 if(hardware != NULL){ in release()
434 hardware->release(device); in release()
443 QCamera2HardwareInterface *hardware = util_get_Hal_obj(device); in dump() local
444 if(hardware != NULL){ in dump()
445 rc = hardware->dump(device, fd); in dump()