Home
last modified time | relevance | path

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

/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test.h69 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
70 virtual void postData(int32_t msgType,
74 … virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
Dcamera_test_menu.cpp653 void CameraHandler::notify(int32_t msgType, int32_t ext1, int32_t ext2) { in notify() argument
655 printf("Notify cb: %d %d %d\n", msgType, ext1, ext2); in notify()
657 if ( msgType & CAMERA_MSG_FOCUS ) in notify()
660 if ( msgType & CAMERA_MSG_SHUTTER ) in notify()
663 if ( msgType & CAMERA_MSG_ERROR && (ext1 == 1)) in notify()
687 void CameraHandler::postData(int32_t msgType, in postData() argument
690 printf("Data cb: %d\n", msgType); in postData()
692 if ( msgType & CAMERA_MSG_PREVIEW_FRAME ) in postData()
695 if ( msgType & CAMERA_MSG_RAW_IMAGE ) { in postData()
700 if (msgType & CAMERA_MSG_POSTVIEW_FRAME) { in postData()
[all …]
/hardware/ti/omap4-aah/camera/
DAppCallbackNotifier.cpp740 void AppCallbackNotifier::copyAndSendPictureFrame(CameraFrame* frame, int32_t msgType) in copyAndSendPictureFrame() argument
746 if (mCameraHal->msgTypeEnabled(msgType)) { in copyAndSendPictureFrame()
756 ( msgType == CAMERA_MSG_RAW_IMAGE )) { in copyAndSendPictureFrame()
782 mCameraHal->msgTypeEnabled(msgType)) { in copyAndSendPictureFrame()
783 mDataCb(msgType, picture, 0, NULL, mCallbackCookie); in copyAndSendPictureFrame()
789 void AppCallbackNotifier::copyAndSendPreviewFrame(CameraFrame* frame, int32_t msgType) in copyAndSendPreviewFrame() argument
853 mCameraHal->msgTypeEnabled(msgType) && in copyAndSendPreviewFrame()
857 mDataCb(msgType, mPreviewMemory, mPreviewBufCount, NULL, mCallbackCookie); in copyAndSendPreviewFrame()
1807 status_t AppCallbackNotifier::enableMsgType(int32_t msgType) in enableMsgType() argument
1809 if( msgType & CAMERA_MSG_PREVIEW_FRAME ) { in enableMsgType()
[all …]
DCameraHal.cpp212 void CameraHal::enableMsgType(int32_t msgType) in enableMsgType() argument
216 if ( ( msgType & CAMERA_MSG_SHUTTER ) && ( !mShutterEnabled ) ) in enableMsgType()
218 msgType &= ~CAMERA_MSG_SHUTTER; in enableMsgType()
223 msgType &= ~CAMERA_MSG_FOCUS; in enableMsgType()
225 msgType &= ~CAMERA_MSG_FOCUS_MOVE; in enableMsgType()
230 mMsgEnabled |= msgType; in enableMsgType()
238 msgType &= ~CAMERA_MSG_PREVIEW_FRAME; in enableMsgType()
246 CAMHAL_LOGDB("Preview callback not enabled %x", msgType); in enableMsgType()
251 mAppCallbackNotifier->enableMsgType (msgType); in enableMsgType()
263 void CameraHal::disableMsgType(int32_t msgType) in disableMsgType() argument
[all …]
/hardware/qcom/camera/QCamera2/HAL/test/
Dqcamera_test.h123 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
124 virtual void postData(int32_t msgType,
129 int32_t msgType,
132 int32_t msgType,
Dqcamera_test.cpp837 void CameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2) in notify() argument
839 printf("Notify cb: %d %d %d\n", msgType, ext1, ext2); in notify()
841 if (( msgType & CAMERA_MSG_PREVIEW_FRAME) in notify()
852 if ( msgType & CAMERA_MSG_FOCUS ) { in notify()
857 if ( msgType & CAMERA_MSG_SHUTTER ) { in notify()
861 if ( msgType & CAMERA_MSG_ERROR) { in notify()
880 void CameraContext::postData(int32_t msgType, in postData() argument
893 printf("Data cb: %d\n", msgType); in postData()
895 if ( msgType & CAMERA_MSG_PREVIEW_FRAME ) { in postData()
899 if ( msgType & CAMERA_MSG_RAW_IMAGE ) { in postData()
[all …]
/hardware/ti/omap4xxx/camera/inc/
DCameraHal.h551 status_t enableMsgType(int32_t msgType);
552 status_t disableMsgType(int32_t msgType);
624 void copyAndSendPictureFrame(CameraFrame* frame, int32_t msgType);
625 void copyAndSendPreviewFrame(CameraFrame* frame, int32_t msgType);
942 void enableMsgType(int32_t msgType);
947 void disableMsgType(int32_t msgType);
954 int msgTypeEnabled(int32_t msgType);
/hardware/ti/omap4xxx/camera/
DAppCallbackNotifier.cpp690 void AppCallbackNotifier::copyAndSendPictureFrame(CameraFrame* frame, int32_t msgType) in copyAndSendPictureFrame() argument
719 mCameraHal->msgTypeEnabled(msgType)) { in copyAndSendPictureFrame()
720 mDataCb(msgType, picture, 0, NULL, mCallbackCookie); in copyAndSendPictureFrame()
726 void AppCallbackNotifier::copyAndSendPreviewFrame(CameraFrame* frame, int32_t msgType) in copyAndSendPreviewFrame() argument
790 mCameraHal->msgTypeEnabled(msgType) && in copyAndSendPreviewFrame()
792 mDataCb(msgType, mPreviewMemory, mPreviewBufCount, NULL, mCallbackCookie); in copyAndSendPreviewFrame()
1744 status_t AppCallbackNotifier::enableMsgType(int32_t msgType) in enableMsgType() argument
1746 if( msgType & (CAMERA_MSG_POSTVIEW_FRAME | CAMERA_MSG_PREVIEW_FRAME) ) { in enableMsgType()
1753 status_t AppCallbackNotifier::disableMsgType(int32_t msgType) in disableMsgType() argument
1755 if( msgType & (CAMERA_MSG_PREVIEW_FRAME | CAMERA_MSG_POSTVIEW_FRAME) ) { in disableMsgType()
DCameraHal.cpp123 void CameraHal::enableMsgType(int32_t msgType) in enableMsgType() argument
127 if ( ( msgType & CAMERA_MSG_SHUTTER ) && ( !mShutterEnabled ) ) in enableMsgType()
129 msgType &= ~CAMERA_MSG_SHUTTER; in enableMsgType()
134 msgType &= ~(CAMERA_MSG_FOCUS | CAMERA_MSG_FOCUS_MOVE); in enableMsgType()
138 mMsgEnabled |= msgType; in enableMsgType()
146 msgType &= ~CAMERA_MSG_PREVIEW_FRAME; in enableMsgType()
154 CAMHAL_LOGDB("Preview callback not enabled %x", msgType); in enableMsgType()
159 mAppCallbackNotifier->enableMsgType (msgType); in enableMsgType()
171 void CameraHal::disableMsgType(int32_t msgType) in disableMsgType() argument
177 mMsgEnabled &= ~msgType; in disableMsgType()
[all …]
/hardware/ti/omap4-aah/camera/inc/
DCameraHal.h686 status_t enableMsgType(int32_t msgType);
687 status_t disableMsgType(int32_t msgType);
759 void copyAndSendPictureFrame(CameraFrame* frame, int32_t msgType);
760 void copyAndSendPreviewFrame(CameraFrame* frame, int32_t msgType);
1105 void enableMsgType(int32_t msgType);
1110 void disableMsgType(int32_t msgType);
1117 int msgTypeEnabled(int32_t msgType);
/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test_menu.cpp770 void CameraHandler::notify(int32_t msgType, int32_t ext1, int32_t ext2) { in notify() argument
772 printf("Notify cb: %d %d %d\n", msgType, ext1, ext2); in notify()
774 if ( msgType & CAMERA_MSG_FOCUS ) in notify()
777 if ( msgType & CAMERA_MSG_SHUTTER ) in notify()
780 if ( msgType & CAMERA_MSG_ERROR && (ext1 == 1)) in notify()
804 void CameraHandler::postData(int32_t msgType, in postData() argument
808 printf("Data cb: %d\n", msgType); in postData()
810 if ( msgType & CAMERA_MSG_PREVIEW_FRAME ) in postData()
817 if ( msgType & msgMask) { in postData()
822 if (msgType & CAMERA_MSG_POSTVIEW_FRAME) { in postData()
[all …]
Dcamera_test_script.cpp1203 int msgType = 0; in execute_functional_script() local
1217 msgType = CAMERA_MSG_COMPRESSED_IMAGE | in execute_functional_script()
1220 msgType |= CAMERA_MSG_RAW_BURST; in execute_functional_script()
1223 msgType = CAMERA_MSG_POSTVIEW_FRAME | in execute_functional_script()
1228 msgType |= CAMERA_MSG_RAW_BURST; in execute_functional_script()
1238 ret = camera->takePictureWithParameters(msgType, shotParams.flatten()); in execute_functional_script()
1269 int msgType = CAMERA_MSG_COMPRESSED_IMAGE; in execute_functional_script() local
1285 if (hardwareActive) camera->reprocess(msgType, String8()); in execute_functional_script()
Dcamera_test.h158 virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
159 virtual void postData(int32_t msgType,
163 … virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
/hardware/ti/omap3/omx/system/src/openmax_il/lcml/inc/
DLCML_Types.h123 DSP_EventType msgType; member
/hardware/qcom/camera/QCamera2/HAL/wrapper/
DQualcommCamera.cpp88 int32_t msgType; member
/hardware/qcom/camera/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