Searched refs:camera_ops (Results 1 – 2 of 2) sorted by relevance
490 camera_device_ops_t* camera_ops = NULL; in camera_device_open() local526 camera_ops = (camera_device_ops_t*)malloc(sizeof(*camera_ops)); in camera_device_open()527 if(!camera_ops) in camera_device_open()535 memset(camera_ops, 0, sizeof(*camera_ops)); in camera_device_open()541 camera_device->base.ops = camera_ops; in camera_device_open()543 camera_ops->set_preview_window = camera_set_preview_window; in camera_device_open()544 camera_ops->set_callbacks = camera_set_callbacks; in camera_device_open()545 camera_ops->enable_msg_type = camera_enable_msg_type; in camera_device_open()546 camera_ops->disable_msg_type = camera_disable_msg_type; in camera_device_open()547 camera_ops->msg_type_enabled = camera_msg_type_enabled; in camera_device_open()[all …]
633 camera_device_ops_t* camera_ops = NULL; in camera_device_open() local669 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()[all …]