Lines Matching refs:payload
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()
770 payload.arg1 = arg1; in send_command()
771 payload.arg2 = arg2; in send_command()
773 ret = hw->processAPI(QCAMERA_SM_EVT_SEND_COMMAND, (void *)&payload); in send_command()
895 qcamera_sm_evt_reg_face_payload_t payload; in register_face_image() local
896 memset(&payload, 0, sizeof(qcamera_sm_evt_reg_face_payload_t)); in register_face_image()
897 payload.img_ptr = img_ptr; in register_face_image()
898 payload.config = config; in register_face_image()
900 ret = hw->processAPI(QCAMERA_SM_EVT_REG_FACE_IMAGE, (void *)&payload); in register_face_image()
2347 mm_camera_event_t *payload = in camEvtHandle() local
2349 if (NULL != payload) { in camEvtHandle()
2350 *payload = *evt; in camEvtHandle()
2351 obj->processEvt(QCAMERA_SM_EVT_EVT_NOTIFY, payload); in camEvtHandle()
2380 qcamera_jpeg_evt_payload_t *payload = in jpegEvtHandle() local
2382 if (NULL != payload) { in jpegEvtHandle()
2383 memset(payload, 0, sizeof(qcamera_jpeg_evt_payload_t)); in jpegEvtHandle()
2384 payload->status = status; in jpegEvtHandle()
2385 payload->jobId = jobId; in jpegEvtHandle()
2387 payload->out_data = *p_output; in jpegEvtHandle()
2389 obj->processEvt(QCAMERA_SM_EVT_JPEG_EVT_NOTIFY, payload); in jpegEvtHandle()