Loading core/jni/android_hardware_Camera.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -256,6 +256,10 @@ void JNICameraContext::copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int ssize_t offset; size_t size; sp<IMemoryHeap> heap = dataPtr->getMemory(&offset, &size); if (heap == NULL) { ALOGV("copyAndPost: skipping null memory callback!"); return; } ALOGV("copyAndPost: off=%zd, size=%zu", offset, size); uint8_t *heapBase = (uint8_t*)heap->base(); Loading Loading
core/jni/android_hardware_Camera.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -256,6 +256,10 @@ void JNICameraContext::copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int ssize_t offset; size_t size; sp<IMemoryHeap> heap = dataPtr->getMemory(&offset, &size); if (heap == NULL) { ALOGV("copyAndPost: skipping null memory callback!"); return; } ALOGV("copyAndPost: off=%zd, size=%zu", offset, size); uint8_t *heapBase = (uint8_t*)heap->base(); Loading