Lines Matching refs:camera_device

91 int camera_set_preview_window(struct camera_device * device,  in camera_set_preview_window()
110 int camera_set_extended_preview_ops(struct camera_device * device, in camera_set_extended_preview_ops()
125 int camera_set_buffer_source(struct camera_device * device, in camera_set_buffer_source()
144 int camera_release_buffer_source(struct camera_device * device, in camera_release_buffer_source()
164 void camera_set_callbacks(struct camera_device * device, in camera_set_callbacks()
183 void camera_enable_msg_type(struct camera_device * device, int32_t msg_type) in camera_enable_msg_type()
197 void camera_disable_msg_type(struct camera_device * device, int32_t msg_type) in camera_disable_msg_type()
211 int camera_msg_type_enabled(struct camera_device * device, int32_t msg_type) in camera_msg_type_enabled()
225 int camera_start_preview(struct camera_device * device) in camera_start_preview()
242 void camera_stop_preview(struct camera_device * device) in camera_stop_preview()
256 int camera_preview_enabled(struct camera_device * device) in camera_preview_enabled()
272 int camera_store_meta_data_in_buffers(struct camera_device * device, int enable) in camera_store_meta_data_in_buffers()
290 int camera_start_recording(struct camera_device * device) in camera_start_recording()
306 void camera_stop_recording(struct camera_device * device) in camera_stop_recording()
320 int camera_recording_enabled(struct camera_device * device) in camera_recording_enabled()
336 void camera_release_recording_frame(struct camera_device * device, in camera_release_recording_frame()
351 int camera_auto_focus(struct camera_device * device) in camera_auto_focus()
367 int camera_cancel_auto_focus(struct camera_device * device) in camera_cancel_auto_focus()
383 int camera_take_picture(struct camera_device * device) in camera_take_picture()
400 int camera_take_picture_with_parameters(struct camera_device * device, const char *params) in camera_take_picture_with_parameters()
417 int camera_cancel_picture(struct camera_device * device) in camera_cancel_picture()
434 int camera_reprocess(struct camera_device * device, const char *params) in camera_reprocess()
450 int camera_cancel_reprocess(struct camera_device * device) in camera_cancel_reprocess()
467 int camera_set_parameters(struct camera_device * device, const char *params) in camera_set_parameters()
483 char* camera_get_parameters(struct camera_device * device) in camera_get_parameters()
500 static void camera_put_parameters(struct camera_device *device, char *parms) in camera_put_parameters()
514 int camera_send_command(struct camera_device * device, in camera_send_command()
549 void camera_release(struct camera_device * device) in camera_release()
563 int camera_dump(struct camera_device * device, int fd) in camera_dump()
632 ti_camera_device_t* camera_device = NULL; in camera_device_open() local
661 camera_device = (ti_camera_device_t*)malloc(sizeof(*camera_device)); in camera_device_open()
662 if(!camera_device) in camera_device_open()
677 memset(camera_device, 0, sizeof(*camera_device)); in camera_device_open()
680 camera_device->base.common.tag = HARDWARE_DEVICE_TAG; in camera_device_open()
681 camera_device->base.common.version = 0; in camera_device_open()
682 camera_device->base.common.module = (hw_module_t *)(module); in camera_device_open()
683 camera_device->base.common.close = camera_device_close; in camera_device_open()
684 camera_device->base.ops = camera_ops; in camera_device_open()
710 *device = &camera_device->base.common; in camera_device_open()
714 camera_device->cameraid = cameraid; in camera_device_open()
746 if(camera_device) { in camera_device_open()
747 free(camera_device); in camera_device_open()
748 camera_device = NULL; in camera_device_open()