/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 344 mm_evt_paylod_add_stream_t *payload = in mm_channel_fsm_fn_stopped() local 347 payload->buf_cb, in mm_channel_fsm_fn_stopped() 348 payload->user_data, in mm_channel_fsm_fn_stopped() 349 payload->ext_image_mode, in mm_channel_fsm_fn_stopped() 350 payload->sensor_idx); in mm_channel_fsm_fn_stopped() 363 mm_evt_payload_start_stream_t *payload = in mm_channel_fsm_fn_stopped() local 366 payload->num_streams, in mm_channel_fsm_fn_stopped() 367 payload->stream_ids); in mm_channel_fsm_fn_stopped() 377 mm_evt_paylod_config_stream_t *payload = in mm_channel_fsm_fn_stopped() local 380 payload->stream_id, in mm_channel_fsm_fn_stopped() [all …]
|
D | mm_camera.c | 116 mm_evt_payload_stop_stream_t payload; in mm_camera_handle_async_cmd() local 121 memset(&payload, 0, sizeof(mm_evt_payload_stop_stream_t)); in mm_camera_handle_async_cmd() 122 payload.num_streams = async_cmd->u.stop_cmd.num_streams; in mm_camera_handle_async_cmd() 123 payload.stream_ids = async_cmd->u.stop_cmd.stream_ids; in mm_camera_handle_async_cmd() 126 (void*)&payload, in mm_camera_handle_async_cmd() 912 mm_evt_paylod_add_stream_t payload; in mm_camera_add_stream() local 918 memset(&payload, 0, sizeof(mm_evt_paylod_add_stream_t)); in mm_camera_add_stream() 919 payload.buf_cb = buf_cb; in mm_camera_add_stream() 920 payload.user_data = user_data; in mm_camera_add_stream() 921 payload.ext_image_mode = ext_image_mode; in mm_camera_add_stream() [all …]
|
D | mm_camera_stream.c | 987 mm_evt_paylod_stream_parm_t *payload = (mm_evt_paylod_stream_parm_t *)in_value; in mm_stream_set_parm_acquire() local 988 mm_camera_stream_parm_t parm_type = payload->parm_type; in mm_stream_set_parm_acquire() 1010 mm_evt_paylod_stream_parm_t *payload = (mm_evt_paylod_stream_parm_t *)out_value; in mm_stream_get_parm_acquire() local 1011 mm_camera_stream_parm_t parm_type = payload->parm_type; in mm_stream_get_parm_acquire() 1039 mm_evt_paylod_stream_parm_t *payload = (mm_evt_paylod_stream_parm_t *)in_value; in mm_stream_set_parm_config() local 1040 mm_camera_stream_parm_t parm_type = payload->parm_type; in mm_stream_set_parm_config() 1041 void *value = payload->value; in mm_stream_set_parm_config() 1058 mm_evt_paylod_stream_parm_t *payload = (mm_evt_paylod_stream_parm_t *)out_value; in mm_stream_get_parm_config() local 1060 if(payload == NULL) { in mm_stream_get_parm_config() 1067 my_obj->ext_image_mode, my_obj->fd, my_obj->state, (int)payload->parm_type); in mm_stream_get_parm_config() [all …]
|
/device/asus/flo/camera/QCamera2/HAL/ |
D | QCameraStateMachine.cpp | 242 int32_t QCameraStateMachine::stateMachine(qcamera_sm_evt_enum_t evt, void *payload) in stateMachine() argument 247 rc = procEvtPreviewStoppedState(evt, payload); in stateMachine() 250 rc = procEvtPreviewReadyState(evt, payload); in stateMachine() 253 rc = procEvtPreviewingState(evt, payload); in stateMachine() 256 rc = procEvtPrepareSnapshotState(evt, payload); in stateMachine() 259 rc = procEvtPicTakingState(evt, payload); in stateMachine() 262 rc = procEvtRecordingState(evt, payload); in stateMachine() 265 rc = procEvtVideoPicTakingState(evt, payload); in stateMachine() 268 rc = procEvtPreviewPicTakingState(evt, payload); in stateMachine() 292 void *payload) in procEvtPreviewStoppedState() argument [all …]
|
D | QCameraStateMachine.h | 183 int32_t stateMachine(qcamera_sm_evt_enum_t evt, void *payload); 184 int32_t procEvtPreviewStoppedState(qcamera_sm_evt_enum_t evt, void *payload); 185 int32_t procEvtPreviewReadyState(qcamera_sm_evt_enum_t evt, void *payload); 186 int32_t procEvtPreviewingState(qcamera_sm_evt_enum_t evt, void *payload); 187 int32_t procEvtPrepareSnapshotState(qcamera_sm_evt_enum_t evt, void *payload); 188 int32_t procEvtPicTakingState(qcamera_sm_evt_enum_t evt, void *payload); 189 int32_t procEvtRecordingState(qcamera_sm_evt_enum_t evt, void *payload); 190 int32_t procEvtVideoPicTakingState(qcamera_sm_evt_enum_t evt, void *payload); 191 int32_t procEvtPreviewPicTakingState(qcamera_sm_evt_enum_t evt, void *payload);
|
D | QCamera2HWICallbacks.cpp | 700 qcamera_sm_internal_evt_payload_t *payload = in metadata_stream_cb_routine() local 702 if (NULL != payload) { in metadata_stream_cb_routine() 703 memset(payload, 0, sizeof(qcamera_sm_internal_evt_payload_t)); in metadata_stream_cb_routine() 704 payload->evt_type = QCAMERA_INTERNAL_EVT_FOCUS_UPDATE; in metadata_stream_cb_routine() 705 payload->focus_data = pMetaData->focus_data; in metadata_stream_cb_routine() 706 int32_t rc = pme->processEvt(QCAMERA_SM_EVT_EVT_INTERNAL, payload); in metadata_stream_cb_routine() 709 free(payload); in metadata_stream_cb_routine() 710 payload = NULL; in metadata_stream_cb_routine() 728 qcamera_sm_internal_evt_payload_t *payload = in metadata_stream_cb_routine() local 730 if (NULL != payload) { in metadata_stream_cb_routine() [all …]
|
D | QCamera2HWI.cpp | 147 qcamera_sm_evt_setcb_payload_t payload; in set_CallBacks() local 148 payload.notify_cb = notify_cb; in set_CallBacks() 149 payload.data_cb = data_cb; in set_CallBacks() 150 payload.data_cb_timestamp = data_cb_timestamp; in set_CallBacks() 151 payload.get_memory = get_memory; in set_CallBacks() 152 payload.user = user; in set_CallBacks() 155 int32_t rc = hw->processAPI(QCAMERA_SM_EVT_SET_CALLBACKS, (void *)&payload); in set_CallBacks() 767 qcamera_sm_evt_command_payload_t payload; in send_command() local 768 memset(&payload, 0, sizeof(qcamera_sm_evt_command_payload_t)); in send_command() 769 payload.cmd = cmd; in send_command() [all …]
|
/device/lge/hammerhead/camera/QCamera2/HAL/ |
D | QCameraStateMachine.cpp | 242 int32_t QCameraStateMachine::stateMachine(qcamera_sm_evt_enum_t evt, void *payload) in stateMachine() argument 247 rc = procEvtPreviewStoppedState(evt, payload); in stateMachine() 250 rc = procEvtPreviewReadyState(evt, payload); in stateMachine() 253 rc = procEvtPreviewingState(evt, payload); in stateMachine() 256 rc = procEvtPrepareSnapshotState(evt, payload); in stateMachine() 259 rc = procEvtPicTakingState(evt, payload); in stateMachine() 262 rc = procEvtRecordingState(evt, payload); in stateMachine() 265 rc = procEvtVideoPicTakingState(evt, payload); in stateMachine() 268 rc = procEvtPreviewPicTakingState(evt, payload); in stateMachine() 292 void *payload) in procEvtPreviewStoppedState() argument [all …]
|
D | QCameraStateMachine.h | 183 int32_t stateMachine(qcamera_sm_evt_enum_t evt, void *payload); 184 int32_t procEvtPreviewStoppedState(qcamera_sm_evt_enum_t evt, void *payload); 185 int32_t procEvtPreviewReadyState(qcamera_sm_evt_enum_t evt, void *payload); 186 int32_t procEvtPreviewingState(qcamera_sm_evt_enum_t evt, void *payload); 187 int32_t procEvtPrepareSnapshotState(qcamera_sm_evt_enum_t evt, void *payload); 188 int32_t procEvtPicTakingState(qcamera_sm_evt_enum_t evt, void *payload); 189 int32_t procEvtRecordingState(qcamera_sm_evt_enum_t evt, void *payload); 190 int32_t procEvtVideoPicTakingState(qcamera_sm_evt_enum_t evt, void *payload); 191 int32_t procEvtPreviewPicTakingState(qcamera_sm_evt_enum_t evt, void *payload);
|
D | QCamera2HWICallbacks.cpp | 700 qcamera_sm_internal_evt_payload_t *payload = in metadata_stream_cb_routine() local 702 if (NULL != payload) { in metadata_stream_cb_routine() 703 memset(payload, 0, sizeof(qcamera_sm_internal_evt_payload_t)); in metadata_stream_cb_routine() 704 payload->evt_type = QCAMERA_INTERNAL_EVT_FOCUS_UPDATE; in metadata_stream_cb_routine() 705 payload->focus_data = pMetaData->focus_data; in metadata_stream_cb_routine() 706 int32_t rc = pme->processEvt(QCAMERA_SM_EVT_EVT_INTERNAL, payload); in metadata_stream_cb_routine() 709 free(payload); in metadata_stream_cb_routine() 710 payload = NULL; in metadata_stream_cb_routine() 728 qcamera_sm_internal_evt_payload_t *payload = in metadata_stream_cb_routine() local 730 if (NULL != payload) { in metadata_stream_cb_routine() [all …]
|
D | QCamera2HWI.cpp | 147 qcamera_sm_evt_setcb_payload_t payload; in set_CallBacks() local 148 payload.notify_cb = notify_cb; in set_CallBacks() 149 payload.data_cb = data_cb; in set_CallBacks() 150 payload.data_cb_timestamp = data_cb_timestamp; in set_CallBacks() 151 payload.get_memory = get_memory; in set_CallBacks() 152 payload.user = user; in set_CallBacks() 155 int32_t rc = hw->processAPI(QCAMERA_SM_EVT_SET_CALLBACKS, (void *)&payload); in set_CallBacks() 767 qcamera_sm_evt_command_payload_t payload; in send_command() local 768 memset(&payload, 0, sizeof(qcamera_sm_evt_command_payload_t)); in send_command() 769 payload.cmd = cmd; in send_command() [all …]
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCameraStateMachine.cpp | 242 int32_t QCameraStateMachine::stateMachine(qcamera_sm_evt_enum_t evt, void *payload) in stateMachine() argument 248 rc = procEvtPreviewStoppedState(evt, payload); in stateMachine() 251 rc = procEvtPreviewReadyState(evt, payload); in stateMachine() 254 rc = procEvtPreviewingState(evt, payload); in stateMachine() 257 rc = procEvtPrepareSnapshotState(evt, payload); in stateMachine() 260 rc = procEvtPicTakingState(evt, payload); in stateMachine() 263 rc = procEvtRecordingState(evt, payload); in stateMachine() 266 rc = procEvtVideoPicTakingState(evt, payload); in stateMachine() 269 rc = procEvtPreviewPicTakingState(evt, payload); in stateMachine() 293 void *payload) in procEvtPreviewStoppedState() argument [all …]
|
D | QCameraStateMachine.h | 204 int32_t stateMachine(qcamera_sm_evt_enum_t evt, void *payload); 205 int32_t procEvtPreviewStoppedState(qcamera_sm_evt_enum_t evt, void *payload); 206 int32_t procEvtPreviewReadyState(qcamera_sm_evt_enum_t evt, void *payload); 207 int32_t procEvtPreviewingState(qcamera_sm_evt_enum_t evt, void *payload); 208 int32_t procEvtPrepareSnapshotState(qcamera_sm_evt_enum_t evt, void *payload); 209 int32_t procEvtPicTakingState(qcamera_sm_evt_enum_t evt, void *payload); 210 int32_t procEvtRecordingState(qcamera_sm_evt_enum_t evt, void *payload); 211 int32_t procEvtVideoPicTakingState(qcamera_sm_evt_enum_t evt, void *payload); 212 int32_t procEvtPreviewPicTakingState(qcamera_sm_evt_enum_t evt, void *payload);
|
D | QCamera2HWICallbacks.cpp | 100 qcamera_sm_internal_evt_payload_t *payload = in zsl_channel_cb() local 102 if (NULL != payload) { in zsl_channel_cb() 103 memset(payload, 0, sizeof(qcamera_sm_internal_evt_payload_t)); in zsl_channel_cb() 104 payload->evt_type = QCAMERA_INTERNAL_EVT_READY_FOR_SNAPSHOT; in zsl_channel_cb() 105 int32_t rc = pme->processEvt(QCAMERA_SM_EVT_EVT_INTERNAL, payload); in zsl_channel_cb() 108 free(payload); in zsl_channel_cb() 109 payload = NULL; in zsl_channel_cb() 196 qcamera_sm_internal_evt_payload_t *payload = in zsl_channel_cb() local 198 if (NULL != payload) { in zsl_channel_cb() 199 memset(payload, 0, sizeof(qcamera_sm_internal_evt_payload_t)); in zsl_channel_cb() [all …]
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera.c | 910 mm_evt_paylod_config_stream_t payload; in mm_camera_config_stream() local 916 memset(&payload, 0, sizeof(mm_evt_paylod_config_stream_t)); in mm_camera_config_stream() 917 payload.stream_id = stream_id; in mm_camera_config_stream() 918 payload.config = config; in mm_camera_config_stream() 921 (void*)&payload, in mm_camera_config_stream() 1168 mm_evt_paylod_set_get_stream_parms_t payload; in mm_camera_set_stream_parms() local 1176 memset(&payload, 0, sizeof(payload)); in mm_camera_set_stream_parms() 1177 payload.stream_id = s_id; in mm_camera_set_stream_parms() 1178 payload.parms = parms; in mm_camera_set_stream_parms() 1182 (void *)&payload, in mm_camera_set_stream_parms() [all …]
|
D | mm_camera_channel.c | 74 mm_evt_paylod_set_get_stream_parms_t *payload); 76 mm_evt_paylod_set_get_stream_parms_t *payload); 78 mm_evt_paylod_do_stream_action_t *payload); 80 mm_evt_paylod_map_stream_buf_t *payload); 82 mm_evt_paylod_unmap_stream_buf_t *payload); 412 mm_evt_paylod_config_stream_t *payload = in mm_channel_fsm_fn_stopped() local 415 payload->stream_id, in mm_channel_fsm_fn_stopped() 416 payload->config); in mm_channel_fsm_fn_stopped() 421 cam_bundle_config_t *payload = in mm_channel_fsm_fn_stopped() local 423 rc = mm_channel_get_bundle_info(my_obj, payload); in mm_channel_fsm_fn_stopped() [all …]
|
D | mm_camera_stream.c | 483 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_acquired() local 485 rc = mm_stream_set_parm(my_obj, payload->parms); in mm_stream_fsm_acquired() 490 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_acquired() local 492 rc = mm_stream_get_parm(my_obj, payload->parms); in mm_stream_fsm_acquired() 546 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_cfg() local 548 rc = mm_stream_set_parm(my_obj, payload->parms); in mm_stream_fsm_cfg() 553 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_cfg() local 555 rc = mm_stream_get_parm(my_obj, payload->parms); in mm_stream_fsm_cfg() 614 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_buffed() local 616 rc = mm_stream_set_parm(my_obj, payload->parms); in mm_stream_fsm_buffed() [all …]
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera.c | 911 mm_evt_paylod_config_stream_t payload; in mm_camera_config_stream() local 917 memset(&payload, 0, sizeof(mm_evt_paylod_config_stream_t)); in mm_camera_config_stream() 918 payload.stream_id = stream_id; in mm_camera_config_stream() 919 payload.config = config; in mm_camera_config_stream() 922 (void*)&payload, in mm_camera_config_stream() 1169 mm_evt_paylod_set_get_stream_parms_t payload; in mm_camera_set_stream_parms() local 1177 memset(&payload, 0, sizeof(payload)); in mm_camera_set_stream_parms() 1178 payload.stream_id = s_id; in mm_camera_set_stream_parms() 1179 payload.parms = parms; in mm_camera_set_stream_parms() 1183 (void *)&payload, in mm_camera_set_stream_parms() [all …]
|
D | mm_camera_channel.c | 74 mm_evt_paylod_set_get_stream_parms_t *payload); 76 mm_evt_paylod_set_get_stream_parms_t *payload); 78 mm_evt_paylod_do_stream_action_t *payload); 80 mm_evt_paylod_map_stream_buf_t *payload); 82 mm_evt_paylod_unmap_stream_buf_t *payload); 414 mm_evt_paylod_config_stream_t *payload = in mm_channel_fsm_fn_stopped() local 417 payload->stream_id, in mm_channel_fsm_fn_stopped() 418 payload->config); in mm_channel_fsm_fn_stopped() 423 cam_bundle_config_t *payload = in mm_channel_fsm_fn_stopped() local 425 rc = mm_channel_get_bundle_info(my_obj, payload); in mm_channel_fsm_fn_stopped() [all …]
|
D | mm_camera_stream.c | 464 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_acquired() local 466 rc = mm_stream_set_parm(my_obj, payload->parms); in mm_stream_fsm_acquired() 471 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_acquired() local 473 rc = mm_stream_get_parm(my_obj, payload->parms); in mm_stream_fsm_acquired() 527 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_cfg() local 529 rc = mm_stream_set_parm(my_obj, payload->parms); in mm_stream_fsm_cfg() 534 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_cfg() local 536 rc = mm_stream_get_parm(my_obj, payload->parms); in mm_stream_fsm_cfg() 595 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_buffed() local 597 rc = mm_stream_set_parm(my_obj, payload->parms); in mm_stream_fsm_buffed() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera.c | 985 mm_evt_paylod_config_stream_t payload; in mm_camera_config_stream() local 991 memset(&payload, 0, sizeof(mm_evt_paylod_config_stream_t)); in mm_camera_config_stream() 992 payload.stream_id = stream_id; in mm_camera_config_stream() 993 payload.config = config; in mm_camera_config_stream() 996 (void*)&payload, in mm_camera_config_stream() 1244 mm_evt_paylod_set_get_stream_parms_t payload; in mm_camera_set_stream_parms() local 1252 memset(&payload, 0, sizeof(payload)); in mm_camera_set_stream_parms() 1253 payload.stream_id = s_id; in mm_camera_set_stream_parms() 1254 payload.parms = parms; in mm_camera_set_stream_parms() 1258 (void *)&payload, in mm_camera_set_stream_parms() [all …]
|
D | mm_camera_channel.c | 76 mm_evt_paylod_set_get_stream_parms_t *payload); 78 mm_evt_paylod_set_get_stream_parms_t *payload); 80 mm_evt_paylod_do_stream_action_t *payload); 82 mm_evt_paylod_map_stream_buf_t *payload); 84 mm_evt_paylod_unmap_stream_buf_t *payload); 249 int8_t start = cmd_cb->u.gen_cmd.payload[0]; in mm_channel_process_stream_buf() 265 int8_t start = cmd_cb->u.gen_cmd.payload[0]; in mm_channel_process_stream_buf() 278 int8_t start = cmd_cb->u.gen_cmd.payload[0]; in mm_channel_process_stream_buf() 551 mm_evt_paylod_config_stream_t *payload = in mm_channel_fsm_fn_stopped() local 554 payload->stream_id, in mm_channel_fsm_fn_stopped() [all …]
|
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera.c | 116 mm_evt_payload_stop_stream_t payload; in mm_camera_handle_async_cmd() local 121 memset(&payload, 0, sizeof(mm_evt_payload_stop_stream_t)); in mm_camera_handle_async_cmd() 122 payload.num_streams = async_cmd->u.stop_cmd.num_streams; in mm_camera_handle_async_cmd() 123 payload.stream_ids = async_cmd->u.stop_cmd.stream_ids; in mm_camera_handle_async_cmd() 126 (void*)&payload, in mm_camera_handle_async_cmd() 805 mm_evt_paylod_add_stream_t payload; in mm_camera_add_stream() local 812 memset(&payload, 0, sizeof(mm_evt_paylod_add_stream_t)); in mm_camera_add_stream() 813 payload.buf_cb = buf_cb; in mm_camera_add_stream() 814 payload.user_data = user_data; in mm_camera_add_stream() 815 payload.ext_image_mode = ext_image_mode; in mm_camera_add_stream() [all …]
|
D | mm_camera_channel.c | 392 mm_evt_paylod_add_stream_t *payload = in mm_channel_fsm_fn_stopped() local 395 payload->buf_cb, in mm_channel_fsm_fn_stopped() 396 payload->user_data, in mm_channel_fsm_fn_stopped() 397 payload->ext_image_mode, in mm_channel_fsm_fn_stopped() 398 payload->sensor_idx); in mm_channel_fsm_fn_stopped() 411 mm_evt_payload_start_stream_t *payload = in mm_channel_fsm_fn_stopped() local 414 payload->num_streams, in mm_channel_fsm_fn_stopped() 415 payload->stream_ids); in mm_channel_fsm_fn_stopped() 425 mm_evt_paylod_config_stream_t *payload = in mm_channel_fsm_fn_stopped() local 428 payload->stream_id, in mm_channel_fsm_fn_stopped() [all …]
|
D | mm_camera_stream.c | 899 mm_evt_paylod_stream_parm_t *payload = (mm_evt_paylod_stream_parm_t *)in_value; in mm_stream_set_parm_acquire() local 900 mm_camera_stream_parm_t parm_type = payload->parm_type; in mm_stream_set_parm_acquire() 919 mm_evt_paylod_stream_parm_t *payload = (mm_evt_paylod_stream_parm_t *)out_value; in mm_stream_get_parm_acquire() local 920 mm_camera_stream_parm_t parm_type = payload->parm_type; in mm_stream_get_parm_acquire() 945 mm_evt_paylod_stream_parm_t *payload = (mm_evt_paylod_stream_parm_t *)in_value; in mm_stream_set_parm_config() local 946 mm_camera_stream_parm_t parm_type = payload->parm_type; in mm_stream_set_parm_config() 947 void *value = payload->value; in mm_stream_set_parm_config() 961 mm_evt_paylod_stream_parm_t *payload = (mm_evt_paylod_stream_parm_t *)out_value; in mm_stream_get_parm_config() local 963 if(payload == NULL) { in mm_stream_get_parm_config() 967 CDBG("%s: parm_type = %d",__func__,(int)payload->parm_type); in mm_stream_get_parm_config() [all …]
|