Home
last modified time | relevance | path

Searched refs:msgType (Results 1 – 25 of 27) sorted by relevance

12

/device/asus/flo/camera/QCamera2/HAL/test/
Dqcamera_test.cpp165 void CameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) in notify() argument
167 printf("Notify cb: %d %d %d\n", msgType, ext1, ext2); in notify()
169 if ( msgType & CAMERA_MSG_FOCUS ) { in notify()
174 if ( msgType & CAMERA_MSG_SHUTTER ) { in notify()
178 if ( msgType & CAMERA_MSG_ERROR) { in notify()
197 void CameraContext::postData(int32_t msgType, in postData() argument
201 printf("Data cb: %d\n", msgType); in postData()
203 if ( msgType & CAMERA_MSG_PREVIEW_FRAME ) { in postData()
207 if ( msgType & CAMERA_MSG_RAW_IMAGE ) { in postData()
211 if (msgType & CAMERA_MSG_POSTVIEW_FRAME) { in postData()
[all …]
Dqcamera_test.h87 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
88 virtual void postData(int32_t msgType,
93 int32_t msgType,
/device/lge/hammerhead/camera/QCamera2/HAL/test/
Dqcamera_test.cpp165 void CameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) in notify() argument
167 printf("Notify cb: %d %d %d\n", msgType, ext1, ext2); in notify()
169 if ( msgType & CAMERA_MSG_FOCUS ) { in notify()
174 if ( msgType & CAMERA_MSG_SHUTTER ) { in notify()
178 if ( msgType & CAMERA_MSG_ERROR) { in notify()
197 void CameraContext::postData(int32_t msgType, in postData() argument
201 printf("Data cb: %d\n", msgType); in postData()
203 if ( msgType & CAMERA_MSG_PREVIEW_FRAME ) { in postData()
207 if ( msgType & CAMERA_MSG_RAW_IMAGE ) { in postData()
211 if (msgType & CAMERA_MSG_POSTVIEW_FRAME) { in postData()
[all …]
Dqcamera_test.h87 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
88 virtual void postData(int32_t msgType,
93 int32_t msgType,
/device/lge/mako/camera/
DQualcommCamera.cpp117 int32_t msgType; member
128 void cam_notify_callback(int32_t msgType, in cam_notify_callback() argument
141 notify_cb(msgType, ext1, ext2, user_data); in cam_notify_callback()
166 void native_send_data_callback(int32_t msgType,
187 qmem->msgType = msgType;
190 data_cb(msgType, framebuffer, counter, NULL, user);
203 static void cam_data_callback(int32_t msgType, in cam_data_callback() argument
223 qmem->msgType = msgType; in cam_data_callback()
226 data_cb(msgType, (camera_memory_t *)qmem, counter, NULL, user_data); in cam_data_callback()
236 int32_t msgType, in cam_data_callback_timestamp() argument
[all …]
DQualcommCameraHardware.h107 virtual void enableMsgType(int32_t msgType);
108 virtual void disableMsgType(int32_t msgType);
109 virtual bool msgTypeEnabled(int32_t msgType);
DQCameraHWI.cpp441 void QCameraHardwareInterface::enableMsgType(int32_t msgType) in enableMsgType() argument
443 ALOGV("enableMsgType: E, msgType =0x%x", msgType); in enableMsgType()
445 mMsgEnabled |= msgType; in enableMsgType()
446 ALOGV("enableMsgType: X, msgType =0x%x, mMsgEnabled=0x%x", msgType, mMsgEnabled); in enableMsgType()
449 void QCameraHardwareInterface::disableMsgType(int32_t msgType) in disableMsgType() argument
453 mMsgEnabled &= ~msgType; in disableMsgType()
454 ALOGV("disableMsgType: X, msgType =0x%x, mMsgEnabled=0x%x", msgType, mMsgEnabled); in disableMsgType()
457 int QCameraHardwareInterface::msgTypeEnabled(int32_t msgType) in msgTypeEnabled() argument
461 return (mMsgEnabled & msgType); in msgTypeEnabled()
DQCameraHWI_Preview_7x27A.cpp518 int msgType = 0; in processPreviewFrame() local
613 msgType |= CAMERA_MSG_PREVIEW_FRAME; in processPreviewFrame()
618 if(msgType) { in processPreviewFrame()
620 pcb(msgType, data, 0, metadata, mHalCamCtrl->mCallbackCookie); in processPreviewFrame()
DQCameraHWI_Preview.cpp639 int msgType = 0; in processPreviewFrameWithDisplay() local
809 msgType |= CAMERA_MSG_PREVIEW_FRAME; in processPreviewFrameWithDisplay()
840 if(msgType) { in processPreviewFrameWithDisplay()
843 pcb(msgType, data, 0, metadata, mHalCamCtrl->mCallbackCookie); in processPreviewFrameWithDisplay()
DQualcommCamera2.cpp124 int32_t msgType; member
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Rdi.cpp138 int msgType = 0; in processRdiFrame() local
157 msgType |= CAMERA_MSG_PREVIEW_FRAME; in processRdiFrame()
163 ALOGD("Message enabled = 0x%x", msgType); in processRdiFrame()
164 if(mActive && msgType) { in processRdiFrame()
165 mHalCamCtrl->mDataCb(msgType, data, 0, NULL, mHalCamCtrl->mCallbackCookie); in processRdiFrame()
DQCameraHWI_Preview.cpp585 int msgType = 0; in processPreviewFrameWithDisplay() local
729 msgType |= CAMERA_MSG_PREVIEW_FRAME; in processPreviewFrameWithDisplay()
761 if(msgType && mActive) { in processPreviewFrameWithDisplay()
762 mHalCamCtrl->mDataCb(msgType, data, 0, metadata, mHalCamCtrl->mCallbackCookie); in processPreviewFrameWithDisplay()
813 int msgType = 0; in processPreviewFrameWithOutDisplay() local
847 msgType |= CAMERA_MSG_PREVIEW_FRAME; in processPreviewFrameWithOutDisplay()
859 msgType |= CAMERA_MSG_PREVIEW_METADATA; in processPreviewFrameWithOutDisplay()
864 if(mActive && msgType) { in processPreviewFrameWithOutDisplay()
865 mHalCamCtrl->mDataCb(msgType, data, 0, metadata, mHalCamCtrl->mCallbackCookie); in processPreviewFrameWithOutDisplay()
DQCameraHWI.cpp1369 void QCameraHardwareInterface::enableMsgType(int32_t msgType) in enableMsgType() argument
1371 ALOGI("enableMsgType: E, msgType =0x%x", msgType); in enableMsgType()
1373 mMsgEnabled |= msgType; in enableMsgType()
1374 ALOGI("enableMsgType: X, msgType =0x%x, mMsgEnabled=0x%x", msgType, mMsgEnabled); in enableMsgType()
1377 void QCameraHardwareInterface::disableMsgType(int32_t msgType) in disableMsgType() argument
1381 mMsgEnabled &= ~msgType; in disableMsgType()
1382 ALOGI("disableMsgType: X, msgType =0x%x, mMsgEnabled=0x%x", msgType, mMsgEnabled); in disableMsgType()
1385 int QCameraHardwareInterface::msgTypeEnabled(int32_t msgType) in msgTypeEnabled() argument
1389 return (mMsgEnabled & msgType); in msgTypeEnabled()
/device/moto/shamu/camera/QCamera2/HAL/test/
Dqcamera_test.h118 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
119 virtual void postData(int32_t msgType,
124 int32_t msgType,
127 int32_t msgType,
Dqcamera_test.cpp795 void CameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) in notify() argument
797 printf("Notify cb: %d %d %d\n", msgType, ext1, ext2); in notify()
799 if (( msgType & CAMERA_MSG_PREVIEW_FRAME) && (ext1 == CAMERA_FRAME_DATA_FD)) { in notify()
805 if ( msgType & CAMERA_MSG_FOCUS ) { in notify()
810 if ( msgType & CAMERA_MSG_SHUTTER ) { in notify()
814 if ( msgType & CAMERA_MSG_ERROR) { in notify()
833 void CameraContext::postData(int32_t msgType, in postData() argument
845 printf("Data cb: %d\n", msgType); in postData()
847 if ( msgType & CAMERA_MSG_PREVIEW_FRAME ) { in postData()
851 if ( msgType & CAMERA_MSG_RAW_IMAGE ) { in postData()
[all …]
/device/generic/goldfish/camera/
DEmulatedCamera2.cpp379 void EmulatedCamera2::sendNotification(int32_t msgType, in sendNotification() argument
387 notifyCb(msgType, ext1, ext2, ext3, mNotifyUserPtr); in sendNotification()
DEmulatedCamera2.h260 void sendNotification(int32_t msgType,
DEmulatedFakeCamera2.h294 status_t triggerAction(uint32_t msgType,
DEmulatedFakeCamera2.cpp1685 status_t EmulatedFakeCamera2::ControlThread::triggerAction(uint32_t msgType, in triggerAction() argument
1687 ALOGV("%s: Triggering %d (%d, %d)", __FUNCTION__, msgType, ext1, ext2); in triggerAction()
1689 switch (msgType) { in triggerAction()
1706 __FUNCTION__, msgType, ext1, ext2); in triggerAction()
/device/lge/mako/camera/QCamera/HAL/core/src/
DQCameraHWI_Preview.cpp818 int msgType = 0; in processPreviewFrameWithDisplay() local
974 msgType |= CAMERA_MSG_PREVIEW_FRAME; in processPreviewFrameWithDisplay()
1000 if(msgType) { in processPreviewFrameWithDisplay()
1003 pcb(msgType, data, 0, metadata, mHalCamCtrl->mCallbackCookie); in processPreviewFrameWithDisplay()
1065 int msgType = 0; in processPreviewFrameWithOutDisplay() local
1121 msgType |= CAMERA_MSG_PREVIEW_FRAME; in processPreviewFrameWithOutDisplay()
1146 msgType |= CAMERA_MSG_PREVIEW_METADATA; in processPreviewFrameWithOutDisplay()
1151 if(msgType) { in processPreviewFrameWithOutDisplay()
1154 pcb(msgType, data, 0, metadata, mHalCamCtrl->mCallbackCookie); in processPreviewFrameWithOutDisplay()
DQCameraHWI.cpp413 void QCameraHardwareInterface::enableMsgType(int32_t msgType) in enableMsgType() argument
415 LOGI("enableMsgType: E, msgType =0x%x", msgType); in enableMsgType()
417 mMsgEnabled |= msgType; in enableMsgType()
418 LOGI("enableMsgType: X, msgType =0x%x, mMsgEnabled=0x%x", msgType, mMsgEnabled); in enableMsgType()
421 void QCameraHardwareInterface::disableMsgType(int32_t msgType) in disableMsgType() argument
425 mMsgEnabled &= ~msgType; in disableMsgType()
426 LOGI("disableMsgType: X, msgType =0x%x, mMsgEnabled=0x%x", msgType, mMsgEnabled); in disableMsgType()
429 int QCameraHardwareInterface::msgTypeEnabled(int32_t msgType) in msgTypeEnabled() argument
433 return (mMsgEnabled & msgType); in msgTypeEnabled()
/device/moto/shamu/camera/QCamera2/HAL/wrapper/
DQualcommCamera.cpp88 int32_t msgType; member
/device/lge/mako/camera/QCamera/HAL/wrapper/
DQualcommCamera.cpp124 int32_t msgType; member
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
DQualcommUsbCamera.cpp2021 int msgType = 0; in previewloop() local
2208 msgType |= CAMERA_MSG_PREVIEW_FRAME; in previewloop()
2243 camHal->data_cb(msgType, data, 0,metadata, camHal->cb_ctxt); in previewloop()
2456 int msgType = 0; in takePictureThread() local
/device/moto/shamu/camera/QCamera/HAL/wrapper/
DQualcommCamera.cpp125 int32_t msgType; member

12