Home
last modified time | relevance | path

Searched refs:msg_type (Results 1 – 16 of 16) sorted by relevance

/hardware/libhardware/include/hardware/
Dcamera.h54 typedef void (*camera_notify_callback)(int32_t msg_type,
59 typedef void (*camera_data_callback)(int32_t msg_type,
64 int32_t msg_type,
117 void (*enable_msg_type)(struct camera_device *, int32_t msg_type);
129 void (*disable_msg_type)(struct camera_device *, int32_t msg_type);
136 int (*msg_type_enabled)(struct camera_device *, int32_t msg_type);
Dcamera2.h297 typedef void (*camera2_notify_callback)(int32_t msg_type,
/hardware/libhardware/tests/camera2/
Dcamera2_utils.h118 status_t getNextNotification(int32_t *msg_type, int32_t *ext1,
121 status_t waitForNotification(int32_t *msg_type, int32_t *ext1,
128 status_t getNextNotificationLocked(int32_t *msg_type,
133 msg_type(type), in Notification()
139 int32_t msg_type; member
150 void onNotify(int32_t msg_type,
155 static void notify_callback_dispatch(int32_t msg_type,
Dcamera2_utils.cpp255 status_t NotifierListener::getNextNotification(int32_t *msg_type, in getNextNotification() argument
261 return getNextNotificationLocked(msg_type, ext1, ext2, ext3); in getNextNotification()
264 status_t NotifierListener::waitForNotification(int32_t *msg_type, in waitForNotification() argument
272 return getNextNotificationLocked(msg_type, ext1, ext2, ext3); in waitForNotification()
280 status_t NotifierListener::getNextNotificationLocked(int32_t *msg_type, in getNextNotificationLocked() argument
284 *msg_type = mNotifications.begin()->msg_type; in getNextNotificationLocked()
292 void NotifierListener::onNotify(int32_t msg_type, in onNotify() argument
297 mNotifications.push_back(Notification(msg_type, ext1, ext2, ext3)); in onNotify()
301 void NotifierListener::notify_callback_dispatch(int32_t msg_type, in notify_callback_dispatch() argument
307 me->onNotify(msg_type, ext1, ext2, ext3); in notify_callback_dispatch()
/hardware/qcom/camera/QCamera2/HAL/
DQCamera2HWI.h90 int32_t msg_type; member
118 int32_t msg_type; // msg type member
178 static void enable_msg_type(struct camera_device *, int32_t msg_type);
179 static void disable_msg_type(struct camera_device *, int32_t msg_type);
180 static int msg_type_enabled(struct camera_device *, int32_t msg_type);
235 int enableMsgType(int32_t msg_type);
236 int disableMsgType(int32_t msg_type);
237 int msgTypeEnabled(int32_t msg_type);
238 int msgTypeEnabledWithLock(int32_t msg_type);
299 int32_t sendEvtNotify(int32_t msg_type, int32_t ext1, int32_t ext2);
[all …]
DQCameraPostProc.h71 int32_t msg_type; // msg type of data notify member
114 int32_t sendDataNotify(int32_t msg_type,
119 int32_t sendEvtNotify(int32_t msg_type, int32_t ext1, int32_t ext2);
DQCamera2HWICallbacks.cpp339 cbArg.msg_type = CAMERA_MSG_PREVIEW_FRAME; in preview_stream_cb_routine()
418 cbArg.msg_type = CAMERA_MSG_PREVIEW_FRAME; in nodisplay_preview_stream_cb_routine()
561 cbArg.msg_type = CAMERA_MSG_VIDEO_FRAME; in video_stream_cb_routine()
1090 if (pme->mParent->msgTypeEnabledWithLock(cb->msg_type)) { in cbNotifyRoutine()
1094 if (cb->msg_type == CAMERA_MSG_FOCUS) { in cbNotifyRoutine()
1098 pme->mNotifyCb(cb->msg_type, in cbNotifyRoutine()
1111 pme->mDataCb(cb->msg_type, in cbNotifyRoutine()
1126 cb->msg_type, in cbNotifyRoutine()
1146 pme->mDataCb(cb->msg_type, in cbNotifyRoutine()
1165 cb->msg_type); in cbNotifyRoutine()
DQCamera2HWI.cpp173 void QCamera2HardwareInterface::enable_msg_type(struct camera_device *device, int32_t msg_type) in enable_msg_type() argument
182 int32_t rc = hw->processAPI(QCAMERA_SM_EVT_ENABLE_MSG_TYPE, (void *)msg_type); in enable_msg_type()
200 void QCamera2HardwareInterface::disable_msg_type(struct camera_device *device, int32_t msg_type) in disable_msg_type() argument
209 int32_t rc = hw->processAPI(QCAMERA_SM_EVT_DISABLE_MSG_TYPE, (void *)msg_type); in disable_msg_type()
228 int QCamera2HardwareInterface::msg_type_enabled(struct camera_device *device, int32_t msg_type) in msg_type_enabled() argument
238 ret = hw->processAPI(QCAMERA_SM_EVT_MSG_TYPE_ENABLED, (void *)msg_type); in msg_type_enabled()
1552 int QCamera2HardwareInterface::enableMsgType(int32_t msg_type) in enableMsgType() argument
1554 mMsgEnabled |= msg_type; in enableMsgType()
1570 int QCamera2HardwareInterface::disableMsgType(int32_t msg_type) in disableMsgType() argument
1572 mMsgEnabled &= ~msg_type; in disableMsgType()
[all …]
DQCameraPostProc.cpp389 int32_t QCameraPostProcessor::sendEvtNotify(int32_t msg_type, in sendEvtNotify() argument
393 return m_parent->sendEvtNotify(msg_type, ext1, ext2); in sendEvtNotify()
413 int32_t QCameraPostProcessor::sendDataNotify(int32_t msg_type, in sendDataNotify() argument
425 data_cb->msg_type = msg_type; in sendDataNotify()
436 cbArg.msg_type = msg_type; in sendDataNotify()
995 cbArg.msg_type = CAMERA_MSG_RAW_IMAGE; in encodeData()
1005 cbArg.msg_type = CAMERA_MSG_RAW_IMAGE_NOTIFY; in encodeData()
1169 cbArg.msg_type = CAMERA_MSG_RAW_IMAGE; in processRawImageImpl()
1179 cbArg.msg_type = CAMERA_MSG_RAW_IMAGE_NOTIFY; in processRawImageImpl()
/hardware/ti/omap4xxx/camera/
DCameraHal_Module.cpp112 void camera_enable_msg_type(struct camera_device * device, int32_t msg_type) in camera_enable_msg_type() argument
123 gCameraHals[ti_dev->cameraid]->enableMsgType(msg_type); in camera_enable_msg_type()
126 void camera_disable_msg_type(struct camera_device * device, int32_t msg_type) in camera_disable_msg_type() argument
137 gCameraHals[ti_dev->cameraid]->disableMsgType(msg_type); in camera_disable_msg_type()
140 int camera_msg_type_enabled(struct camera_device * device, int32_t msg_type) in camera_msg_type_enabled() argument
151 return gCameraHals[ti_dev->cameraid]->msgTypeEnabled(msg_type); in camera_msg_type_enabled()
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3PostProc.h115 int32_t sendEvtNotify(int32_t msg_type, int32_t ext1, int32_t ext2);
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c1546 packet.msg_type = CAM_MAPPING_TYPE_FD_MAPPING; in mm_camera_map_buf()
1580 packet.msg_type = CAM_MAPPING_TYPE_FD_UNMAPPING; in mm_camera_unmap_buf()
Dmm_camera_stream.c1262 packet.msg_type = CAM_MAPPING_TYPE_FD_MAPPING; in mm_stream_map_buf()
1309 packet.msg_type = CAM_MAPPING_TYPE_FD_UNMAPPING; in mm_stream_unmap_buf()
/hardware/samsung_slsi/exynos5/libcamera/
DExynosCameraHWInterface.cpp4186 static void HAL_camera_device_enable_msg_type(struct camera_device *dev, int32_t msg_type) in HAL_camera_device_enable_msg_type() argument
4189 obj(dev)->enableMsgType(msg_type); in HAL_camera_device_enable_msg_type()
4202 static void HAL_camera_device_disable_msg_type(struct camera_device *dev, int32_t msg_type) in HAL_camera_device_disable_msg_type() argument
4205 obj(dev)->disableMsgType(msg_type); in HAL_camera_device_disable_msg_type()
4213 static int HAL_camera_device_msg_type_enabled(struct camera_device *dev, int32_t msg_type) in HAL_camera_device_msg_type_enabled() argument
4216 return obj(dev)->msgTypeEnabled(msg_type); in HAL_camera_device_msg_type_enabled()
/hardware/qcom/camera/QCamera2/stack/common/
Dcam_types.h269 cam_mapping_type msg_type; member
/hardware/qcom/camera/
DQCamera_Intf.h146 mm_camera_socket_msg_type msg_type; member