Lines Matching defs:msgType

76     virtual void notify(int32_t msgType, int32_t ext1, int32_t ext2);
77 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
79 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
81 void postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata);
82 void addCallbackBuffer(JNIEnv *env, jbyteArray cbb, int msgType);
89 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType);
106 * set whenever method addCallbackBuffer() with msgType =
194 void JNICameraContext::notify(int32_t msgType, int32_t ext1, int32_t ext2)
207 * If the notification or msgType is CAMERA_MSG_RAW_IMAGE_NOTIFY, change it
211 if (msgType == CAMERA_MSG_RAW_IMAGE_NOTIFY) {
212 msgType = CAMERA_MSG_RAW_IMAGE;
216 mCameraJObjectWeak, msgType, ext1, ext2, NULL);
247 void JNICameraContext::copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType)
262 if (msgType == CAMERA_MSG_RAW_IMAGE) {
264 } else if (msgType == CAMERA_MSG_PREVIEW_FRAME && mManualBufferMode) {
294 mCameraJObjectWeak, msgType, 0, 0, obj);
300 void JNICameraContext::postData(int32_t msgType, const sp<IMemory>& dataPtr,
311 int32_t dataMsgType = msgType & ~CAMERA_MSG_PREVIEW_METADATA;
342 if (metadata && (msgType & CAMERA_MSG_PREVIEW_METADATA)) {
347 void JNICameraContext::postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr)
350 postData(msgType, dataPtr, NULL);
365 void JNICameraContext::postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata)
419 mCameraJObjectWeak, msgType, 0, 0, obj);
451 JNIEnv *env, jbyteArray cbb, int msgType)
453 ALOGV("addCallbackBuffer: 0x%x", msgType);
456 switch (msgType) {
772 static void android_hardware_Camera_addCallbackBuffer(JNIEnv *env, jobject thiz, jbyteArray bytes, jint msgType) {
773 ALOGV("addCallbackBuffer: 0x%x", msgType);
778 context->addCallbackBuffer(env, bytes, msgType);
806 static void android_hardware_Camera_takePicture(JNIEnv *env, jobject thiz, jint msgType)
822 if (msgType & CAMERA_MSG_RAW_IMAGE) {
826 msgType &= ~CAMERA_MSG_RAW_IMAGE;
827 msgType |= CAMERA_MSG_RAW_IMAGE_NOTIFY;
831 if (camera->takePicture(msgType) != NO_ERROR) {