Home | History | Annotate | Download | only in wrapper

Lines Matching refs:device

131 QCameraHardwareInterface *util_get_Hal_obj( struct camera_device * device)
134 if(device && device->priv){
135 camera_hardware_t *camHal = (camera_hardware_t *)device->priv;
142 QCameraParameters* util_get_HAL_parameter( struct camera_device * device)
145 if(device && device->priv){
146 camera_hardware_t *camHal = (camera_hardware_t *)device->priv;
202 camera_device *device = NULL;
226 device = &camHal->hw_dev;
227 device->common.close = close_camera_device;
228 device->ops = &camera_ops;
229 device->priv = (void *)camHal;
237 device = NULL;
242 *hw_device = (hw_device_t*)&device->common;
249 ALOGE("Q%s: device =%p E", __func__, hw_dev);
251 camera_device_t *device = (camera_device_t *)hw_dev;
253 if(device) {
254 camera_hardware_t *camHal = (camera_hardware_t *)device->priv;
256 QCameraHardwareInterface *hardware = util_get_Hal_obj( device);
272 int set_preview_window(struct camera_device * device,
276 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
284 void set_CallBacks(struct camera_device * device,
292 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
298 void enable_msg_type(struct camera_device * device, int32_t msg_type)
300 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
306 void disable_msg_type(struct camera_device * device, int32_t msg_type)
308 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
315 int msg_type_enabled(struct camera_device * device, int32_t msg_type)
319 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
326 int start_preview(struct camera_device * device)
330 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
338 void stop_preview(struct camera_device * device)
341 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
347 int preview_enabled(struct camera_device * device)
351 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
358 int store_meta_data_in_buffers(struct camera_device * device, int enable)
362 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
369 int start_recording(struct camera_device * device)
373 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
380 void stop_recording(struct camera_device * device)
383 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
389 int recording_enabled(struct camera_device * device)
393 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
400 void release_recording_frame(struct camera_device * device,
404 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
410 int auto_focus(struct camera_device * device)
414 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
421 int cancel_auto_focus(struct camera_device * device)
425 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
432 int take_picture(struct camera_device * device)
436 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
443 int cancel_picture(struct camera_device * device)
448 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
455 int set_parameters(struct camera_device * device, const char *parms)
460 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
462 //QCameraParameters param;// = util_get_HAL_parameter(device);
472 char* get_parameters(struct camera_device * device)
475 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
484 void put_parameters(struct camera_device * device, char *parm)
488 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
494 int send_command(struct camera_device * device,
499 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
506 void release(struct camera_device * device)
509 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);
511 camera_hardware_t *camHal = (camera_hardware_t *)device->priv;
517 int dump(struct camera_device * device, int fd)
521 QCameraHardwareInterface *hardware = util_get_Hal_obj(device);