/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | sobeloperator.cpp | 42 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/ |
D | CameraClient.cpp | 513 sp<IMemory> dataPtr; in releaseRecordingFrameHandle() local 517 dataPtr = mAvailableCallbackBuffers.back(); in releaseRecordingFrameHandle() 522 if (dataPtr == nullptr) { in releaseRecordingFrameHandle() 528 } else if (dataPtr->size() != sizeof(VideoNativeHandleMetadata)) { in releaseRecordingFrameHandle() 537 VideoNativeHandleMetadata *metadata = (VideoNativeHandleMetadata*)(dataPtr->pointer()); in releaseRecordingFrameHandle() 540 mHardware->releaseRecordingFrame(dataPtr); in releaseRecordingFrameHandle() 554 sp<IMemory> dataPtr; in releaseRecordingFrameHandleBatch() local 558 dataPtr = mAvailableCallbackBuffers.back(); in releaseRecordingFrameHandleBatch() 563 if (dataPtr == nullptr) { in releaseRecordingFrameHandleBatch() 568 } else if (dataPtr->size() != sizeof(VideoNativeHandleMetadata)) { in releaseRecordingFrameHandleBatch() [all …]
|
D | CameraClient.h | 107 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, 109 … dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user); 120 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr, 122 … handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
|
/frameworks/av/camera/include/camera/ |
D | Camera.h | 43 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 … void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
|
/frameworks/av/camera/ |
D | Camera.cpp | 357 void Camera::dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, in dataCallback() argument 366 listener->postData(msgType, dataPtr, metadata); in dataCallback() 371 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) in dataCallbackTimestamp() argument 382 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp() 393 listener->postDataTimestamp(timestamp, msgType, dataPtr); in dataCallbackTimestamp() 396 releaseRecordingFrame(dataPtr); in dataCallbackTimestamp()
|
/frameworks/base/core/jni/ |
D | android_hardware_Camera.cpp | 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); 92 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType); 250 void JNICameraContext::copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType) in copyAndPost() argument 255 if (dataPtr != NULL) { in copyAndPost() 258 sp<IMemoryHeap> heap = dataPtr->getMemory(&offset, &size); in copyAndPost() 307 void JNICameraContext::postData(int32_t msgType, const sp<IMemory>& dataPtr, in postData() argument 334 copyAndPost(env, dataPtr, dataMsgType); in postData() 343 ALOGV("dataCallback(%d, %p)", dataMsgType, dataPtr.get()); in postData() 344 copyAndPost(env, dataPtr, dataMsgType); in postData() [all …]
|
D | android_hardware_camera2_CameraMetadata.cpp | 139 const compile_type *dataPtr = \ in updateAny() 141 return metadata->update(tag, dataPtr, dataCount); \ in updateAny()
|
/frameworks/av/media/libstagefright/ |
D | CameraSource.cpp | 53 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, in postData() argument 92 msgType, dataPtr->pointer(), dataPtr->size()); in postData() 96 source->dataCallback(msgType, dataPtr); in postData() 101 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) { in postDataTimestamp() argument 105 source->dataCallbackTimestamp(timestamp/1000, msgType, dataPtr); in postDataTimestamp() 1425 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) { in dataCallbackTimestamp() argument 1426 mSource->dataCallbackTimestamp(timestamp / 1000, msgType, dataPtr); in dataCallbackTimestamp()
|
/frameworks/av/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.h | 41 const sp<IMemory> &dataPtr, 47 const sp<IMemory> &dataPtr, 52 const sp<IMemory> dataPtr; member
|