Home | History | Annotate | Download | only in camera

Lines Matching refs:app_cb

711 processPreviewChannelEvent(mm_camera_ch_event_type_t channelEvent, app_notify_cb_t *app_cb) {
731 mm_camera_ch_event_type_t channelEvent, app_notify_cb_t *app_cb) {
750 processSnapshotChannelEvent(mm_camera_ch_event_type_t channelEvent, app_notify_cb_t *app_cb) {
785 mm_camera_ch_event_t *event, app_notify_cb_t *app_cb)
791 processPreviewChannelEvent(event->evt, app_cb);
794 processRecordChannelEvent(event->evt, app_cb);
797 processSnapshotChannelEvent(event->evt, app_cb);
806 void QCameraHardwareInterface::processCtrlEvent(mm_camera_ctrl_event_t *event, app_notify_cb_t *app_cb)
813 zoomEvent(&event->status, app_cb);
816 autoFocusEvent(&event->status, app_cb);
819 autoFocusMoveEvent(&event->status, app_cb);
830 app_cb->notifyCb = mNotifyCb;
831 app_cb->argm_notify.msg_type = CAMERA_MSG_ERROR;
832 app_cb->argm_notify.ext1 = CAMERA_ERROR_UNKNOWN;
833 app_cb->argm_notify.cookie = mCallbackCookie;
837 app_cb->notifyCb = mNotifyCb;
838 app_cb->argm_notify.msg_type = CAMERA_MSG_SHUTTER;
839 app_cb->argm_notify.ext1 = 0;
840 app_cb->argm_notify.ext2 = true;
841 app_cb->argm_notify.cookie = mCallbackCookie;
851 mm_camera_stats_event_t *event, app_notify_cb_t *app_cb)
881 app_cb->dataCb = mDataCb;
882 app_cb->argm_data_cb.msg_type = CAMERA_MSG_STATS_DATA;
883 app_cb->argm_data_cb.data = mStatsMapped[mCurrentHisto];
884 app_cb->argm_data_cb.index = 0;
885 app_cb->argm_data_cb.metadata = NULL;
886 app_cb->argm_data_cb.cookie = mCallbackCookie;
899 mm_camera_info_event_t *event, app_notify_cb_t *app_cb) {
905 roiEvent(event->e.roi, app_cb);
916 app_notify_cb_t app_cb;
922 memset(&app_cb, 0, sizeof(app_notify_cb_t));
926 processChannelEvent(&event->e.ch, &app_cb);
929 processCtrlEvent(&event->e.ctrl, &app_cb);
932 processStatsEvent(&event->e.stats, &app_cb);
935 processInfoEvent(&event->e.info, &app_cb);
940 ALOGV(" App_cb Notify %p, datacb=%p", app_cb.notifyCb, app_cb.dataCb);
941 if (app_cb.notifyCb) {
942 app_cb.notifyCb(app_cb.argm_notify.msg_type,
943 app_cb.argm_notify.ext1, app_cb.argm_notify.ext2,
944 app_cb.argm_notify.cookie);
946 if (app_cb.dataCb) {
947 app_cb.dataCb(app_cb.argm_data_cb.msg_type,
948 app_cb.argm_data_cb.data, app_cb.argm_data_cb.index,
949 app_cb.argm_data_cb.metadata, app_cb.argm_data_cb.cookie);
1433 status_t QCameraHardwareInterface::autoFocusMoveEvent(cam_ctrl_status_t *status, app_notify_cb_t *app_cb)
1443 app_cb->notifyCb = mNotifyCb;
1444 app_cb->argm_notify.msg_type = CAMERA_MSG_FOCUS_MOVE;
1445 app_cb->argm_notify.ext2 = 0;
1446 app_cb->argm_notify.cookie = mCallbackCookie;
1450 app_cb->argm_notify.ext1 = true;
1452 app_cb->argm_notify.ext1 = false;
1454 app_cb->notifyCb = NULL;
1462 status_t QCameraHardwareInterface::autoFocusEvent(cam_ctrl_status_t *status, app_notify_cb_t *app_cb)
1514 app_cb->notifyCb = mNotifyCb;
1515 app_cb->argm_notify.msg_type = CAMERA_MSG_FOCUS;
1516 app_cb->argm_notify.ext2 = 0;
1517 app_cb->argm_notify.cookie = mCallbackCookie;
1521 app_cb
1524 app_cb->argm_notify.ext1 = false;
1527 app_cb->notifyCb = NULL;
2000 void QCameraHardwareInterface::roiEvent(fd_roi_t roi,app_notify_cb_t *app_cb)
2088 void QCameraHardwareInterface::handleZoomEventForPreview(app_notify_cb_t *app_cb)
2120 void QCameraHardwareInterface::zoomEvent(cam_ctrl_status_t *status, app_notify_cb_t *app_cb)
2129 handleZoomEventForPreview(app_cb);
2134 handleZoomEventForPreview(app_cb);
2140 handleZoomEventForPreview(app_cb);