Lines Matching refs:camera_device

75 int camera_set_preview_window(struct camera_device * device,  in camera_set_preview_window()
93 void camera_set_callbacks(struct camera_device * device, in camera_set_callbacks()
112 void camera_enable_msg_type(struct camera_device * device, int32_t msg_type) in camera_enable_msg_type()
126 void camera_disable_msg_type(struct camera_device * device, int32_t msg_type) in camera_disable_msg_type()
140 int camera_msg_type_enabled(struct camera_device * device, int32_t msg_type) in camera_msg_type_enabled()
154 int camera_start_preview(struct camera_device * device) in camera_start_preview()
171 void camera_stop_preview(struct camera_device * device) in camera_stop_preview()
185 int camera_preview_enabled(struct camera_device * device) in camera_preview_enabled()
201 int camera_store_meta_data_in_buffers(struct camera_device * device, int enable) in camera_store_meta_data_in_buffers()
219 int camera_start_recording(struct camera_device * device) in camera_start_recording()
235 void camera_stop_recording(struct camera_device * device) in camera_stop_recording()
249 int camera_recording_enabled(struct camera_device * device) in camera_recording_enabled()
265 void camera_release_recording_frame(struct camera_device * device, in camera_release_recording_frame()
280 int camera_auto_focus(struct camera_device * device) in camera_auto_focus()
296 int camera_cancel_auto_focus(struct camera_device * device) in camera_cancel_auto_focus()
312 int camera_take_picture(struct camera_device * device) in camera_take_picture()
328 int camera_cancel_picture(struct camera_device * device) in camera_cancel_picture()
344 int camera_set_parameters(struct camera_device * device, const char *params) in camera_set_parameters()
360 char* camera_get_parameters(struct camera_device * device) in camera_get_parameters()
377 static void camera_put_parameters(struct camera_device *device, char *parms) in camera_put_parameters()
391 int camera_send_command(struct camera_device * device, in camera_send_command()
408 void camera_release(struct camera_device * device) in camera_release()
422 int camera_dump(struct camera_device * device, int fd) in camera_dump()
489 ti_camera_device_t* camera_device = NULL; in camera_device_open() local
518 camera_device = (ti_camera_device_t*)malloc(sizeof(*camera_device)); in camera_device_open()
519 if(!camera_device) in camera_device_open()
534 memset(camera_device, 0, sizeof(*camera_device)); in camera_device_open()
537 camera_device->base.common.tag = HARDWARE_DEVICE_TAG; in camera_device_open()
538 camera_device->base.common.version = 0; in camera_device_open()
539 camera_device->base.common.module = (hw_module_t *)(module); in camera_device_open()
540 camera_device->base.common.close = camera_device_close; in camera_device_open()
541 camera_device->base.ops = camera_ops; in camera_device_open()
567 *device = &camera_device->base.common; in camera_device_open()
571 camera_device->cameraid = cameraid; in camera_device_open()
603 if(camera_device) { in camera_device_open()
604 free(camera_device); in camera_device_open()
605 camera_device = NULL; in camera_device_open()