/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/lge/bullhead/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 94 qcamera_sm_internal_evt_payload_t *payload = in zsl_channel_cb() local 97 if (NULL != payload) { in zsl_channel_cb() 98 memset(payload, 0, sizeof(qcamera_sm_internal_evt_payload_t)); in zsl_channel_cb() 99 payload->evt_type = QCAMERA_INTERNAL_EVT_RETRO_AEC_UNLOCK; in zsl_channel_cb() 100 int32_t rc = pme->processEvt(QCAMERA_SM_EVT_EVT_INTERNAL, payload); in zsl_channel_cb() 103 free(payload); in zsl_channel_cb() 104 payload = NULL; in zsl_channel_cb() 116 qcamera_sm_internal_evt_payload_t *payload = in zsl_channel_cb() local 118 if (NULL != payload) { in zsl_channel_cb() 119 memset(payload, 0, sizeof(qcamera_sm_internal_evt_payload_t)); in zsl_channel_cb() [all …]
|
D | QCameraStateMachine.cpp | 287 int32_t QCameraStateMachine::stateMachine(qcamera_sm_evt_enum_t evt, void *payload) in stateMachine() argument 293 rc = procEvtPreviewStoppedState(evt, payload); in stateMachine() 296 rc = procEvtPreviewReadyState(evt, payload); in stateMachine() 299 rc = procEvtPreviewingState(evt, payload); in stateMachine() 302 rc = procEvtPrepareSnapshotState(evt, payload); in stateMachine() 305 rc = procEvtPicTakingState(evt, payload); in stateMachine() 308 rc = procEvtRecordingState(evt, payload); in stateMachine() 311 rc = procEvtVideoPicTakingState(evt, payload); in stateMachine() 314 rc = procEvtPreviewPicTakingState(evt, payload); in stateMachine() 338 void *payload) in procEvtPreviewStoppedState() argument [all …]
|
D | QCameraStateMachine.h | 218 int32_t stateMachine(qcamera_sm_evt_enum_t evt, void *payload); 219 int32_t procEvtPreviewStoppedState(qcamera_sm_evt_enum_t evt, void *payload); 220 int32_t procEvtPreviewReadyState(qcamera_sm_evt_enum_t evt, void *payload); 221 int32_t procEvtPreviewingState(qcamera_sm_evt_enum_t evt, void *payload); 222 int32_t procEvtPrepareSnapshotState(qcamera_sm_evt_enum_t evt, void *payload); 223 int32_t procEvtPicTakingState(qcamera_sm_evt_enum_t evt, void *payload); 224 int32_t procEvtRecordingState(qcamera_sm_evt_enum_t evt, void *payload); 225 int32_t procEvtVideoPicTakingState(qcamera_sm_evt_enum_t evt, void *payload); 226 int32_t procEvtPreviewPicTakingState(qcamera_sm_evt_enum_t evt, void *payload);
|
D | QCamera2HWI.cpp | 167 qcamera_sm_evt_setcb_payload_t payload; in set_CallBacks() local 168 payload.notify_cb = notify_cb; in set_CallBacks() 169 payload.data_cb = data_cb; in set_CallBacks() 170 payload.data_cb_timestamp = data_cb_timestamp; in set_CallBacks() 171 payload.get_memory = get_memory; in set_CallBacks() 172 payload.user = user; in set_CallBacks() 176 int32_t rc = hw->processAPI(QCAMERA_SM_EVT_SET_CALLBACKS, (void *)&payload); in set_CallBacks() 891 qcamera_sm_evt_command_payload_t payload; in send_command() local 892 memset(&payload, 0, sizeof(qcamera_sm_evt_command_payload_t)); in send_command() 893 payload.cmd = cmd; in send_command() [all …]
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 94 qcamera_sm_internal_evt_payload_t *payload = in zsl_channel_cb() local 97 if (NULL != payload) { in zsl_channel_cb() 98 memset(payload, 0, sizeof(qcamera_sm_internal_evt_payload_t)); in zsl_channel_cb() 99 payload->evt_type = QCAMERA_INTERNAL_EVT_RETRO_AEC_UNLOCK; in zsl_channel_cb() 100 int32_t rc = pme->processEvt(QCAMERA_SM_EVT_EVT_INTERNAL, payload); in zsl_channel_cb() 103 free(payload); in zsl_channel_cb() 104 payload = NULL; in zsl_channel_cb() 116 qcamera_sm_internal_evt_payload_t *payload = in zsl_channel_cb() local 118 if (NULL != payload) { in zsl_channel_cb() 119 memset(payload, 0, sizeof(qcamera_sm_internal_evt_payload_t)); in zsl_channel_cb() [all …]
|
D | QCameraStateMachine.cpp | 287 int32_t QCameraStateMachine::stateMachine(qcamera_sm_evt_enum_t evt, void *payload) in stateMachine() argument 293 rc = procEvtPreviewStoppedState(evt, payload); in stateMachine() 296 rc = procEvtPreviewReadyState(evt, payload); in stateMachine() 299 rc = procEvtPreviewingState(evt, payload); in stateMachine() 302 rc = procEvtPrepareSnapshotState(evt, payload); in stateMachine() 305 rc = procEvtPicTakingState(evt, payload); in stateMachine() 308 rc = procEvtRecordingState(evt, payload); in stateMachine() 311 rc = procEvtVideoPicTakingState(evt, payload); in stateMachine() 314 rc = procEvtPreviewPicTakingState(evt, payload); in stateMachine() 338 void *payload) in procEvtPreviewStoppedState() argument [all …]
|
D | QCameraStateMachine.h | 218 int32_t stateMachine(qcamera_sm_evt_enum_t evt, void *payload); 219 int32_t procEvtPreviewStoppedState(qcamera_sm_evt_enum_t evt, void *payload); 220 int32_t procEvtPreviewReadyState(qcamera_sm_evt_enum_t evt, void *payload); 221 int32_t procEvtPreviewingState(qcamera_sm_evt_enum_t evt, void *payload); 222 int32_t procEvtPrepareSnapshotState(qcamera_sm_evt_enum_t evt, void *payload); 223 int32_t procEvtPicTakingState(qcamera_sm_evt_enum_t evt, void *payload); 224 int32_t procEvtRecordingState(qcamera_sm_evt_enum_t evt, void *payload); 225 int32_t procEvtVideoPicTakingState(qcamera_sm_evt_enum_t evt, void *payload); 226 int32_t procEvtPreviewPicTakingState(qcamera_sm_evt_enum_t evt, void *payload);
|
D | QCamera2HWI.cpp | 167 qcamera_sm_evt_setcb_payload_t payload; in set_CallBacks() local 168 payload.notify_cb = notify_cb; in set_CallBacks() 169 payload.data_cb = data_cb; in set_CallBacks() 170 payload.data_cb_timestamp = data_cb_timestamp; in set_CallBacks() 171 payload.get_memory = get_memory; in set_CallBacks() 172 payload.user = user; in set_CallBacks() 176 int32_t rc = hw->processAPI(QCAMERA_SM_EVT_SET_CALLBACKS, (void *)&payload); in set_CallBacks() 891 qcamera_sm_evt_command_payload_t payload; in send_command() local 892 memset(&payload, 0, sizeof(qcamera_sm_evt_command_payload_t)); in send_command() 893 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 …]
|
D | QCamera2HWI.cpp | 172 qcamera_sm_evt_setcb_payload_t payload; in set_CallBacks() local 173 payload.notify_cb = notify_cb; in set_CallBacks() 174 payload.data_cb = data_cb; in set_CallBacks() 175 payload.data_cb_timestamp = data_cb_timestamp; in set_CallBacks() 176 payload.get_memory = get_memory; in set_CallBacks() 177 payload.user = user; in set_CallBacks() 181 int32_t rc = hw->processAPI(QCAMERA_SM_EVT_SET_CALLBACKS, (void *)&payload); in set_CallBacks() 865 qcamera_sm_evt_command_payload_t payload; in send_command() local 866 memset(&payload, 0, sizeof(qcamera_sm_evt_command_payload_t)); in send_command() 867 payload.cmd = cmd; in send_command() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera.c | 1015 mm_evt_paylod_config_stream_t payload; in mm_camera_config_stream() local 1021 memset(&payload, 0, sizeof(mm_evt_paylod_config_stream_t)); in mm_camera_config_stream() 1022 payload.stream_id = stream_id; in mm_camera_config_stream() 1023 payload.config = config; in mm_camera_config_stream() 1026 (void*)&payload, in mm_camera_config_stream() 1274 mm_evt_paylod_set_get_stream_parms_t payload; in mm_camera_set_stream_parms() local 1282 memset(&payload, 0, sizeof(payload)); in mm_camera_set_stream_parms() 1283 payload.stream_id = s_id; in mm_camera_set_stream_parms() 1284 payload.parms = parms; in mm_camera_set_stream_parms() 1288 (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 …]
|
D | mm_camera_stream.c | 469 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_acquired() local 471 rc = mm_stream_set_parm(my_obj, payload->parms); in mm_stream_fsm_acquired() 476 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_acquired() local 478 rc = mm_stream_get_parm(my_obj, payload->parms); in mm_stream_fsm_acquired() 532 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_cfg() local 534 rc = mm_stream_set_parm(my_obj, payload->parms); in mm_stream_fsm_cfg() 539 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_cfg() local 541 rc = mm_stream_get_parm(my_obj, payload->parms); in mm_stream_fsm_cfg() 598 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_buffed() local 600 rc = mm_stream_set_parm(my_obj, payload->parms); in mm_stream_fsm_buffed() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera.c | 593 uint32_t payload; in mm_camera_get_queued_buf_count() local 595 payload = stream_id; in mm_camera_get_queued_buf_count() 602 (void *)&payload, in mm_camera_get_queued_buf_count() 1147 mm_evt_paylod_config_stream_t payload; in mm_camera_config_stream() local 1153 memset(&payload, 0, sizeof(mm_evt_paylod_config_stream_t)); in mm_camera_config_stream() 1154 payload.stream_id = stream_id; in mm_camera_config_stream() 1155 payload.config = config; in mm_camera_config_stream() 1158 (void *)&payload, in mm_camera_config_stream() 1406 mm_evt_paylod_set_get_stream_parms_t payload; in mm_camera_set_stream_parms() local 1414 memset(&payload, 0, sizeof(payload)); in mm_camera_set_stream_parms() [all …]
|
D | mm_camera_channel.c | 79 mm_evt_paylod_set_get_stream_parms_t *payload); 84 mm_evt_paylod_set_get_stream_parms_t *payload); 86 mm_evt_paylod_do_stream_action_t *payload); 88 mm_evt_paylod_map_stream_buf_t *payload); 90 mm_evt_paylod_unmap_stream_buf_t *payload); 258 uint32_t start = cmd_cb->u.gen_cmd.payload[0]; in mm_channel_process_stream_buf() 274 uint32_t start = cmd_cb->u.gen_cmd.payload[0]; in mm_channel_process_stream_buf() 290 uint32_t start = cmd_cb->u.gen_cmd.payload[0]; in mm_channel_process_stream_buf() 306 uint32_t start = cmd_cb->u.gen_cmd.payload[0]; in mm_channel_process_stream_buf() 608 mm_evt_paylod_config_stream_t *payload = in mm_channel_fsm_fn_stopped() local [all …]
|
D | mm_camera_stream.c | 567 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_acquired() local 569 rc = mm_stream_set_parm(my_obj, payload->parms); in mm_stream_fsm_acquired() 574 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_acquired() local 576 rc = mm_stream_get_parm(my_obj, payload->parms); in mm_stream_fsm_acquired() 630 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_cfg() local 632 rc = mm_stream_set_parm(my_obj, payload->parms); in mm_stream_fsm_cfg() 637 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_cfg() local 639 rc = mm_stream_get_parm(my_obj, payload->parms); in mm_stream_fsm_cfg() 696 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_buffed() local 698 rc = mm_stream_set_parm(my_obj, payload->parms); in mm_stream_fsm_buffed() [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera.c | 593 uint32_t payload; in mm_camera_get_queued_buf_count() local 595 payload = stream_id; in mm_camera_get_queued_buf_count() 602 (void *)&payload, in mm_camera_get_queued_buf_count() 1147 mm_evt_paylod_config_stream_t payload; in mm_camera_config_stream() local 1153 memset(&payload, 0, sizeof(mm_evt_paylod_config_stream_t)); in mm_camera_config_stream() 1154 payload.stream_id = stream_id; in mm_camera_config_stream() 1155 payload.config = config; in mm_camera_config_stream() 1158 (void *)&payload, in mm_camera_config_stream() 1406 mm_evt_paylod_set_get_stream_parms_t payload; in mm_camera_set_stream_parms() local 1414 memset(&payload, 0, sizeof(payload)); in mm_camera_set_stream_parms() [all …]
|
D | mm_camera_channel.c | 79 mm_evt_paylod_set_get_stream_parms_t *payload); 84 mm_evt_paylod_set_get_stream_parms_t *payload); 86 mm_evt_paylod_do_stream_action_t *payload); 88 mm_evt_paylod_map_stream_buf_t *payload); 90 mm_evt_paylod_unmap_stream_buf_t *payload); 258 uint32_t start = cmd_cb->u.gen_cmd.payload[0]; in mm_channel_process_stream_buf() 274 uint32_t start = cmd_cb->u.gen_cmd.payload[0]; in mm_channel_process_stream_buf() 290 uint32_t start = cmd_cb->u.gen_cmd.payload[0]; in mm_channel_process_stream_buf() 306 uint32_t start = cmd_cb->u.gen_cmd.payload[0]; in mm_channel_process_stream_buf() 608 mm_evt_paylod_config_stream_t *payload = in mm_channel_fsm_fn_stopped() local [all …]
|
D | mm_camera_stream.c | 567 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_acquired() local 569 rc = mm_stream_set_parm(my_obj, payload->parms); in mm_stream_fsm_acquired() 574 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_acquired() local 576 rc = mm_stream_get_parm(my_obj, payload->parms); in mm_stream_fsm_acquired() 630 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_cfg() local 632 rc = mm_stream_set_parm(my_obj, payload->parms); in mm_stream_fsm_cfg() 637 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_cfg() local 639 rc = mm_stream_get_parm(my_obj, payload->parms); in mm_stream_fsm_cfg() 696 mm_evt_paylod_set_get_stream_parms_t *payload = in mm_stream_fsm_buffed() local 698 rc = mm_stream_set_parm(my_obj, payload->parms); in mm_stream_fsm_buffed() [all …]
|
/device/google/contexthub/lib/include/nanohub/ |
D | nanohub.h | 122 uint8_t payload; // type of payload: APP, SECRET KEY, OS IMAGE, USER DATA, ... member
|