Searched refs:dataPtr (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dsobeloperator.cpp42 void computeGradient(unsigned char* dataPtr, int width, int height, short* gxPtr, short* gyPtr) { argument
53 (*(dataPtr + curr + c + right) - *(dataPtr + curr + c + left)) * 2 +
54 *(dataPtr + above + c + right) - *(dataPtr + above + c + left) +
55 *(dataPtr + below + c + right) - *(dataPtr + below + c + left);
57 (*(dataPtr + c + below) - *(dataPtr + c + above)) * 2 +
58 *(dataPtr
[all...]
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp507 sp<IMemory> dataPtr;
511 dataPtr = mAvailableCallbackBuffers.back();
516 if (dataPtr == nullptr) {
522 } else if (dataPtr->size() != sizeof(VideoNativeHandleMetadata)) {
530 VideoNativeHandleMetadata *metadata = (VideoNativeHandleMetadata*)(dataPtr->pointer());
534 mHardware->releaseRecordingFrame(dataPtr);
543 sp<IMemory> dataPtr; local
547 dataPtr = mAvailableCallbackBuffers.back();
552 if (dataPtr == nullptr) {
557 } else if (dataPtr
852 dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) argument
885 dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user) argument
1062 handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument
1071 handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
[all...]
H A DCameraClient.h107 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
109 static void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user);
120 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr,
122 void handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
/frameworks/av/camera/include/camera/
H A 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;
172 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
174 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
/frameworks/av/include/camera/
H A 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;
172 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
174 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
/frameworks/av/camera/
H A DCamera.cpp357 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, argument
366 listener->postData(msgType, dataPtr, metadata);
371 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
382 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr);
393 listener->postDataTimestamp(timestamp, msgType, dataPtr);
396 releaseRecordingFrame(dataPtr);
/frameworks/base/core/jni/
H A 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);
92 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType);
250 void JNICameraContext::copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType) argument
255 if (dataPtr != NULL) {
258 sp<IMemoryHeap> heap = dataPtr->getMemory(&offset, &size);
303 void JNICameraContext::postData(int32_t msgType, const sp<IMemory>& dataPtr, argument
330 copyAndPost(env, dataPtr, dataMsgType);
339 ALOGV("dataCallback(%d, %p)", dataMsgType, dataPtr.get());
340 copyAndPost(env, dataPtr, dataMsgTyp
350 postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
[all...]
H A Dandroid_hardware_camera2_CameraMetadata.cpp139 const compile_type *dataPtr = \
141 return metadata->update(tag, dataPtr, dataCount); \
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp53 virtual void postData(int32_t msgType, const sp<IMemory> &dataPtr,
57 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
89 void CameraSourceListener::postData(int32_t msgType, const sp<IMemory> &dataPtr, argument
92 msgType, dataPtr->pointer(), dataPtr->size());
96 source->dataCallback(msgType, dataPtr);
101 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) {
105 source->dataCallbackTimestamp(timestamp/1000, msgType, dataPtr);
1387 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) {
1388 mSource->dataCallbackTimestamp(timestamp / 1000, msgType, dataPtr);
100 postDataTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
1386 dataCallbackTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h41 const sp<IMemory> &dataPtr,
47 const sp<IMemory> &dataPtr,
52 const sp<IMemory> dataPtr; member in struct:android::HandleTimestampMessage

Completed in 177 milliseconds