Home
last modified time | relevance | path

Searched refs:dataPtr (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dsobeloperator.cpp42 void computeGradient(unsigned char* dataPtr, int width, int height, short* gxPtr, short* gyPtr) { in computeGradient() argument
53 (*(dataPtr + curr + c + right) - *(dataPtr + curr + c + left)) * 2 + in computeGradient()
54 *(dataPtr + above + c + right) - *(dataPtr + above + c + left) + in computeGradient()
55 *(dataPtr + below + c + right) - *(dataPtr + below + c + left); in computeGradient()
57 (*(dataPtr + c + below) - *(dataPtr + c + above)) * 2 + in computeGradient()
58 *(dataPtr + left + c + below) - *(dataPtr + left + c + above) + in computeGradient()
59 *(dataPtr + right + c + below) - *(dataPtr + right + c + above); in computeGradient()
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.cpp495 sp<IMemory> dataPtr; in releaseRecordingFrameHandle() local
499 dataPtr = mAvailableCallbackBuffers.back(); in releaseRecordingFrameHandle()
504 if (dataPtr == nullptr) { in releaseRecordingFrameHandle()
510 } else if (dataPtr->size() != sizeof(VideoNativeHandleMetadata)) { in releaseRecordingFrameHandle()
518 VideoNativeHandleMetadata *metadata = (VideoNativeHandleMetadata*)(dataPtr->pointer()); in releaseRecordingFrameHandle()
522 mHardware->releaseRecordingFrame(dataPtr); in releaseRecordingFrameHandle()
787 const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) { in dataCallback() argument
794 if (dataPtr == 0 && metadata == NULL) { in dataCallback()
802 client->handlePreviewData(msgType, dataPtr, metadata); in dataCallback()
805 client->handlePostview(dataPtr); in dataCallback()
[all …]
DCameraClient.h103 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
105 … dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user);
114 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr,
116 … handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
/frameworks/av/include/camera/
DCamera.h43 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
45 …virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0;
165 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
167 … void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
/frameworks/av/camera/
DCamera.cpp349 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, in dataCallback() argument
358 listener->postData(msgType, dataPtr, metadata); in dataCallback()
363 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) in dataCallbackTimestamp() argument
374 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
385 listener->postDataTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp()
388 releaseRecordingFrame(dataPtr); in dataCallbackTimestamp()
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp77 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
79 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
89 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType);
247 void JNICameraContext::copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType) in copyAndPost() argument
252 if (dataPtr != NULL) { in copyAndPost()
255 sp<IMemoryHeap> heap = dataPtr->getMemory(&offset, &size); in copyAndPost()
300 void JNICameraContext::postData(int32_t msgType, const sp<IMemory>& dataPtr, in postData() argument
327 copyAndPost(env, dataPtr, dataMsgType); in postData()
336 ALOGV("dataCallback(%d, %p)", dataMsgType, dataPtr.get()); in postData()
337 copyAndPost(env, dataPtr, dataMsgType); in postData()
[all …]
Dandroid_hardware_camera2_CameraMetadata.cpp140 const compile_type *dataPtr = \ in updateAny()
142 return metadata->update(tag, dataPtr, dataCount); \ in updateAny()
/frameworks/av/media/libstagefright/
DCameraSource.cpp53 virtual void postData(int32_t msgType, const sp<IMemory> &dataPtr,
57 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
85 void CameraSourceListener::postData(int32_t msgType, const sp<IMemory> &dataPtr, in postData() argument
88 msgType, dataPtr->pointer(), dataPtr->size()); in postData()
92 source->dataCallback(msgType, dataPtr); in postData()
97 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) { in postDataTimestamp() argument
101 source->dataCallbackTimestamp(timestamp/1000, msgType, dataPtr); in postDataTimestamp()
1267 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) { in dataCallbackTimestamp() argument
1268 mSource->dataCallbackTimestamp(timestamp / 1000, msgType, dataPtr); in dataCallbackTimestamp()
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.h38 const sp<IMemory> &dataPtr,
44 const sp<IMemory> &dataPtr,