Lines Matching refs:camera_ops
633 camera_device_ops_t* camera_ops = NULL; in camera_device_open() local
669 camera_ops = (camera_device_ops_t*)malloc(sizeof(*camera_ops)); in camera_device_open()
670 if(!camera_ops) in camera_device_open()
678 memset(camera_ops, 0, sizeof(*camera_ops)); in camera_device_open()
684 camera_device->base.ops = camera_ops; in camera_device_open()
686 camera_ops->set_preview_window = camera_set_preview_window; in camera_device_open()
687 camera_ops->set_callbacks = camera_set_callbacks; in camera_device_open()
688 camera_ops->enable_msg_type = camera_enable_msg_type; in camera_device_open()
689 camera_ops->disable_msg_type = camera_disable_msg_type; in camera_device_open()
690 camera_ops->msg_type_enabled = camera_msg_type_enabled; in camera_device_open()
691 camera_ops->start_preview = camera_start_preview; in camera_device_open()
692 camera_ops->stop_preview = camera_stop_preview; in camera_device_open()
693 camera_ops->preview_enabled = camera_preview_enabled; in camera_device_open()
694 camera_ops->store_meta_data_in_buffers = camera_store_meta_data_in_buffers; in camera_device_open()
695 camera_ops->start_recording = camera_start_recording; in camera_device_open()
696 camera_ops->stop_recording = camera_stop_recording; in camera_device_open()
697 camera_ops->recording_enabled = camera_recording_enabled; in camera_device_open()
698 camera_ops->release_recording_frame = camera_release_recording_frame; in camera_device_open()
699 camera_ops->auto_focus = camera_auto_focus; in camera_device_open()
700 camera_ops->cancel_auto_focus = camera_cancel_auto_focus; in camera_device_open()
701 camera_ops->take_picture = camera_take_picture; in camera_device_open()
702 camera_ops->cancel_picture = camera_cancel_picture; in camera_device_open()
703 camera_ops->set_parameters = camera_set_parameters; in camera_device_open()
704 camera_ops->get_parameters = camera_get_parameters; in camera_device_open()
705 camera_ops->put_parameters = camera_put_parameters; in camera_device_open()
706 camera_ops->send_command = camera_send_command; in camera_device_open()
707 camera_ops->release = camera_release; in camera_device_open()
708 camera_ops->dump = camera_dump; in camera_device_open()
750 if(camera_ops) { in camera_device_open()
751 free(camera_ops); in camera_device_open()
752 camera_ops = NULL; in camera_device_open()