Lines Matching refs:camera

76         __func__,g_cam_ctrl.camera[my_obj->my_id].video_dev_name,my_obj->my_id);  in mm_camera_util_get_dev_name()
77 return g_cam_ctrl.camera[my_obj->my_id].video_dev_name; in mm_camera_util_get_dev_name()
85 return &g_cam_ctrl.camera[camera_id].camera_info; in mm_camera_cfg_query_camera_info()
88 static uint8_t mm_camera_cfg_is_parm_supported (mm_camera_t * camera, in mm_camera_cfg_is_parm_supported() argument
95 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_cfg_is_parm_supported()
108 static uint8_t mm_camera_cfg_is_ch_supported (mm_camera_t * camera, in mm_camera_cfg_is_ch_supported() argument
125 static int32_t mm_camera_cfg_set_parm (mm_camera_t * camera, in mm_camera_cfg_set_parm() argument
135 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_cfg_set_parm()
146 static int32_t mm_camera_cfg_get_parm (mm_camera_t * camera, in mm_camera_cfg_get_parm() argument
156 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_cfg_get_parm()
166 static int32_t mm_camera_cfg_request_buf(mm_camera_t * camera, in mm_camera_cfg_request_buf() argument
174 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_cfg_request_buf()
184 static int32_t mm_camera_cfg_prepare_buf(mm_camera_t * camera, in mm_camera_cfg_prepare_buf() argument
192 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_cfg_prepare_buf()
201 static int32_t mm_camera_cfg_unprepare_buf(mm_camera_t * camera, in mm_camera_cfg_unprepare_buf() argument
209 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_cfg_unprepare_buf()
229 static uint8_t mm_camera_ops_is_op_supported (mm_camera_t * camera, in mm_camera_ops_is_op_supported() argument
276 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_ops_is_op_supported()
292 static int32_t mm_camera_ops_action (mm_camera_t * camera, uint8_t start, in mm_camera_ops_action() argument
298 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_ops_action()
309 static int32_t mm_camera_ops_open (mm_camera_t * camera, in mm_camera_ops_open() argument
312 int8_t camera_id = camera->camera_info.camera_id; in mm_camera_ops_open()
355 static void mm_camera_ops_close (mm_camera_t * camera) in mm_camera_ops_close() argument
359 int8_t camera_id = camera->camera_info.camera_id; in mm_camera_ops_close()
378 static void mm_camera_ops_stop (mm_camera_t * camera) in mm_camera_ops_stop() argument
382 int8_t camera_id = camera->camera_info.camera_id; in mm_camera_ops_stop()
397 static int32_t mm_camera_ops_ch_acquire(mm_camera_t * camera, in mm_camera_ops_ch_acquire() argument
403 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_ops_ch_acquire()
413 static void mm_camera_ops_ch_release(mm_camera_t * camera, mm_camera_channel_type_t ch_type) in mm_camera_ops_ch_release() argument
417 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_ops_ch_release()
426 static int32_t mm_camera_ops_ch_attr(mm_camera_t * camera, in mm_camera_ops_ch_attr() argument
433 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_ops_ch_attr()
444 static int32_t mm_camera_ops_sendmsg(mm_camera_t * camera, in mm_camera_ops_sendmsg() argument
452 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_ops_sendmsg()
474 static uint8_t mm_camera_notify_is_event_supported(mm_camera_t * camera, in mm_camera_notify_is_event_supported() argument
489 static int32_t mm_camera_notify_register_event_cb(mm_camera_t * camera, in mm_camera_notify_register_event_cb() argument
499 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_notify_register_event_cb()
510 mm_camera_t * camera, in mm_camera_register_buf_notify() argument
526 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_register_buf_notify()
536 static int32_t mm_camera_buf_done(mm_camera_t * camera, mm_camera_ch_data_buf_t * bufs) in mm_camera_buf_done() argument
540 my_obj = g_cam_ctrl.cam_obj[camera->camera_info.camera_id]; in mm_camera_buf_done()
557 static uint8_t mm_camera_jpeg_is_jpeg_supported (mm_camera_t * camera) in mm_camera_jpeg_is_jpeg_supported() argument
561 static int32_t mm_camera_jpeg_set_parm (mm_camera_t * camera, in mm_camera_jpeg_set_parm() argument
567 static int32_t mm_camera_jpeg_get_parm (mm_camera_t * camera, in mm_camera_jpeg_get_parm() argument
573 static int32_t mm_camera_jpeg_register_event_cb(mm_camera_t * camera, in mm_camera_jpeg_register_event_cb() argument
579 static int32_t mm_camera_jpeg_encode (mm_camera_t * camera, uint8_t start, in mm_camera_jpeg_encode() argument
658 strncpy(g_cam_ctrl.camera[*num_cameras].video_dev_name, in mm_camera_query()
664 g_cam_ctrl.camera[*num_cameras].camera_info.camera_id = *num_cameras; in mm_camera_query()
666 g_cam_ctrl.camera[*num_cameras]. in mm_camera_query()
669 g_cam_ctrl.camera[*num_cameras]. in mm_camera_query()
672 g_cam_ctrl.camera[*num_cameras].camera_info.position = in mm_camera_query()
674 g_cam_ctrl.camera[*num_cameras].camera_info.sensor_mount_angle = in mm_camera_query()
676 g_cam_ctrl.camera[*num_cameras].sensor_type = 0; in mm_camera_query()
677 g_cam_ctrl.camera[*num_cameras].cfg = &mm_camera_cfg; in mm_camera_query()
678 g_cam_ctrl.camera[*num_cameras].ops = &mm_camera_ops; in mm_camera_query()
679 g_cam_ctrl.camera[*num_cameras].evt = &mm_camera_notify; in mm_camera_query()
680 g_cam_ctrl.camera[*num_cameras].jpeg_ops = NULL; in mm_camera_query()
684 g_cam_ctrl.camera[*num_cameras].video_dev_name, in mm_camera_query()
685 g_cam_ctrl.camera[*num_cameras].camera_info.position, in mm_camera_query()
686 g_cam_ctrl.camera[*num_cameras].camera_info.modes_supported, in mm_camera_query()
687 g_cam_ctrl.camera[*num_cameras].sensor_type); in mm_camera_query()
701 return &g_cam_ctrl.camera[0]; in mm_camera_query()
713 mm_cam = & g_cam_ctrl.camera[cam_id]; in get_camera_by_id()