Home | History | Annotate | Download | only in wrapper

Lines Matching refs:device

107 QCameraHardwareInterface *util_get_Hal_obj(const camera2_device_t * device)
110 if(device && device->priv){
111 camera_hardware_t *camHal = (camera_hardware_t *)device->priv;
143 camera2_device_t *device = NULL;
161 device = &camHal->hw_dev;
162 device->common.close = close_camera_device;
163 device->common.version = CAMERA_DEVICE_API_VERSION_2_0;
164 device->ops = &camera_ops;
165 device->priv = (void *)camHal;
173 device = NULL;
178 *hw_device = (hw_device_t*)&device->common;
185 ALOGE("Q%s: device =%p E", __func__, hw_dev);
187 camera2_device_t *device = (camera2_device_t *)hw_dev;
189 if(device) {
190 camera_hardware_t *camHal = (camera_hardware_t *)device->priv;
192 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
207 int set_request_queue_src_ops(const struct camera2_device *device,
211 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
219 int notify_request_queue_not_empty(const struct camera2_device *device)
222 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
230 int set_frame_queue_dst_ops(const struct camera2_device *device,
234 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
242 int get_in_progress_count(const struct camera2_device *device)
246 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
262 int construct_default_request(const struct camera2_device *device,
267 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
275 int allocate_stream(const struct camera2_device *device,
286 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
296 const struct camera2_device *device,
302 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
311 const struct camera2_device *device,
315 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
358 int set_notify_callback(const struct camera2_device *device,
363 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
371 int get_metadata_vendor_tag_ops(const struct camera2_device *device,
375 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
389 int set_preview_window(camera2_device_t * device,
393 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
401 void set_CallBacks(camera2_device_t * device,
409 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
415 void enable_msg_type(camera2_device_t * device, int32_t msg_type)
417 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
423 void disable_msg_type(camera2_device_t * device, int32_t msg_type)
425 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
432 int msg_type_enabled(camera2_device_t * device, int32_t msg_type)
436 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
443 int start_preview(camera2_device_t * device)
447 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
455 void stop_preview(camera2_device_t * device)
458 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
464 int preview_enabled(camera2_device_t * device)
468 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
475 int store_meta_data_in_buffers(camera2_device_t *device, int enable)
479 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
486 int start_recording(camera2_device_t *device)
490 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
497 void stop_recording(camera2_device_t *device)
500 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
506 int recording_enabled(camera2_device_t *device)
510 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
517 void release_recording_frame(camera2_device_t *device,
521 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
527 int auto_focus(camera2_device_t *device)
531 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
538 int cancel_auto_focus(camera2_device_t *device)
542 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
549 int take_picture(camera2_device_t *device)
553 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
560 int cancel_picture(camera2_device_t *device)
565 device);
572 int set_parameters(camera2_device_t *device, const char *parms)
577 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
579 //QCameraParameters param;// = util_get_HAL_parameter(device);
589 char* get_parameters(camera2_device_t *device)
592 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
601 void put_parameters(camera2_device_t *device, char *parm)
605 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
611 int send_command(camera2_device_t *device,
616 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
623 void release(camera2_device_t *device)
626 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
628 camera_hardware_t *camHal = (camera_hardware_t *)device->priv;
634 int dump(camera2_device_t *device, int fd)
638 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);